izm1chael commited on
Commit
3ee1975
·
verified ·
1 Parent(s): 74afcb9

Publish Layerfault deep challenge LF-CH-SCRX-0009

Browse files
Files changed (8) hide show
  1. CHALLENGE_ORACLE.json +30 -0
  2. FIXTURE_LAYOUT.json +10 -0
  3. LAYERFAULT_CORPUS.json +38 -0
  4. README.md +73 -0
  5. SHA256SUMS.json +37 -0
  6. a.py +1 -0
  7. b.js +1 -0
  8. c.sh +1 -0
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "script-supply-chain"
4
+ ],
5
+ "control_type": "positive",
6
+ "corpus_id": "LF-CH-SCRX-0009",
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-SCRX-0009"
17
+ ],
18
+ "related_cases": [],
19
+ "repo_name": "script-mixed-language-capability-chain",
20
+ "safe_fixture": true,
21
+ "schema": 2,
22
+ "severity": "high",
23
+ "techniques": [
24
+ "mixed",
25
+ "language",
26
+ "capability",
27
+ "chain"
28
+ ],
29
+ "transformations": []
30
+ }
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "a.py",
4
+ "b.js",
5
+ "c.sh"
6
+ ],
7
+ "family": "scriptx",
8
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
9
+ "repo_name": "script-mixed-language-capability-chain"
10
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [],
3
+ "challenge": {
4
+ "attack_surface": [
5
+ "script-supply-chain"
6
+ ],
7
+ "control_type": "positive",
8
+ "difficulty": "compound",
9
+ "expected_decision": "BLOCK",
10
+ "oracle_ids": [
11
+ "LF-ORACLE-SCRX-0009"
12
+ ],
13
+ "related_cases": [],
14
+ "severity": "high",
15
+ "techniques": [
16
+ "mixed",
17
+ "language",
18
+ "capability",
19
+ "chain"
20
+ ],
21
+ "transformations": []
22
+ },
23
+ "corpus_id": "LF-CH-SCRX-0009",
24
+ "description": "Script mixed language capability chain.",
25
+ "expected_rules": [],
26
+ "generator": "challenges.generate_challenge",
27
+ "ground_truth": "synthetic-generated",
28
+ "must_not_rules": [],
29
+ "repo_name": "script-mixed-language-capability-chain",
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
+ # script-mixed-language-capability-chain
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-SCRX-0009`
30
+
31
+ ## Purpose
32
+
33
+ Script mixed language capability chain.
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: script-supply-chain
64
+ - Techniques: mixed, language, capability, chain
65
+ - Transformations: none
66
+
67
+ ### Ground-truth oracle IDs
68
+
69
+ - `LF-ORACLE-SCRX-0009`
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": "61e4d15eaa0b3af20ec20c61f5697b1c0f0b6c766a9e6978862a0254834f9d75",
5
+ "size": 637
6
+ },
7
+ {
8
+ "path": "FIXTURE_LAYOUT.json",
9
+ "sha256": "b12a1b3563ebc911b716de236899e291d7125cc13eb2f19b49c954845e050912",
10
+ "size": 230
11
+ },
12
+ {
13
+ "path": "LAYERFAULT_CORPUS.json",
14
+ "sha256": "e0c6ff3211a99ff2a76d0f04ce3509552548861d572e5692c734d7695686eb0f",
15
+ "size": 884
16
+ },
17
+ {
18
+ "path": "README.md",
19
+ "sha256": "8103574f5b022ad8e93d5a2e0a7d7376a558432ae6679b0fb49326d7b078208d",
20
+ "size": 2233
21
+ },
22
+ {
23
+ "path": "a.py",
24
+ "sha256": "17ea74bb79ba96edc39a8382a97f22993b80cc4088b3e2717a98917c60c1dd5a",
25
+ "size": 18
26
+ },
27
+ {
28
+ "path": "b.js",
29
+ "sha256": "205f2a42c47a13d8345cae4d40cd70e88bb91492d83c187bb018299e2ad2b7a3",
30
+ "size": 25
31
+ },
32
+ {
33
+ "path": "c.sh",
34
+ "sha256": "13db7e9dda1469a7d9cc4abb40a3caba5caeda93581f7a3ad41be0662168fcb1",
35
+ "size": 11
36
+ }
37
+ ]
a.py ADDED
@@ -0,0 +1 @@
 
 
1
+ import subprocess
b.js ADDED
@@ -0,0 +1 @@
 
 
1
+ require("child_process")
c.sh ADDED
@@ -0,0 +1 @@
 
 
1
+ cmd="curl"