izm1chael commited on
Commit
44c223c
·
verified ·
1 Parent(s): 5af5abe

Publish Layerfault synthetic corpus LF-CORPUS-PT-0004

Browse files
Files changed (4) hide show
  1. LAYERFAULT_CORPUS.json +20 -0
  2. README.md +56 -0
  3. SHA256SUMS.json +17 -0
  4. model.pt +3 -0
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [],
3
+ "corpus_id": "LF-CORPUS-PT-0004",
4
+ "description": "torch.package-shaped ZIP containing an inert native-load call site.",
5
+ "expected_rules": [
6
+ "LF-TORCHPACKAGE-EXEC",
7
+ "LF-TORCHPACKAGE-STRUCTURAL"
8
+ ],
9
+ "generator": "extra_formats.torchpackage_code",
10
+ "ground_truth": "synthetic-generated",
11
+ "must_not_rules": [],
12
+ "repo_name": "torchpackage-code-capability",
13
+ "repo_type": "model",
14
+ "safety": "inert/canary-only",
15
+ "schema": 1,
16
+ "validation": {
17
+ "kind": "inspect",
18
+ "target": "model.pt"
19
+ }
20
+ }
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ # torchpackage-code-capability
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-PT-0004`
30
+
31
+ ## Purpose
32
+
33
+ torch.package-shaped ZIP containing an inert native-load call site.
34
+
35
+ ## Direct expected Layerfault rules
36
+
37
+ - `LF-TORCHPACKAGE-EXEC`
38
+ - `LF-TORCHPACKAGE-STRUCTURAL`
39
+
40
+ ## Candidate rules
41
+
42
+ These are deliberately plausible targets that remain marked as candidates until the exact
43
+ Layerfault build used for certification confirms them.
44
+
45
+ - None
46
+
47
+ ## Negative-control rules
48
+
49
+ These should remain silent for this corpus item.
50
+
51
+ - None
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.
SHA256SUMS.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "LAYERFAULT_CORPUS.json",
4
+ "sha256": "e111a220a0922c349fec6c65b8a6ca284cd7fe1410086f6e01503c8fabd33c62",
5
+ "size": 545
6
+ },
7
+ {
8
+ "path": "README.md",
9
+ "sha256": "6b2bb933996fa342b3f938274dc90eae7a10ad718b382eaed4ae4459e1eee3c3",
10
+ "size": 1710
11
+ },
12
+ {
13
+ "path": "model.pt",
14
+ "sha256": "4e171719134e97f9ede426e29857922e775007e6e6d1a8ad6d3ecfc58e3fbdbf",
15
+ "size": 400
16
+ }
17
+ ]
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e171719134e97f9ede426e29857922e775007e6e6d1a8ad6d3ecfc58e3fbdbf
3
+ size 400