izm1chael commited on
Commit
f80e977
·
verified ·
1 Parent(s): da804be

Publish Layerfault synthetic corpus LF-CORPUS-COREML-0001

Browse files
Files changed (4) hide show
  1. LAYERFAULT_CORPUS.json +21 -0
  2. README.md +57 -0
  3. SHA256SUMS.json +17 -0
  4. model.mlmodel +3 -0
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [],
3
+ "corpus_id": "LF-CORPUS-COREML-0001",
4
+ "description": "Minimal CoreML protobuf-shaped model containing a custom-layer marker and traversal reference.",
5
+ "expected_rules": [
6
+ "LF-COREML-CUSTOM",
7
+ "LF-COREML-PATH-TRAVERSAL",
8
+ "LF-COREML-STRUCTURAL"
9
+ ],
10
+ "generator": "extra_formats.coreml_custom_and_path",
11
+ "ground_truth": "synthetic-generated",
12
+ "must_not_rules": [],
13
+ "repo_name": "coreml-custom-path",
14
+ "repo_type": "model",
15
+ "safety": "inert/canary-only",
16
+ "schema": 1,
17
+ "validation": {
18
+ "kind": "inspect",
19
+ "target": "model.mlmodel"
20
+ }
21
+ }
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # coreml-custom-path
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-CORPUS-COREML-0001`
30
+
31
+ ## Purpose
32
+
33
+ Minimal CoreML protobuf-shaped model containing a custom-layer marker and traversal reference.
34
+
35
+ ## Direct expected Layerfault rules
36
+
37
+ - `LF-COREML-CUSTOM`
38
+ - `LF-COREML-PATH-TRAVERSAL`
39
+ - `LF-COREML-STRUCTURAL`
40
+
41
+ ## Candidate rules
42
+
43
+ These are deliberately plausible targets that remain marked as candidates until the exact
44
+ Layerfault build used for certification confirms them.
45
+
46
+ - None
47
+
48
+ ## Negative-control rules
49
+
50
+ These should remain silent for this corpus item.
51
+
52
+ - None
53
+
54
+ ## Safety
55
+
56
+ The corpus uses fake secrets, loopback/`.invalid` network destinations, harmless marker output,
57
+ and synthetic model behavior only. It is intended for static scanning and isolated security testing.
SHA256SUMS.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "LAYERFAULT_CORPUS.json",
4
+ "sha256": "b2d7da80567f9cea4a1198eff7430d931fca01b3bd63832933154577d0eb77b1",
5
+ "size": 598
6
+ },
7
+ {
8
+ "path": "README.md",
9
+ "sha256": "65df8b21dae0109df156997e61fcf01eb7b1f82fb8bc7e20f7298d9aebe231e2",
10
+ "size": 1750
11
+ },
12
+ {
13
+ "path": "model.mlmodel",
14
+ "sha256": "a5faf0c50a8fe7c6a6c21f0aff4889c30fccb8d611a1a345c5581f4e362b1ea9",
15
+ "size": 58
16
+ }
17
+ ]
model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5faf0c50a8fe7c6a6c21f0aff4889c30fccb8d611a1a345c5581f4e362b1ea9
3
+ size 58