izm1chael commited on
Commit
ff3c2c4
·
verified ·
1 Parent(s): 1318065

Publish Layerfault synthetic corpus LF-CORPUS-PT-0003

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-0003",
4
+ "description": "TorchScript-shaped ZIP containing harmless subprocess marker source.",
5
+ "expected_rules": [
6
+ "LF-TORCHSCRIPT-CODE",
7
+ "LF-TORCHSCRIPT-STRUCTURAL"
8
+ ],
9
+ "generator": "extra_formats.torchscript_code",
10
+ "ground_truth": "synthetic-generated",
11
+ "must_not_rules": [],
12
+ "repo_name": "torchscript-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
+ # torchscript-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-0003`
30
+
31
+ ## Purpose
32
+
33
+ TorchScript-shaped ZIP containing harmless subprocess marker source.
34
+
35
+ ## Direct expected Layerfault rules
36
+
37
+ - `LF-TORCHSCRIPT-CODE`
38
+ - `LF-TORCHSCRIPT-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": "20ca7fce3e22eba862e3a623724042d4bc50a36fe8ee63c64535f53bf0a1d2ec",
5
+ "size": 542
6
+ },
7
+ {
8
+ "path": "README.md",
9
+ "sha256": "67a0c1d1e93d2e68c05b2bafed28c02497aa00fb431b40ca82e485d685c6900d",
10
+ "size": 1708
11
+ },
12
+ {
13
+ "path": "model.pt",
14
+ "sha256": "9a5e2c3e0e7a1faf4fc6eabbf0e555bd694fba280673ac6c76441fe3f4d7e517",
15
+ "size": 469
16
+ }
17
+ ]
model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a5e2c3e0e7a1faf4fc6eabbf0e555bd694fba280673ac6c76441fe3f4d7e517
3
+ size 469