izm1chael commited on
Commit
72c8d4c
·
verified ·
1 Parent(s): 50699f9

Publish Layerfault synthetic corpus LF-CORPUS-PKL-0005

Browse files
Files changed (5) hide show
  1. LAYERFAULT_CORPUS.json +21 -0
  2. README.md +55 -0
  3. SHA256SUMS.json +22 -0
  4. config.json +1 -0
  5. model.pkl +3 -0
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [
3
+ "LF-SERIALIZATION-UNSAFE"
4
+ ],
5
+ "corpus_id": "LF-CORPUS-PKL-0005",
6
+ "description": "Package containing inert Pickle bytes that reference builtins.eval without executing it.",
7
+ "expected_rules": [
8
+ "LF-PICKLE-DANGEROUS-GLOBAL"
9
+ ],
10
+ "generator": "extra_formats.pickle_serialization_package",
11
+ "ground_truth": "synthetic-generated",
12
+ "must_not_rules": [],
13
+ "repo_name": "pickle-serialization-package",
14
+ "repo_type": "model",
15
+ "safety": "inert/canary-only",
16
+ "schema": 1,
17
+ "validation": {
18
+ "kind": "verify-package",
19
+ "target": "."
20
+ }
21
+ }
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # pickle-serialization-package
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-PKL-0005`
30
+
31
+ ## Purpose
32
+
33
+ Package containing inert Pickle bytes that reference builtins.eval without executing it.
34
+
35
+ ## Direct expected Layerfault rules
36
+
37
+ - `LF-PICKLE-DANGEROUS-GLOBAL`
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-SERIALIZATION-UNSAFE`
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.
SHA256SUMS.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "LAYERFAULT_CORPUS.json",
4
+ "sha256": "9602fd675ebf5463824a990260c74ebadff8a07b71190bef5ff6768ea07d35d2",
5
+ "size": 583
6
+ },
7
+ {
8
+ "path": "README.md",
9
+ "sha256": "fa49e1942ca4fe81d812a9c0c9e13c96d78a6bfb55f8477cf611e29e02ea4ca6",
10
+ "size": 1728
11
+ },
12
+ {
13
+ "path": "config.json",
14
+ "sha256": "ce972215aee21aaec4a0d556822406b90f34716756b81c4b7ab5ae1aa4e553f9",
15
+ "size": 43
16
+ },
17
+ {
18
+ "path": "model.pkl",
19
+ "sha256": "8a0e4336c906fbc3095426126fc8a7f35e593cf1e3e40beb3756c6d33f2da9c3",
20
+ "size": 18
21
+ }
22
+ ]
config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"model_type":"layerfault_pickle_fixture"}
model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a0e4336c906fbc3095426126fc8a7f35e593cf1e3e40beb3756c6d33f2da9c3
3
+ size 18