izm1chael commited on
Commit
9aa244c
·
verified ·
1 Parent(s): 6219ac7

Publish Layerfault deep challenge LF-CH-MCONT-0009

Browse files
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "media-container",
4
+ "package-evasion"
5
+ ],
6
+ "control_type": "compound",
7
+ "corpus_id": "LF-CH-MCONT-0009",
8
+ "difficulty": "compound",
9
+ "expected_decision": "BLOCK",
10
+ "ground_truth": "synthetic-generated",
11
+ "layerfault_rule_expectations": {
12
+ "candidate_rules": [
13
+ "LF-FORMAT-APPENDED-ARCHIVE",
14
+ "LF-CODE-SUBPROCESS"
15
+ ],
16
+ "expected_rules": [],
17
+ "must_not_rules": []
18
+ },
19
+ "oracle_ids": [
20
+ "LF-ORACLE-MEDIA-APPENDED-CONTAINER"
21
+ ],
22
+ "related_cases": [],
23
+ "repo_name": "media-jpeg-zip-python-source",
24
+ "safe_fixture": true,
25
+ "schema": 2,
26
+ "severity": "critical",
27
+ "techniques": [
28
+ "appended-archive",
29
+ "nested-source"
30
+ ],
31
+ "transformations": [
32
+ "nesting",
33
+ "cross-format"
34
+ ]
35
+ }
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "preview.jpg"
4
+ ],
5
+ "family": "media",
6
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
7
+ "repo_name": "media-jpeg-zip-python-source"
8
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [
3
+ "LF-FORMAT-APPENDED-ARCHIVE",
4
+ "LF-CODE-SUBPROCESS"
5
+ ],
6
+ "challenge": {
7
+ "attack_surface": [
8
+ "media-container",
9
+ "package-evasion"
10
+ ],
11
+ "control_type": "compound",
12
+ "difficulty": "compound",
13
+ "expected_decision": "BLOCK",
14
+ "oracle_ids": [
15
+ "LF-ORACLE-MEDIA-APPENDED-CONTAINER"
16
+ ],
17
+ "related_cases": [],
18
+ "severity": "critical",
19
+ "techniques": [
20
+ "appended-archive",
21
+ "nested-source"
22
+ ],
23
+ "transformations": [
24
+ "nesting",
25
+ "cross-format"
26
+ ]
27
+ },
28
+ "corpus_id": "LF-CH-MCONT-0009",
29
+ "description": "JPEG appends a ZIP with dormant Python capability source.",
30
+ "expected_rules": [],
31
+ "generator": "challenges.generate_challenge",
32
+ "ground_truth": "synthetic-generated",
33
+ "must_not_rules": [],
34
+ "repo_name": "media-jpeg-zip-python-source",
35
+ "repo_type": "model",
36
+ "safe_fixture": true,
37
+ "safety": "inert/canary-only",
38
+ "schema": 1,
39
+ "validation": {
40
+ "kind": "verify-package",
41
+ "target": "."
42
+ }
43
+ }
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # media-jpeg-zip-python-source
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-MCONT-0009`
30
+
31
+ ## Purpose
32
+
33
+ JPEG appends a ZIP with dormant Python capability source.
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-FORMAT-APPENDED-ARCHIVE`
45
+ - `LF-CODE-SUBPROCESS`
46
+
47
+ ## Negative-control rules
48
+
49
+ These should remain silent for this corpus item.
50
+
51
+ - None
52
+
53
+ ## Safety
54
+
55
+ The corpus uses fake secrets, loopback/`.invalid` network destinations, harmless marker output,
56
+ and synthetic model behavior only. It is intended for static scanning and isolated security testing.
57
+
58
+ ## Challenge classification
59
+
60
+ - Severity: **critical**
61
+ - Difficulty: **compound**
62
+ - Expected admission decision: **BLOCK**
63
+ - Control type: **compound**
64
+ - Attack surface: media-container, package-evasion
65
+ - Techniques: appended-archive, nested-source
66
+ - Transformations: nesting, cross-format
67
+
68
+ ### Ground-truth oracle IDs
69
+
70
+ - `LF-ORACLE-MEDIA-APPENDED-CONTAINER`
71
+
72
+ These oracle IDs describe synthetic ground truth. They do not claim that a
73
+ matching Layerfault detector already exists. A challenge may intentionally expose
74
+ 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": "13ac8e2f70a90ee7354d1dbb28ec2e368119fbc0393744f305e79cc19a464d0c",
5
+ "size": 756
6
+ },
7
+ {
8
+ "path": "FIXTURE_LAYOUT.json",
9
+ "sha256": "26f2ea0e2e52ea588291f201111bd8bd9d5702a752f58e1b3209d84a529c194c",
10
+ "size": 201
11
+ },
12
+ {
13
+ "path": "LAYERFAULT_CORPUS.json",
14
+ "sha256": "12ee3eaf9145ac8f334288b33920e0ee15b215bed37e3da7cd780a5e2f8f3f9b",
15
+ "size": 1019
16
+ },
17
+ {
18
+ "path": "README.md",
19
+ "sha256": "14c14039198647b566726ab0eed335759660d701e5fa272a28a6b0fb8cff8b8a",
20
+ "size": 2335
21
+ },
22
+ {
23
+ "path": "preview.jpg",
24
+ "sha256": "364a12b2c334e4420de23f98cde5a0086f739b98559508eb4052b5c60f478439",
25
+ "size": 6556
26
+ }
27
+ ]
preview.jpg ADDED