izm1chael commited on
Commit
96025c8
·
verified ·
1 Parent(s): 3fd03ad

Publish Layerfault deep challenge LF-CH-PROV-0003

Browse files
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "provenance-integrity"
4
+ ],
5
+ "control_type": "positive",
6
+ "corpus_id": "LF-CH-PROV-0003",
7
+ "difficulty": "hard",
8
+ "expected_decision": "BLOCK",
9
+ "ground_truth": "synthetic-generated",
10
+ "layerfault_rule_expectations": {
11
+ "candidate_rules": [],
12
+ "expected_rules": [],
13
+ "must_not_rules": []
14
+ },
15
+ "oracle_ids": [
16
+ "LF-ORACLE-PROV-0003"
17
+ ],
18
+ "related_cases": [],
19
+ "repo_name": "provenance-missing-declared-file",
20
+ "safe_fixture": true,
21
+ "schema": 2,
22
+ "severity": "medium",
23
+ "techniques": [
24
+ "missing",
25
+ "declared",
26
+ "file"
27
+ ],
28
+ "transformations": []
29
+ }
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "model.safetensors",
4
+ "SHA256_DECLARED.json"
5
+ ],
6
+ "family": "provenance",
7
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
8
+ "repo_name": "provenance-missing-declared-file"
9
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [],
3
+ "challenge": {
4
+ "attack_surface": [
5
+ "provenance-integrity"
6
+ ],
7
+ "control_type": "positive",
8
+ "difficulty": "hard",
9
+ "expected_decision": "BLOCK",
10
+ "oracle_ids": [
11
+ "LF-ORACLE-PROV-0003"
12
+ ],
13
+ "related_cases": [],
14
+ "severity": "medium",
15
+ "techniques": [
16
+ "missing",
17
+ "declared",
18
+ "file"
19
+ ],
20
+ "transformations": []
21
+ },
22
+ "corpus_id": "LF-CH-PROV-0003",
23
+ "description": "Provenance missing declared file.",
24
+ "expected_rules": [],
25
+ "generator": "challenges.generate_challenge",
26
+ "ground_truth": "synthetic-generated",
27
+ "must_not_rules": [],
28
+ "repo_name": "provenance-missing-declared-file",
29
+ "repo_type": "model",
30
+ "safe_fixture": true,
31
+ "safety": "inert/canary-only",
32
+ "schema": 1,
33
+ "validation": {
34
+ "kind": "verify-package",
35
+ "target": "."
36
+ }
37
+ }
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
+ # provenance-missing-declared-file
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-PROV-0003`
30
+
31
+ ## Purpose
32
+
33
+ Provenance missing declared file.
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
+ - 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: **medium**
60
+ - Difficulty: **hard**
61
+ - Expected admission decision: **BLOCK**
62
+ - Control type: **positive**
63
+ - Attack surface: provenance-integrity
64
+ - Techniques: missing, declared, file
65
+ - Transformations: none
66
+
67
+ ### Ground-truth oracle IDs
68
+
69
+ - `LF-ORACLE-PROV-0003`
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,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "CHALLENGE_ORACLE.json",
4
+ "sha256": "01b6818cfec8187f980bc5320e79bfbbe6057f782c9f94b0dbb554364d815c3a",
5
+ "size": 613
6
+ },
7
+ {
8
+ "path": "FIXTURE_LAYOUT.json",
9
+ "sha256": "bef60e93fb382e54491e8399d154565210f2e55cc13969a20b9a42e7c3a8bc0d",
10
+ "size": 244
11
+ },
12
+ {
13
+ "path": "LAYERFAULT_CORPUS.json",
14
+ "sha256": "b5d607234d0575a20d6f0ec7a57dd71b196d47a93d4ae22c788b7c2e608d746e",
15
+ "size": 852
16
+ },
17
+ {
18
+ "path": "README.md",
19
+ "sha256": "ee3be6479bd928f7e23b39302ed40f3fd92dd4aeab80cf1112c4a1d8c690be4e",
20
+ "size": 2209
21
+ },
22
+ {
23
+ "path": "SHA256_DECLARED.json",
24
+ "sha256": "cbaa3f738a4d1174d9431f991b34afa672cdd4a9793d8bfbb0f4e648817ddb17",
25
+ "size": 179
26
+ },
27
+ {
28
+ "path": "model.safetensors",
29
+ "sha256": "f8ca6e7765b461685ef1034fe6bbac8a0cfc3f79802ab1124b53701d844c71e2",
30
+ "size": 184
31
+ }
32
+ ]
SHA256_DECLARED.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "missing.bin": "1111111111111111111111111111111111111111111111111111111111111111",
3
+ "model.safetensors": "f8ca6e7765b461685ef1034fe6bbac8a0cfc3f79802ab1124b53701d844c71e2"
4
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8ca6e7765b461685ef1034fe6bbac8a0cfc3f79802ab1124b53701d844c71e2
3
+ size 184