izm1chael commited on
Commit
616dd56
·
verified ·
1 Parent(s): b1f4f32

Publish Layerfault deep challenge LF-CH-CORR-0001

Browse files
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "cross-file-correlation"
4
+ ],
5
+ "control_type": "negative",
6
+ "corpus_id": "LF-CH-CORR-0001",
7
+ "difficulty": "basic",
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-NETWORK"
16
+ ]
17
+ },
18
+ "oracle_ids": [
19
+ "LF-ORACLE-CORR-0001"
20
+ ],
21
+ "related_cases": [],
22
+ "repo_name": "correlation-clean-multi-file-control",
23
+ "safe_fixture": true,
24
+ "schema": 2,
25
+ "severity": "informational",
26
+ "techniques": [
27
+ "correlation",
28
+ "control"
29
+ ],
30
+ "transformations": []
31
+ }
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "config.json",
4
+ "src/model.py"
5
+ ],
6
+ "family": "correlation",
7
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
8
+ "repo_name": "correlation-clean-multi-file-control"
9
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [],
3
+ "challenge": {
4
+ "attack_surface": [
5
+ "cross-file-correlation"
6
+ ],
7
+ "control_type": "negative",
8
+ "difficulty": "basic",
9
+ "expected_decision": "PASS",
10
+ "oracle_ids": [
11
+ "LF-ORACLE-CORR-0001"
12
+ ],
13
+ "related_cases": [],
14
+ "severity": "informational",
15
+ "techniques": [
16
+ "correlation",
17
+ "control"
18
+ ],
19
+ "transformations": []
20
+ },
21
+ "corpus_id": "LF-CH-CORR-0001",
22
+ "description": "Correlation clean multi file control.",
23
+ "expected_rules": [],
24
+ "generator": "challenges.generate_challenge",
25
+ "ground_truth": "synthetic-generated",
26
+ "must_not_rules": [
27
+ "LF-CODE-SUBPROCESS",
28
+ "LF-CODE-NETWORK"
29
+ ],
30
+ "repo_name": "correlation-clean-multi-file-control",
31
+ "repo_type": "model",
32
+ "safe_fixture": true,
33
+ "safety": "inert/canary-only",
34
+ "schema": 1,
35
+ "validation": {
36
+ "kind": "verify-package",
37
+ "target": "."
38
+ }
39
+ }
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
+ # correlation-clean-multi-file-control
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-CORR-0001`
30
+
31
+ ## Purpose
32
+
33
+ Correlation clean multi file control.
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-NETWORK`
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: **informational**
61
+ - Difficulty: **basic**
62
+ - Expected admission decision: **PASS**
63
+ - Control type: **negative**
64
+ - Attack surface: cross-file-correlation
65
+ - Techniques: correlation, control
66
+ - Transformations: none
67
+
68
+ ### Ground-truth oracle IDs
69
+
70
+ - `LF-ORACLE-CORR-0001`
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,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "CHALLENGE_ORACLE.json",
4
+ "sha256": "84847ab97a9a403bc4b6190bd87ccf6caca968c2764b55f5067f53b741357ef1",
5
+ "size": 674
6
+ },
7
+ {
8
+ "path": "FIXTURE_LAYOUT.json",
9
+ "sha256": "ba5722746a3fbd0cd783ae6d6ef76b4c28069bc58dc1b20eb59ac9562150f3f6",
10
+ "size": 235
11
+ },
12
+ {
13
+ "path": "LAYERFAULT_CORPUS.json",
14
+ "sha256": "e84544ed8a1fa8bed950e59f752a7eeafebeb95bd25327a46f5ac6bd9cb74a31",
15
+ "size": 909
16
+ },
17
+ {
18
+ "path": "README.md",
19
+ "sha256": "bfd73bb2920e20c31eb008ccb01a04934318c2df0bba424359065f0be4ade640",
20
+ "size": 2259
21
+ },
22
+ {
23
+ "path": "config.json",
24
+ "sha256": "b0c27487eed1c2379c83f79ccf73b17d8d4290ad59862a13a6be9f393170f171",
25
+ "size": 65
26
+ },
27
+ {
28
+ "path": "src/model.py",
29
+ "sha256": "bbcda63d304783528ad026706b59527fe1ffd9add98765c3d84b01d83c081a48",
30
+ "size": 18
31
+ }
32
+ ]
config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "model_type": "layerfault_fixture",
3
+ "safe_fixture": true
4
+ }
src/model.py ADDED
@@ -0,0 +1 @@
 
 
1
+ class Model: pass