izm1chael commited on
Commit
211a7b4
·
verified ·
1 Parent(s): b3bb824

Publish Layerfault synthetic corpus LF-CORPUS-CONFIG-0001

Browse files
Files changed (5) hide show
  1. LAYERFAULT_CORPUS.json +20 -0
  2. README.md +56 -0
  3. SHA256SUMS.json +22 -0
  4. config.json +8 -0
  5. model.safetensors +3 -0
LAYERFAULT_CORPUS.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "candidate_rules": [],
3
+ "corpus_id": "LF-CORPUS-CONFIG-0001",
4
+ "description": "Config fields that select a custom activation, tokenizer class and processor class.",
5
+ "expected_rules": [
6
+ "LF-CONFIG-ACTIVATION-IMPORT",
7
+ "LF-CONFIG-CUSTOM-CLASS"
8
+ ],
9
+ "generator": "security_edges.declarative_execution",
10
+ "ground_truth": "synthetic-generated",
11
+ "must_not_rules": [],
12
+ "repo_name": "declarative-execution-suite",
13
+ "repo_type": "model",
14
+ "safety": "inert/canary-only",
15
+ "schema": 1,
16
+ "validation": {
17
+ "kind": "verify-package",
18
+ "target": "."
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
+ # declarative-execution-suite
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-CONFIG-0001`
30
+
31
+ ## Purpose
32
+
33
+ Config fields that select a custom activation, tokenizer class and processor class.
34
+
35
+ ## Direct expected Layerfault rules
36
+
37
+ - `LF-CONFIG-ACTIVATION-IMPORT`
38
+ - `LF-CONFIG-CUSTOM-CLASS`
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,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "path": "LAYERFAULT_CORPUS.json",
4
+ "sha256": "2a4bddeaef656dbfca67982a414ab9f7aa4b55b1b3559be8f82d230953661215",
5
+ "size": 572
6
+ },
7
+ {
8
+ "path": "README.md",
9
+ "sha256": "4fda1e58eac75ec641ad277a91ac465b2221872cfdcd2e9747420765554835ba",
10
+ "size": 1732
11
+ },
12
+ {
13
+ "path": "config.json",
14
+ "sha256": "ddde92cb90430be479bae980ed88524e318f7e5f4e849548084927e683dc3921",
15
+ "size": 252
16
+ },
17
+ {
18
+ "path": "model.safetensors",
19
+ "sha256": "a93e4b89dd8218d941be2b57882ed3185f71a7ebfc003548fd494aa8a795ca2f",
20
+ "size": 856
21
+ }
22
+ ]
config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "layerfault_declarative_fixture",
3
+ "processor_class": "layerfault.synthetic.Processor",
4
+ "sentence_transformers": {
5
+ "activation_fn": "layerfault.synthetic.activation"
6
+ },
7
+ "tokenizer_class": "layerfault.synthetic.Tokenizer"
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a93e4b89dd8218d941be2b57882ed3185f71a7ebfc003548fd494aa8a795ca2f
3
+ size 856