izm1chael commited on
Commit
958c973
·
verified ·
1 Parent(s): e514011

Publish Layerfault deep challenge LF-CH-PREC-0004

Browse files
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "precision-hard-negative"
4
+ ],
5
+ "control_type": "negative",
6
+ "corpus_id": "LF-CH-PREC-0004",
7
+ "difficulty": "compound",
8
+ "expected_decision": "PASS",
9
+ "ground_truth": "synthetic-generated",
10
+ "layerfault_rule_expectations": {
11
+ "candidate_rules": [],
12
+ "expected_rules": [],
13
+ "must_not_rules": [
14
+ "LF-CODE-SUBPROCESS",
15
+ "LF-CODE-EVAL",
16
+ "LF-CODE-NETWORK"
17
+ ]
18
+ },
19
+ "oracle_ids": [
20
+ "LF-ORACLE-PREC-0004"
21
+ ],
22
+ "related_cases": [],
23
+ "repo_name": "precision-benign-code-quotes",
24
+ "safe_fixture": true,
25
+ "schema": 2,
26
+ "severity": "informational",
27
+ "techniques": [
28
+ "benign",
29
+ "code",
30
+ "quotes"
31
+ ],
32
+ "transformations": []
33
+ }
CODE_EXAMPLES.md ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ ```python
2
+ subprocess.run(["echo","example"])
3
+ eval("example")
4
+ requests.get("https://fixture.invalid")
5
+ ```
6
+ Quoted defensive examples only.
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "CODE_EXAMPLES.md"
4
+ ],
5
+ "family": "precision",
6
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
7
+ "repo_name": "precision-benign-code-quotes"
8
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [],
3
+ "challenge": {
4
+ "attack_surface": [
5
+ "precision-hard-negative"
6
+ ],
7
+ "control_type": "negative",
8
+ "difficulty": "compound",
9
+ "expected_decision": "PASS",
10
+ "oracle_ids": [
11
+ "LF-ORACLE-PREC-0004"
12
+ ],
13
+ "related_cases": [],
14
+ "severity": "informational",
15
+ "techniques": [
16
+ "benign",
17
+ "code",
18
+ "quotes"
19
+ ],
20
+ "transformations": []
21
+ },
22
+ "corpus_id": "LF-CH-PREC-0004",
23
+ "description": "Precision benign code quotes.",
24
+ "expected_rules": [],
25
+ "generator": "challenges.generate_challenge",
26
+ "ground_truth": "synthetic-generated",
27
+ "must_not_rules": [
28
+ "LF-CODE-SUBPROCESS",
29
+ "LF-CODE-EVAL",
30
+ "LF-CODE-NETWORK"
31
+ ],
32
+ "repo_name": "precision-benign-code-quotes",
33
+ "repo_type": "model",
34
+ "safe_fixture": true,
35
+ "safety": "inert/canary-only",
36
+ "schema": 1,
37
+ "validation": {
38
+ "kind": "verify-package",
39
+ "target": "."
40
+ }
41
+ }
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # precision-benign-code-quotes
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-PREC-0004`
30
+
31
+ ## Purpose
32
+
33
+ Precision benign code quotes.
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
+ - None
45
+
46
+ ## Negative-control rules
47
+
48
+ These should remain silent for this corpus item.
49
+
50
+ - `LF-CODE-SUBPROCESS`
51
+ - `LF-CODE-EVAL`
52
+ - `LF-CODE-NETWORK`
53
+
54
+ ## Safety
55
+
56
+ The corpus uses fake secrets, loopback/`.invalid` network destinations, harmless marker output,
57
+ and synthetic model behavior only. It is intended for static scanning and isolated security testing.
58
+
59
+ ## Challenge classification
60
+
61
+ - Severity: **informational**
62
+ - Difficulty: **compound**
63
+ - Expected admission decision: **PASS**
64
+ - Control type: **negative**
65
+ - Attack surface: precision-hard-negative
66
+ - Techniques: benign, code, quotes
67
+ - Transformations: none
68
+
69
+ ### Ground-truth oracle IDs
70
+
71
+ - `LF-ORACLE-PREC-0004`
72
+
73
+ These oracle IDs describe synthetic ground truth. They do not claim that a
74
+ matching Layerfault detector already exists. A challenge may intentionally expose
75
+ 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": "c4440ca113dd25a25e34568d27658ea4c9087eafefe2b2c6ab528e27c1abbf3d",
5
+ "size": 698
6
+ },
7
+ {
8
+ "path": "CODE_EXAMPLES.md",
9
+ "sha256": "1727a12b53f820739d93945c1ee66c39468ba5fecf8260efdfbbed2da18a140e",
10
+ "size": 137
11
+ },
12
+ {
13
+ "path": "FIXTURE_LAYOUT.json",
14
+ "sha256": "f15cf246e18c834ebc2376cf35b8ef3ebd826875ca1649520a6fb2c4f794c77f",
15
+ "size": 210
16
+ },
17
+ {
18
+ "path": "LAYERFAULT_CORPUS.json",
19
+ "sha256": "766d3102b4cce0ac0d191b14f4333c25f59850671f5352a41bf8c2b18b6e1d5c",
20
+ "size": 925
21
+ },
22
+ {
23
+ "path": "README.md",
24
+ "sha256": "c61696d3f7229bfd9279e63cac8b1d8d7574642ff7e4f532f04103010cb693ed",
25
+ "size": 2264
26
+ }
27
+ ]