Publish Layerfault deep challenge LF-CH-WGHT-0010
Browse files- CHALLENGE_ORACLE.json +27 -0
- FIXTURE_LAYOUT.json +9 -0
- LAYERFAULT_CORPUS.json +35 -0
- README.md +73 -0
- SHA256SUMS.json +32 -0
- adapter_config.json +10 -0
- adapter_model.safetensors +3 -0
CHALLENGE_ORACLE.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"attack_surface": [
|
| 3 |
+
"weight-adapter"
|
| 4 |
+
],
|
| 5 |
+
"control_type": "positive",
|
| 6 |
+
"corpus_id": "LF-CH-WGHT-0010",
|
| 7 |
+
"difficulty": "adversarial",
|
| 8 |
+
"expected_decision": "BLOCK",
|
| 9 |
+
"ground_truth": "synthetic-generated",
|
| 10 |
+
"layerfault_rule_expectations": {
|
| 11 |
+
"candidate_rules": [],
|
| 12 |
+
"expected_rules": [],
|
| 13 |
+
"must_not_rules": []
|
| 14 |
+
},
|
| 15 |
+
"oracle_ids": [
|
| 16 |
+
"LF-ORACLE-WGHT-0010"
|
| 17 |
+
],
|
| 18 |
+
"related_cases": [],
|
| 19 |
+
"repo_name": "lora-modules-to-save-risk",
|
| 20 |
+
"safe_fixture": true,
|
| 21 |
+
"schema": 2,
|
| 22 |
+
"severity": "critical",
|
| 23 |
+
"techniques": [
|
| 24 |
+
"lora"
|
| 25 |
+
],
|
| 26 |
+
"transformations": []
|
| 27 |
+
}
|
FIXTURE_LAYOUT.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": [
|
| 3 |
+
"adapter_config.json",
|
| 4 |
+
"adapter_model.safetensors"
|
| 5 |
+
],
|
| 6 |
+
"family": "weight",
|
| 7 |
+
"note": "All content is synthetic and inert. Do not treat this as a production model.",
|
| 8 |
+
"repo_name": "lora-modules-to-save-risk"
|
| 9 |
+
}
|
LAYERFAULT_CORPUS.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"candidate_rules": [],
|
| 3 |
+
"challenge": {
|
| 4 |
+
"attack_surface": [
|
| 5 |
+
"weight-adapter"
|
| 6 |
+
],
|
| 7 |
+
"control_type": "positive",
|
| 8 |
+
"difficulty": "adversarial",
|
| 9 |
+
"expected_decision": "BLOCK",
|
| 10 |
+
"oracle_ids": [
|
| 11 |
+
"LF-ORACLE-WGHT-0010"
|
| 12 |
+
],
|
| 13 |
+
"related_cases": [],
|
| 14 |
+
"severity": "critical",
|
| 15 |
+
"techniques": [
|
| 16 |
+
"lora"
|
| 17 |
+
],
|
| 18 |
+
"transformations": []
|
| 19 |
+
},
|
| 20 |
+
"corpus_id": "LF-CH-WGHT-0010",
|
| 21 |
+
"description": "Lora modules to save risk.",
|
| 22 |
+
"expected_rules": [],
|
| 23 |
+
"generator": "challenges.generate_challenge",
|
| 24 |
+
"ground_truth": "synthetic-generated",
|
| 25 |
+
"must_not_rules": [],
|
| 26 |
+
"repo_name": "lora-modules-to-save-risk",
|
| 27 |
+
"repo_type": "model",
|
| 28 |
+
"safe_fixture": true,
|
| 29 |
+
"safety": "inert/canary-only",
|
| 30 |
+
"schema": 1,
|
| 31 |
+
"validation": {
|
| 32 |
+
"kind": "verify-package",
|
| 33 |
+
"target": "."
|
| 34 |
+
}
|
| 35 |
+
}
|
README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
# lora-modules-to-save-risk
|
| 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-CH-WGHT-0010`
|
| 30 |
+
|
| 31 |
+
## Purpose
|
| 32 |
+
|
| 33 |
+
Lora modules to save risk.
|
| 34 |
+
|
| 35 |
+
## Direct expected Layerfault rules
|
| 36 |
+
|
| 37 |
+
- None; this repository is a control/comparison input.
|
| 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 |
+
- None
|
| 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.
|
| 56 |
+
|
| 57 |
+
## Challenge classification
|
| 58 |
+
|
| 59 |
+
- Severity: **critical**
|
| 60 |
+
- Difficulty: **adversarial**
|
| 61 |
+
- Expected admission decision: **BLOCK**
|
| 62 |
+
- Control type: **positive**
|
| 63 |
+
- Attack surface: weight-adapter
|
| 64 |
+
- Techniques: lora
|
| 65 |
+
- Transformations: none
|
| 66 |
+
|
| 67 |
+
### Ground-truth oracle IDs
|
| 68 |
+
|
| 69 |
+
- `LF-ORACLE-WGHT-0010`
|
| 70 |
+
|
| 71 |
+
These oracle IDs describe synthetic ground truth. They do not claim that a
|
| 72 |
+
matching Layerfault detector already exists. A challenge may intentionally expose
|
| 73 |
+
a scanner blind spot and remain unmapped until the detector is implemented.
|
SHA256SUMS.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"path": "CHALLENGE_ORACLE.json",
|
| 4 |
+
"sha256": "c5e8290cf94e0210435227db448d6b46bfa5f8fbf2568e1db9de49af472b0d52",
|
| 5 |
+
"size": 578
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"path": "FIXTURE_LAYOUT.json",
|
| 9 |
+
"sha256": "54cc37a64b568dc47a9029163fddedfebd426bf3ba6345108f835861adf92723",
|
| 10 |
+
"size": 240
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"path": "LAYERFAULT_CORPUS.json",
|
| 14 |
+
"sha256": "193b10901dc0e024f3c3d43db961fd734433df0d50789cb8f30e20508d8a9a93",
|
| 15 |
+
"size": 806
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"path": "README.md",
|
| 19 |
+
"sha256": "8b65b48ee091ff3dd115c9321357042a13937d49c46e4e108d6f656ac6219842",
|
| 20 |
+
"size": 2179
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"path": "adapter_config.json",
|
| 24 |
+
"sha256": "a478ecf7c7ba8fa267de60773f3ad36924ea95cc24be205f6ca4aaeff8441693",
|
| 25 |
+
"size": 115
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"path": "adapter_model.safetensors",
|
| 29 |
+
"sha256": "ee00bedd6385d1a1c0ff0b3a2f0b9e344e23adb24fb0c3451217e2549b013ce5",
|
| 30 |
+
"size": 184
|
| 31 |
+
}
|
| 32 |
+
]
|
adapter_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"lora_alpha": 16,
|
| 3 |
+
"modules_to_save": [
|
| 4 |
+
"lm_head"
|
| 5 |
+
],
|
| 6 |
+
"r": 8,
|
| 7 |
+
"target_modules": [
|
| 8 |
+
"q_proj"
|
| 9 |
+
]
|
| 10 |
+
}
|
adapter_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee00bedd6385d1a1c0ff0b3a2f0b9e344e23adb24fb0c3451217e2549b013ce5
|
| 3 |
+
size 184
|