izm1chael commited on
Commit
8eabdbd
·
verified ·
1 Parent(s): 846377b

Publish Layerfault deep challenge LF-CH-WGHT-0014

Browse files
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "weight-adapter"
4
+ ],
5
+ "control_type": "positive",
6
+ "corpus_id": "LF-CH-WGHT-0014",
7
+ "difficulty": "compound",
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-WGHT-0014"
17
+ ],
18
+ "related_cases": [],
19
+ "repo_name": "weights-quantized-metadata-mismatch",
20
+ "safe_fixture": true,
21
+ "schema": 2,
22
+ "severity": "high",
23
+ "techniques": [
24
+ "weights",
25
+ "mismatch"
26
+ ],
27
+ "transformations": []
28
+ }
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "model.safetensors"
4
+ ],
5
+ "family": "weight",
6
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
7
+ "repo_name": "weights-quantized-metadata-mismatch"
8
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [],
3
+ "challenge": {
4
+ "attack_surface": [
5
+ "weight-adapter"
6
+ ],
7
+ "control_type": "positive",
8
+ "difficulty": "compound",
9
+ "expected_decision": "BLOCK",
10
+ "oracle_ids": [
11
+ "LF-ORACLE-WGHT-0014"
12
+ ],
13
+ "related_cases": [],
14
+ "severity": "high",
15
+ "techniques": [
16
+ "weights",
17
+ "mismatch"
18
+ ],
19
+ "transformations": []
20
+ },
21
+ "corpus_id": "LF-CH-WGHT-0014",
22
+ "description": "Weights quantized metadata mismatch.",
23
+ "expected_rules": [],
24
+ "generator": "challenges.generate_challenge",
25
+ "ground_truth": "synthetic-generated",
26
+ "must_not_rules": [],
27
+ "repo_name": "weights-quantized-metadata-mismatch",
28
+ "repo_type": "model",
29
+ "safe_fixture": true,
30
+ "safety": "inert/canary-only",
31
+ "schema": 1,
32
+ "validation": {
33
+ "kind": "verify-package",
34
+ "target": "."
35
+ }
36
+ }
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
+ # weights-quantized-metadata-mismatch
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-WGHT-0014`
30
+
31
+ ## Purpose
32
+
33
+ Weights quantized metadata mismatch.
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: **high**
60
+ - Difficulty: **compound**
61
+ - Expected admission decision: **BLOCK**
62
+ - Control type: **positive**
63
+ - Attack surface: weight-adapter
64
+ - Techniques: weights, mismatch
65
+ - Transformations: none
66
+
67
+ ### Ground-truth oracle IDs
68
+
69
+ - `LF-ORACLE-WGHT-0014`
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,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "CHALLENGE_ORACLE.json",
4
+ "sha256": "53a562ae921da45d0e62ff0d318a564f95efe0a2e840eb040d3b5d690058f98c",
5
+ "size": 600
6
+ },
7
+ {
8
+ "path": "FIXTURE_LAYOUT.json",
9
+ "sha256": "4d4571117e2c57c7790bbb2c5fa03fcb10b797658c28b080418be787a6e9fea3",
10
+ "size": 215
11
+ },
12
+ {
13
+ "path": "LAYERFAULT_CORPUS.json",
14
+ "sha256": "1cda350b5c810cb92b8765956ecbfa08cbf0db65ca1d1c4464fa67cc445cc789",
15
+ "size": 840
16
+ },
17
+ {
18
+ "path": "README.md",
19
+ "sha256": "fb344c4f4987297db4b6d5a2e213ae2d394369d36ef30e9534bad7651d21f37e",
20
+ "size": 2205
21
+ },
22
+ {
23
+ "path": "model.safetensors",
24
+ "sha256": "f99f1bac143bab45940f3583a93aad57916c2de52164bf5fce18553fa4131820",
25
+ "size": 664
26
+ }
27
+ ]
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f99f1bac143bab45940f3583a93aad57916c2de52164bf5fce18553fa4131820
3
+ size 664