izm1chael commited on
Commit
ae77e13
·
verified ·
1 Parent(s): 79007ba

Publish Layerfault deep challenge LF-CH-SER-0005

Browse files
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "serialization-mutation"
4
+ ],
5
+ "control_type": "positive",
6
+ "corpus_id": "LF-CH-SER-0005",
7
+ "difficulty": "adversarial",
8
+ "expected_decision": "BLOCK",
9
+ "ground_truth": "synthetic-generated",
10
+ "layerfault_rule_expectations": {
11
+ "candidate_rules": [
12
+ "LF-PICKLE-OPAQUE-COMPRESSED"
13
+ ],
14
+ "expected_rules": [],
15
+ "must_not_rules": []
16
+ },
17
+ "oracle_ids": [
18
+ "LF-ORACLE-SER-0005"
19
+ ],
20
+ "related_cases": [],
21
+ "repo_name": "serialization-pickle-gzip-wrapper",
22
+ "safe_fixture": true,
23
+ "schema": 2,
24
+ "severity": "critical",
25
+ "techniques": [
26
+ "pickle",
27
+ "gzip"
28
+ ],
29
+ "transformations": []
30
+ }
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "artifact.pkl.gz"
4
+ ],
5
+ "family": "serialization",
6
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
7
+ "repo_name": "serialization-pickle-gzip-wrapper"
8
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [
3
+ "LF-PICKLE-OPAQUE-COMPRESSED"
4
+ ],
5
+ "challenge": {
6
+ "attack_surface": [
7
+ "serialization-mutation"
8
+ ],
9
+ "control_type": "positive",
10
+ "difficulty": "adversarial",
11
+ "expected_decision": "BLOCK",
12
+ "oracle_ids": [
13
+ "LF-ORACLE-SER-0005"
14
+ ],
15
+ "related_cases": [],
16
+ "severity": "critical",
17
+ "techniques": [
18
+ "pickle",
19
+ "gzip"
20
+ ],
21
+ "transformations": []
22
+ },
23
+ "corpus_id": "LF-CH-SER-0005",
24
+ "description": "Serialization pickle gzip wrapper.",
25
+ "expected_rules": [],
26
+ "generator": "challenges.generate_challenge",
27
+ "ground_truth": "synthetic-generated",
28
+ "must_not_rules": [],
29
+ "repo_name": "serialization-pickle-gzip-wrapper",
30
+ "repo_type": "model",
31
+ "safe_fixture": true,
32
+ "safety": "inert/canary-only",
33
+ "schema": 1,
34
+ "validation": {
35
+ "kind": "verify-package",
36
+ "target": "artifact.pkl.gz"
37
+ }
38
+ }
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - layerfault
5
+ - security-research
6
+ - model-security
7
+ - synthetic
8
+ - adversarial-testing
9
+ extra_gated_prompt: >-
10
+ This repository is a synthetic security-test artifact from the Layerfault
11
+ corpus. It intentionally contains adversarial characteristics (e.g.
12
+ suspicious pickle opcodes, executable-format smuggling, prompt-injection
13
+ strings) designed to exercise security scanner detection rules. It is
14
+ **not** a usable ML model and must never be loaded or executed outside an
15
+ isolated scanner-testing environment. By accepting, you confirm you
16
+ understand this repository is a test fixture, not production model
17
+ weights.
18
+ extra_gated_button_content: I understand this is a security test fixture and accept the risk
19
+ gated: auto
20
+ ---
21
+
22
+ # serialization-pickle-gzip-wrapper
23
+
24
+ > **SECURITY TEST ARTIFACT: DO NOT USE AS A PRODUCTION MODEL**
25
+
26
+ This repository is part of the Layerfault synthetic security corpus.
27
+ It is deliberately constructed to contain security-relevant characteristics for scanner testing.
28
+
29
+ **Corpus ID:** `LF-CH-SER-0005`
30
+
31
+ ## Purpose
32
+
33
+ Serialization pickle gzip wrapper.
34
+
35
+ ## Direct expected Layerfault rules
36
+
37
+ - None; this repository is a control/comparison input.
38
+
39
+ ## Candidate rules
40
+
41
+ These are deliberately plausible targets that remain marked as candidates until the exact
42
+ Layerfault build used for certification confirms them.
43
+
44
+ - `LF-PICKLE-OPAQUE-COMPRESSED`
45
+
46
+ ## Negative-control rules
47
+
48
+ These should remain silent for this corpus item.
49
+
50
+ - None
51
+
52
+ ## Safety
53
+
54
+ The corpus uses fake secrets, loopback/`.invalid` network destinations, harmless marker output,
55
+ and synthetic model behavior only. It is intended for static scanning and isolated security testing.
56
+
57
+ ## Challenge classification
58
+
59
+ - Severity: **critical**
60
+ - Difficulty: **adversarial**
61
+ - Expected admission decision: **BLOCK**
62
+ - Control type: **positive**
63
+ - Attack surface: serialization-mutation
64
+ - Techniques: pickle, gzip
65
+ - Transformations: none
66
+
67
+ ### Ground-truth oracle IDs
68
+
69
+ - `LF-ORACLE-SER-0005`
70
+
71
+ These oracle IDs describe synthetic ground truth. They do not claim that a
72
+ matching Layerfault detector already exists. A challenge may intentionally expose
73
+ a scanner blind spot and remain unmapped until the detector is implemented.
SHA256SUMS.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "CHALLENGE_ORACLE.json",
4
+ "sha256": "c39e043aefe141d298ffbc3e49019cb4d738f5d33077cf607985d539eddba12d",
5
+ "size": 647
6
+ },
7
+ {
8
+ "path": "FIXTURE_LAYOUT.json",
9
+ "sha256": "2d7686cde840c4bc94ac2a243d979401883ce3e5a5e1fa5b042b2b58c5f0e489",
10
+ "size": 218
11
+ },
12
+ {
13
+ "path": "LAYERFAULT_CORPUS.json",
14
+ "sha256": "560920cddb4de5e035b7292264dec7728e647aec7a08344a9bc302f7da3156ac",
15
+ "size": 895
16
+ },
17
+ {
18
+ "path": "README.md",
19
+ "sha256": "19207eef3ba5626de837ec536f5ac7c7fd60bd26673780ec284435acae9c32b6",
20
+ "size": 2234
21
+ },
22
+ {
23
+ "path": "artifact.pkl.gz",
24
+ "sha256": "0439e7733bc9775c8699e66c706f7ac45983833c31e7c0f671f5fb27fedb69c7",
25
+ "size": 36
26
+ }
27
+ ]
artifact.pkl.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0439e7733bc9775c8699e66c706f7ac45983833c31e7c0f671f5fb27fedb69c7
3
+ size 36