izm1chael commited on
Commit
fb0f5bb
·
verified ·
1 Parent(s): 3cfbc9a

Publish Layerfault deep challenge LF-CH-MMOD-0002

Browse files
CHALLENGE_ORACLE.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attack_surface": [
3
+ "multimodal-package"
4
+ ],
5
+ "control_type": "positive",
6
+ "corpus_id": "LF-CH-MMOD-0002",
7
+ "difficulty": "intermediate",
8
+ "expected_decision": "WARN",
9
+ "ground_truth": "synthetic-generated",
10
+ "layerfault_rule_expectations": {
11
+ "candidate_rules": [
12
+ "LF-CONFIG-CUSTOM-CLASS"
13
+ ],
14
+ "expected_rules": [],
15
+ "must_not_rules": []
16
+ },
17
+ "oracle_ids": [
18
+ "LF-ORACLE-MMOD-0002"
19
+ ],
20
+ "related_cases": [],
21
+ "repo_name": "multimodal-processor-custom-class",
22
+ "safe_fixture": true,
23
+ "schema": 2,
24
+ "severity": "medium",
25
+ "techniques": [
26
+ "processor",
27
+ "custom",
28
+ "class"
29
+ ],
30
+ "transformations": []
31
+ }
FIXTURE_LAYOUT.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "artifacts": [
3
+ "processor_config.json",
4
+ "assets/preview.png"
5
+ ],
6
+ "family": "multimodal",
7
+ "note": "All content is synthetic and inert. Do not treat this as a production model.",
8
+ "repo_name": "multimodal-processor-custom-class"
9
+ }
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [
3
+ "LF-CONFIG-CUSTOM-CLASS"
4
+ ],
5
+ "challenge": {
6
+ "attack_surface": [
7
+ "multimodal-package"
8
+ ],
9
+ "control_type": "positive",
10
+ "difficulty": "intermediate",
11
+ "expected_decision": "WARN",
12
+ "oracle_ids": [
13
+ "LF-ORACLE-MMOD-0002"
14
+ ],
15
+ "related_cases": [],
16
+ "severity": "medium",
17
+ "techniques": [
18
+ "processor",
19
+ "custom",
20
+ "class"
21
+ ],
22
+ "transformations": []
23
+ },
24
+ "corpus_id": "LF-CH-MMOD-0002",
25
+ "description": "Multimodal processor custom class.",
26
+ "expected_rules": [],
27
+ "generator": "challenges.generate_challenge",
28
+ "ground_truth": "synthetic-generated",
29
+ "must_not_rules": [],
30
+ "repo_name": "multimodal-processor-custom-class",
31
+ "repo_type": "model",
32
+ "safe_fixture": true,
33
+ "safety": "inert/canary-only",
34
+ "schema": 1,
35
+ "validation": {
36
+ "kind": "verify-package",
37
+ "target": "."
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
+ # multimodal-processor-custom-class
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-MMOD-0002`
30
+
31
+ ## Purpose
32
+
33
+ Multimodal processor custom class.
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-CONFIG-CUSTOM-CLASS`
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: **intermediate**
61
+ - Expected admission decision: **WARN**
62
+ - Control type: **positive**
63
+ - Attack surface: multimodal-package
64
+ - Techniques: processor, custom, class
65
+ - Transformations: none
66
+
67
+ ### Ground-truth oracle IDs
68
+
69
+ - `LF-ORACLE-MMOD-0002`
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,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "CHALLENGE_ORACLE.json",
4
+ "sha256": "7c21b62e865b4a83f6fd2eff845a99b37edb7490b22dd4f5f0fb02ccdb1bed01",
5
+ "size": 656
6
+ },
7
+ {
8
+ "path": "FIXTURE_LAYOUT.json",
9
+ "sha256": "31fd06ff602bb5cef049068a3462f011a7cd604e71bfdfe41b86c8dc5788c517",
10
+ "size": 247
11
+ },
12
+ {
13
+ "path": "LAYERFAULT_CORPUS.json",
14
+ "sha256": "21e2429bdbcadb12d3eb10aa18f331a5be7686ff36c2e8c4b10f2380b10904e4",
15
+ "size": 892
16
+ },
17
+ {
18
+ "path": "README.md",
19
+ "sha256": "378f31399f5341bee74a465cb9941b50ff41804f2f17c14559db5c493140a96f",
20
+ "size": 2237
21
+ },
22
+ {
23
+ "path": "assets/preview.png",
24
+ "sha256": "97fbbdd2fe7e0d51dc1993e45a8dc792d25bdb376854b73fd4d70859e1f48c3c",
25
+ "size": 924
26
+ },
27
+ {
28
+ "path": "processor_config.json",
29
+ "sha256": "f6feec61a61fd32689b763d1e0fa43dbe4b2bcbe07ed97aec4e1a25e1bfd1e1a",
30
+ "size": 107
31
+ }
32
+ ]
assets/preview.png ADDED
processor_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "preview": "assets/preview.png",
3
+ "processor_class": "layerfault_fixture.CustomMultimodalProcessor"
4
+ }