izm1chael commited on
Commit
1c04f8d
·
verified ·
1 Parent(s): 350de6d

Publish Layerfault deep challenge LF-CH-MCPX-0003

Browse files
Files changed (6) hide show
  1. CHALLENGE_ORACLE.json +31 -0
  2. FIXTURE_LAYOUT.json +8 -0
  3. LAYERFAULT_CORPUS.json +39 -0
  4. README.md +73 -0
  5. SHA256SUMS.json +27 -0
  6. mcp.json +16 -0
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "agent-mcp-static"
4
+ ],
5
+ "control_type": "positive",
6
+ "corpus_id": "LF-CH-MCPX-0003",
7
+ "difficulty": "hard",
8
+ "expected_decision": "BLOCK",
9
+ "ground_truth": "synthetic-generated",
10
+ "layerfault_rule_expectations": {
11
+ "candidate_rules": [],
12
+ "expected_rules": [
13
+ "LF-MCP-CREDENTIAL-IN-URL"
14
+ ],
15
+ "must_not_rules": []
16
+ },
17
+ "oracle_ids": [
18
+ "LF-ORACLE-MCPX-0003"
19
+ ],
20
+ "related_cases": [],
21
+ "repo_name": "agent-mcp-url-credential",
22
+ "safe_fixture": true,
23
+ "schema": 2,
24
+ "severity": "medium",
25
+ "techniques": [
26
+ "mcp",
27
+ "url",
28
+ "credential"
29
+ ],
30
+ "transformations": []
31
+ }
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "mcp.json"
4
+ ],
5
+ "family": "mcpx",
6
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
7
+ "repo_name": "agent-mcp-url-credential"
8
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [],
3
+ "challenge": {
4
+ "attack_surface": [
5
+ "agent-mcp-static"
6
+ ],
7
+ "control_type": "positive",
8
+ "difficulty": "hard",
9
+ "expected_decision": "BLOCK",
10
+ "oracle_ids": [
11
+ "LF-ORACLE-MCPX-0003"
12
+ ],
13
+ "related_cases": [],
14
+ "severity": "medium",
15
+ "techniques": [
16
+ "mcp",
17
+ "url",
18
+ "credential"
19
+ ],
20
+ "transformations": []
21
+ },
22
+ "corpus_id": "LF-CH-MCPX-0003",
23
+ "description": "Agent mcp url credential.",
24
+ "expected_rules": [
25
+ "LF-MCP-CREDENTIAL-IN-URL"
26
+ ],
27
+ "generator": "challenges.generate_challenge",
28
+ "ground_truth": "synthetic-generated",
29
+ "must_not_rules": [],
30
+ "repo_name": "agent-mcp-url-credential",
31
+ "repo_type": "model",
32
+ "safe_fixture": true,
33
+ "safety": "inert/canary-only",
34
+ "schema": 1,
35
+ "validation": {
36
+ "kind": "agent inspect",
37
+ "target": "mcp.json"
38
+ }
39
+ }
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
+ # agent-mcp-url-credential
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-MCPX-0003`
30
+
31
+ ## Purpose
32
+
33
+ Agent mcp url credential.
34
+
35
+ ## Direct expected Layerfault rules
36
+
37
+ - `LF-MCP-CREDENTIAL-IN-URL`
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: **medium**
60
+ - Difficulty: **hard**
61
+ - Expected admission decision: **BLOCK**
62
+ - Control type: **positive**
63
+ - Attack surface: agent-mcp-static
64
+ - Techniques: mcp, url, credential
65
+ - Transformations: none
66
+
67
+ ### Ground-truth oracle IDs
68
+
69
+ - `LF-ORACLE-MCPX-0003`
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": "6e3f2f3a62e347c735e4a01b8a0ca66bcfe9432bd876fdd1e22c4b417fb7d884",
5
+ "size": 636
6
+ },
7
+ {
8
+ "path": "FIXTURE_LAYOUT.json",
9
+ "sha256": "57011625d358b0e6adce9b38578447b17d857fc87efc1e288fa3f46c7e830ce3",
10
+ "size": 193
11
+ },
12
+ {
13
+ "path": "LAYERFAULT_CORPUS.json",
14
+ "sha256": "0b700d903626d50ca98c023db26d23f5110f036b7a1a5bcf969cece3f9b13ee5",
15
+ "size": 869
16
+ },
17
+ {
18
+ "path": "README.md",
19
+ "sha256": "bbeab6a276ae53bb3504b04684dd82dfb2562aadd3339305b28a667710dbc9d8",
20
+ "size": 2160
21
+ },
22
+ {
23
+ "path": "mcp.json",
24
+ "sha256": "ef25ff78cbe3da89e6c617a0dfe14661586ddb5d6ad2db141481f659c9dab117",
25
+ "size": 334
26
+ }
27
+ ]
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://FAKE_USER:FAKE_TOKEN@mcp.fixture.invalid/api"
14
+ }
15
+ }
16
+ }