izm1chael commited on
Commit
723d9aa
·
verified ·
1 Parent(s): 278fdd6

Publish Layerfault deep challenge LF-CH-LIN-0005

Browse files
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "lineage-identity"
4
+ ],
5
+ "control_type": "comparison-derived",
6
+ "corpus_id": "LF-CH-LIN-0005",
7
+ "difficulty": "adversarial",
8
+ "expected_decision": "BLOCK",
9
+ "ground_truth": "synthetic-generated",
10
+ "layerfault_rule_expectations": {
11
+ "candidate_rules": [
12
+ "LF-TOKENIZER-SECURITY-DELTA"
13
+ ],
14
+ "expected_rules": [],
15
+ "must_not_rules": []
16
+ },
17
+ "oracle_ids": [
18
+ "LF-ORACLE-LIN-0005"
19
+ ],
20
+ "related_cases": [],
21
+ "repo_name": "lineage-tokenizer-drift",
22
+ "safe_fixture": true,
23
+ "schema": 2,
24
+ "severity": "critical",
25
+ "techniques": [
26
+ "tokenizer",
27
+ "drift"
28
+ ],
29
+ "transformations": []
30
+ }
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "base/model.safetensors",
4
+ "derived/model.safetensors",
5
+ "base/config.json",
6
+ "derived/config.json",
7
+ "lineage.json"
8
+ ],
9
+ "family": "lineage",
10
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
11
+ "repo_name": "lineage-tokenizer-drift"
12
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [
3
+ "LF-TOKENIZER-SECURITY-DELTA"
4
+ ],
5
+ "challenge": {
6
+ "attack_surface": [
7
+ "lineage-identity"
8
+ ],
9
+ "control_type": "comparison-derived",
10
+ "difficulty": "adversarial",
11
+ "expected_decision": "BLOCK",
12
+ "oracle_ids": [
13
+ "LF-ORACLE-LIN-0005"
14
+ ],
15
+ "related_cases": [],
16
+ "severity": "critical",
17
+ "techniques": [
18
+ "tokenizer",
19
+ "drift"
20
+ ],
21
+ "transformations": []
22
+ },
23
+ "corpus_id": "LF-CH-LIN-0005",
24
+ "description": "Lineage tokenizer drift.",
25
+ "expected_rules": [],
26
+ "generator": "challenges.generate_challenge",
27
+ "ground_truth": "synthetic-generated",
28
+ "must_not_rules": [],
29
+ "repo_name": "lineage-tokenizer-drift",
30
+ "repo_type": "model",
31
+ "safe_fixture": true,
32
+ "safety": "inert/canary-only",
33
+ "schema": 1,
34
+ "validation": {
35
+ "kind": "verify-package",
36
+ "target": "."
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
+ # lineage-tokenizer-drift
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-LIN-0005`
30
+
31
+ ## Purpose
32
+
33
+ Lineage tokenizer drift.
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
+ - `LF-TOKENIZER-SECURITY-DELTA`
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: **critical**
60
+ - Difficulty: **adversarial**
61
+ - Expected admission decision: **BLOCK**
62
+ - Control type: **comparison-derived**
63
+ - Attack surface: lineage-identity
64
+ - Techniques: tokenizer, drift
65
+ - Transformations: none
66
+
67
+ ### Ground-truth oracle IDs
68
+
69
+ - `LF-ORACLE-LIN-0005`
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,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "CHALLENGE_ORACLE.json",
4
+ "sha256": "75e0711d257780519b592420a30e519a1593f26dff1f99af6b2b62593da00aed",
5
+ "size": 645
6
+ },
7
+ {
8
+ "path": "FIXTURE_LAYOUT.json",
9
+ "sha256": "769c1f379568328b341158b402dc9bafa54158af3124d647d8bd6726b75c4fd5",
10
+ "size": 313
11
+ },
12
+ {
13
+ "path": "LAYERFAULT_CORPUS.json",
14
+ "sha256": "d70507b6ea399c6f3b5f0ea4dc8e0d3c14a09fda1289cd497f4f39bc058e1842",
15
+ "size": 869
16
+ },
17
+ {
18
+ "path": "README.md",
19
+ "sha256": "6069a8ed91af591770fd83ea1a30245b47944682358a28ba44e42e5280516dbd",
20
+ "size": 2222
21
+ },
22
+ {
23
+ "path": "base/config.json",
24
+ "sha256": "6b2b54fa9bf5a5dfd0e19fafa231cfc38254f41f94234f7171a7c28f8fa2dd27",
25
+ "size": 72
26
+ },
27
+ {
28
+ "path": "base/model.safetensors",
29
+ "sha256": "f8ca6e7765b461685ef1034fe6bbac8a0cfc3f79802ab1124b53701d844c71e2",
30
+ "size": 184
31
+ },
32
+ {
33
+ "path": "derived/config.json",
34
+ "sha256": "aab6b2682052411c08897f4110c0ffa6751101adbb0d6c78dd9230cc3b560464",
35
+ "size": 80
36
+ },
37
+ {
38
+ "path": "derived/model.safetensors",
39
+ "sha256": "b021e204ddf3717a0c83d04a3d96ab4d0d5e05d85b041e827c8855d9d4466831",
40
+ "size": 184
41
+ },
42
+ {
43
+ "path": "lineage.json",
44
+ "sha256": "0dd5e35e1abcd5f9254def68b05f5df8ecc5dde52feac29a46c323ee2e7a6a2a",
45
+ "size": 217
46
+ }
47
+ ]
base/config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "FixtureModel"
4
+ ],
5
+ "tokenizer": "clean"
6
+ }
base/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8ca6e7765b461685ef1034fe6bbac8a0cfc3f79802ab1124b53701d844c71e2
3
+ size 184
derived/config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "FixtureModel"
4
+ ],
5
+ "tokenizer": "role-remapped"
6
+ }
derived/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b021e204ddf3717a0c83d04a3d96ab4d0d5e05d85b041e827c8855d9d4466831
3
+ size 184
lineage.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "derived_sha256": "b021e204ddf3717a0c83d04a3d96ab4d0d5e05d85b041e827c8855d9d4466831",
3
+ "parent_sha256": "f8ca6e7765b461685ef1034fe6bbac8a0cfc3f79802ab1124b53701d844c71e2",
4
+ "relationship": "synthetic-derived"
5
+ }