izm1chael commited on
Commit
fa5ea46
·
verified ·
1 Parent(s): 92195bc

Publish Layerfault deep challenge LF-CH-EVAS-0014

Browse files
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "package-evasion"
4
+ ],
5
+ "control_type": "compound",
6
+ "corpus_id": "LF-CH-EVAS-0014",
7
+ "difficulty": "adversarial",
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-PACKAGE-PATH-COLLISION"
17
+ ],
18
+ "related_cases": [],
19
+ "repo_name": "evasion-path-normalization-collision",
20
+ "safe_fixture": true,
21
+ "schema": 2,
22
+ "severity": "critical",
23
+ "techniques": [
24
+ "unicode-normalization"
25
+ ],
26
+ "transformations": [
27
+ "unicode-normalization"
28
+ ]
29
+ }
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "config.json",
4
+ "assets/caf\u00e9.txt",
5
+ "assets/cafe\u0301.txt"
6
+ ],
7
+ "family": "evasion",
8
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
9
+ "repo_name": "evasion-path-normalization-collision"
10
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [],
3
+ "challenge": {
4
+ "attack_surface": [
5
+ "package-evasion"
6
+ ],
7
+ "control_type": "compound",
8
+ "difficulty": "adversarial",
9
+ "expected_decision": "BLOCK",
10
+ "oracle_ids": [
11
+ "LF-ORACLE-PACKAGE-PATH-COLLISION"
12
+ ],
13
+ "related_cases": [],
14
+ "severity": "critical",
15
+ "techniques": [
16
+ "unicode-normalization"
17
+ ],
18
+ "transformations": [
19
+ "unicode-normalization"
20
+ ]
21
+ },
22
+ "corpus_id": "LF-CH-EVAS-0014",
23
+ "description": "Two paths normalize to visually equivalent names with different content.",
24
+ "expected_rules": [],
25
+ "generator": "challenges.generate_challenge",
26
+ "ground_truth": "synthetic-generated",
27
+ "must_not_rules": [],
28
+ "repo_name": "evasion-path-normalization-collision",
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
+ # evasion-path-normalization-collision
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-EVAS-0014`
30
+
31
+ ## Purpose
32
+
33
+ Two paths normalize to visually equivalent names with different content.
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: **critical**
60
+ - Difficulty: **adversarial**
61
+ - Expected admission decision: **BLOCK**
62
+ - Control type: **compound**
63
+ - Attack surface: package-evasion
64
+ - Techniques: unicode-normalization
65
+ - Transformations: unicode-normalization
66
+
67
+ ### Ground-truth oracle IDs
68
+
69
+ - `LF-ORACLE-PACKAGE-PATH-COLLISION`
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,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "CHALLENGE_ORACLE.json",
4
+ "sha256": "26a87838052da49ec423964c7ea466337c0e896d6ddc5cf99966d74b719da00e",
5
+ "size": 651
6
+ },
7
+ {
8
+ "path": "FIXTURE_LAYOUT.json",
9
+ "sha256": "43b6ce03e23eef6196674c089628ddeae63a8a9ddf7edffc47dfc596848e363a",
10
+ "size": 268
11
+ },
12
+ {
13
+ "path": "LAYERFAULT_CORPUS.json",
14
+ "sha256": "fa515fec1b94da64b1a8fa2b0a86bb638b4ea2b0c5a47b5917827229ab9eec83",
15
+ "size": 929
16
+ },
17
+ {
18
+ "path": "README.md",
19
+ "sha256": "85fde756b19cf4f55a19293a94509de4afad2fe1b9042a1dca375bac9f154073",
20
+ "size": 2284
21
+ },
22
+ {
23
+ "path": "assets/cafe\u0301.txt",
24
+ "sha256": "0f3182215e612243ac263346f9d8c5506586cf72f02f0ff293aa0f018e2d70f9",
25
+ "size": 56
26
+ },
27
+ {
28
+ "path": "assets/caf\u00e9.txt",
29
+ "sha256": "24dd18dc649845dcb2099df6751612ed0d70925959a35a45a6beda82a60bb56e",
30
+ "size": 15
31
+ },
32
+ {
33
+ "path": "config.json",
34
+ "sha256": "68d4b6c3308015c36332de690b727c02878531e6440ced97fcf1fd1a46d41704",
35
+ "size": 88
36
+ }
37
+ ]
assets/café.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ LAYERFAULT_FIXTURE:evasion-path-normalization-collision
assets/café.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ benign control
config.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "asset_root": "assets",
3
+ "fixture": true,
4
+ "model_type": "layerfault_challenge"
5
+ }