izm1chael commited on
Commit
c01ee5a
·
verified ·
1 Parent(s): 8241b7e

Publish Layerfault deep challenge LF-CH-HUBLFS-0007

Browse files
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "hub-lfs-state"
4
+ ],
5
+ "control_type": "positive",
6
+ "corpus_id": "LF-CH-HUBLFS-0007",
7
+ "difficulty": "intermediate",
8
+ "expected_decision": "WARN",
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-HUBLFS-0007"
17
+ ],
18
+ "related_cases": [],
19
+ "repo_name": "hub-lfs-duplicate-pointer-conflict",
20
+ "safe_fixture": true,
21
+ "schema": 2,
22
+ "severity": "medium",
23
+ "techniques": [
24
+ "lfs",
25
+ "duplicate",
26
+ "pointer",
27
+ "conflict"
28
+ ],
29
+ "transformations": []
30
+ }
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "repo/model-a.safetensors",
4
+ "repo/model-b.safetensors",
5
+ "repo/model.safetensors",
6
+ "repo/objects/922ad6aef201cecf9dc8a78ad7123bd38e8a52077c772a8d838530a764e66d6d"
7
+ ],
8
+ "family": "hublfs",
9
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
10
+ "repo_name": "hub-lfs-duplicate-pointer-conflict"
11
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [],
3
+ "challenge": {
4
+ "attack_surface": [
5
+ "hub-lfs-state"
6
+ ],
7
+ "control_type": "positive",
8
+ "difficulty": "intermediate",
9
+ "expected_decision": "WARN",
10
+ "oracle_ids": [
11
+ "LF-ORACLE-HUBLFS-0007"
12
+ ],
13
+ "related_cases": [],
14
+ "severity": "medium",
15
+ "techniques": [
16
+ "lfs",
17
+ "duplicate",
18
+ "pointer",
19
+ "conflict"
20
+ ],
21
+ "transformations": []
22
+ },
23
+ "corpus_id": "LF-CH-HUBLFS-0007",
24
+ "description": "Hub lfs duplicate pointer conflict.",
25
+ "expected_rules": [],
26
+ "generator": "challenges.generate_challenge",
27
+ "ground_truth": "synthetic-generated",
28
+ "must_not_rules": [],
29
+ "repo_name": "hub-lfs-duplicate-pointer-conflict",
30
+ "repo_type": "model",
31
+ "safe_fixture": true,
32
+ "safety": "inert/canary-only",
33
+ "schema": 1,
34
+ "validation": {
35
+ "kind": "verify-package",
36
+ "target": "repo"
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
+ # hub-lfs-duplicate-pointer-conflict
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-HUBLFS-0007`
30
+
31
+ ## Purpose
32
+
33
+ Hub lfs duplicate pointer conflict.
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: **intermediate**
61
+ - Expected admission decision: **WARN**
62
+ - Control type: **positive**
63
+ - Attack surface: hub-lfs-state
64
+ - Techniques: lfs, duplicate, pointer, conflict
65
+ - Transformations: none
66
+
67
+ ### Ground-truth oracle IDs
68
+
69
+ - `LF-ORACLE-HUBLFS-0007`
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,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "CHALLENGE_ORACLE.json",
4
+ "sha256": "9c12de60e669ccaa07e0b0d633bc252e51f7df5e9d336ed7c2041a03649de059",
5
+ "size": 635
6
+ },
7
+ {
8
+ "path": "FIXTURE_LAYOUT.json",
9
+ "sha256": "34c5646eb914b7a94053f3d70f7d995094853a7db8556ed81d4ed8ac1139b4cc",
10
+ "size": 368
11
+ },
12
+ {
13
+ "path": "LAYERFAULT_CORPUS.json",
14
+ "sha256": "f71a0e3be9f1404d8cd15a2eaa3881c6196f24f3cba13f78f37c7d4c50e34ebd",
15
+ "size": 881
16
+ },
17
+ {
18
+ "path": "README.md",
19
+ "sha256": "5a47f28606961303696b1ef4f106849ea2d9db8d0f74a6d507da419d38309b49",
20
+ "size": 2227
21
+ },
22
+ {
23
+ "path": "repo/model-a.safetensors",
24
+ "sha256": "2071e829139f9c4849725a1747457ea8d08fa531282f42f92a9a3ac2cbb88a90",
25
+ "size": 127
26
+ },
27
+ {
28
+ "path": "repo/model-b.safetensors",
29
+ "sha256": "272fe6265a0ef3c1b1fedd8cb82cba6c2ceedb8768a5f08f3db12b4716cffc85",
30
+ "size": 127
31
+ },
32
+ {
33
+ "path": "repo/model.safetensors",
34
+ "sha256": "2071e829139f9c4849725a1747457ea8d08fa531282f42f92a9a3ac2cbb88a90",
35
+ "size": 127
36
+ },
37
+ {
38
+ "path": "repo/objects/922ad6aef201cecf9dc8a78ad7123bd38e8a52077c772a8d838530a764e66d6d",
39
+ "sha256": "922ad6aef201cecf9dc8a78ad7123bd38e8a52077c772a8d838530a764e66d6d",
40
+ "size": 32
41
+ }
42
+ ]
repo/model-a.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2071e829139f9c4849725a1747457ea8d08fa531282f42f92a9a3ac2cbb88a90
3
+ size 127
repo/model-b.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:272fe6265a0ef3c1b1fedd8cb82cba6c2ceedb8768a5f08f3db12b4716cffc85
3
+ size 127
repo/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2071e829139f9c4849725a1747457ea8d08fa531282f42f92a9a3ac2cbb88a90
3
+ size 127
repo/objects/922ad6aef201cecf9dc8a78ad7123bd38e8a52077c772a8d838530a764e66d6d ADDED
@@ -0,0 +1 @@
 
 
1
+ LAYERFAULT SYNTHETIC LFS OBJECT