izm1chael commited on
Commit
1bf5f00
·
verified ·
1 Parent(s): 2f0228a

Publish Layerfault deep challenge LF-CH-PREC-0008

Browse files
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "precision-hard-negative"
4
+ ],
5
+ "control_type": "negative",
6
+ "corpus_id": "LF-CH-PREC-0008",
7
+ "difficulty": "hard",
8
+ "expected_decision": "PASS",
9
+ "ground_truth": "synthetic-generated",
10
+ "layerfault_rule_expectations": {
11
+ "candidate_rules": [],
12
+ "expected_rules": [],
13
+ "must_not_rules": [
14
+ "LF-MCP-TLS-ABSENT",
15
+ "LF-MCP-CREDENTIAL-IN-URL"
16
+ ]
17
+ },
18
+ "oracle_ids": [
19
+ "LF-ORACLE-PREC-0008"
20
+ ],
21
+ "related_cases": [],
22
+ "repo_name": "precision-benign-mcp-examples",
23
+ "safe_fixture": true,
24
+ "schema": 2,
25
+ "severity": "informational",
26
+ "techniques": [
27
+ "benign",
28
+ "mcp",
29
+ "examples"
30
+ ],
31
+ "transformations": []
32
+ }
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "mcp.json",
4
+ "MCP_NOTES.md"
5
+ ],
6
+ "family": "precision",
7
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
8
+ "repo_name": "precision-benign-mcp-examples"
9
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [],
3
+ "challenge": {
4
+ "attack_surface": [
5
+ "precision-hard-negative"
6
+ ],
7
+ "control_type": "negative",
8
+ "difficulty": "hard",
9
+ "expected_decision": "PASS",
10
+ "oracle_ids": [
11
+ "LF-ORACLE-PREC-0008"
12
+ ],
13
+ "related_cases": [],
14
+ "severity": "informational",
15
+ "techniques": [
16
+ "benign",
17
+ "mcp",
18
+ "examples"
19
+ ],
20
+ "transformations": []
21
+ },
22
+ "corpus_id": "LF-CH-PREC-0008",
23
+ "description": "Precision benign mcp examples.",
24
+ "expected_rules": [],
25
+ "generator": "challenges.generate_challenge",
26
+ "ground_truth": "synthetic-generated",
27
+ "must_not_rules": [
28
+ "LF-MCP-TLS-ABSENT",
29
+ "LF-MCP-CREDENTIAL-IN-URL"
30
+ ],
31
+ "repo_name": "precision-benign-mcp-examples",
32
+ "repo_type": "model",
33
+ "safe_fixture": true,
34
+ "safety": "inert/canary-only",
35
+ "schema": 1,
36
+ "validation": {
37
+ "kind": "verify-package",
38
+ "target": "mcp.json"
39
+ }
40
+ }
MCP_NOTES.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Bad examples: http://mcp.fixture.invalid and https://user:token@mcp.fixture.invalid. Active config is clean.
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # precision-benign-mcp-examples
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-PREC-0008`
30
+
31
+ ## Purpose
32
+
33
+ Precision benign mcp examples.
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
+ - `LF-MCP-TLS-ABSENT`
51
+ - `LF-MCP-CREDENTIAL-IN-URL`
52
+
53
+ ## Safety
54
+
55
+ The corpus uses fake secrets, loopback/`.invalid` network destinations, harmless marker output,
56
+ and synthetic model behavior only. It is intended for static scanning and isolated security testing.
57
+
58
+ ## Challenge classification
59
+
60
+ - Severity: **informational**
61
+ - Difficulty: **hard**
62
+ - Expected admission decision: **PASS**
63
+ - Control type: **negative**
64
+ - Attack surface: precision-hard-negative
65
+ - Techniques: benign, mcp, examples
66
+ - Transformations: none
67
+
68
+ ### Ground-truth oracle IDs
69
+
70
+ - `LF-ORACLE-PREC-0008`
71
+
72
+ These oracle IDs describe synthetic ground truth. They do not claim that a
73
+ matching Layerfault detector already exists. A challenge may intentionally expose
74
+ a scanner blind spot and remain unmapped until the detector is implemented.
SHA256SUMS.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "CHALLENGE_ORACLE.json",
4
+ "sha256": "8bf93e89944a645937cdfcde0483e519a5970f9a0e5489a79cc15549a3d63518",
5
+ "size": 682
6
+ },
7
+ {
8
+ "path": "FIXTURE_LAYOUT.json",
9
+ "sha256": "4fba6f358fa1dd7eecd7e204025ad38d71beb3a6790aceee08d5c59cede5cb4c",
10
+ "size": 223
11
+ },
12
+ {
13
+ "path": "LAYERFAULT_CORPUS.json",
14
+ "sha256": "ca3e5e215508112103e55e137856e761fdf013f645774cd07d3290720d770de0",
15
+ "size": 919
16
+ },
17
+ {
18
+ "path": "MCP_NOTES.md",
19
+ "sha256": "9a05293b99663bff33a1d9983b4d8791012aeb6c3df766d74a4a455b3f22d9ba",
20
+ "size": 109
21
+ },
22
+ {
23
+ "path": "README.md",
24
+ "sha256": "6fc221865748a429b5a12379d456d646b7ef9f506880b5cae340791f87f25769",
25
+ "size": 2254
26
+ },
27
+ {
28
+ "path": "mcp.json",
29
+ "sha256": "34dfe6a2b862cab4d1d9162fe4e0d5f19276759fe9f61bca3ca34bed347f6d30",
30
+ "size": 313
31
+ }
32
+ ]
mcp.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mcpServers": {
3
+ "fixture": {
4
+ "auth": {
5
+ "audience": "layerfault-fixture",
6
+ "type": "synthetic"
7
+ },
8
+ "package": "@layerfault/fixture@1.2.3",
9
+ "scopes": [
10
+ "tools.read"
11
+ ],
12
+ "transport": "https",
13
+ "url": "https://mcp.fixture.invalid/api"
14
+ }
15
+ }
16
+ }