Publish Layerfault deep challenge LF-CH-STORE-0008
Browse files- CHALLENGE_ORACLE.json +29 -0
- FIXTURE_LAYOUT.json +11 -0
- LAYERFAULT_CORPUS.json +37 -0
- README.md +73 -0
- SHA256SUMS.json +42 -0
- store/blobs/sha256-a4e5e156ddec27e286f75328784d7106b60a4eb1d246e950a001a3f944fbda99 +0 -0
- store/custom.py +1 -0
- store/manifest.json +8 -0
- store/model.json +5 -0
CHALLENGE_ORACLE.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"attack_surface": [
|
| 3 |
+
"local-model-store"
|
| 4 |
+
],
|
| 5 |
+
"control_type": "positive",
|
| 6 |
+
"corpus_id": "LF-CH-STORE-0008",
|
| 7 |
+
"difficulty": "hard",
|
| 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-STORE-0008"
|
| 17 |
+
],
|
| 18 |
+
"related_cases": [],
|
| 19 |
+
"repo_name": "store-lmstudio-unexpected-sidecar",
|
| 20 |
+
"safe_fixture": true,
|
| 21 |
+
"schema": 2,
|
| 22 |
+
"severity": "medium",
|
| 23 |
+
"techniques": [
|
| 24 |
+
"lmstudio",
|
| 25 |
+
"unexpected",
|
| 26 |
+
"sidecar"
|
| 27 |
+
],
|
| 28 |
+
"transformations": []
|
| 29 |
+
}
|
FIXTURE_LAYOUT.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": [
|
| 3 |
+
"store/blobs/sha256-a4e5e156ddec27e286f75328784d7106b60a4eb1d246e950a001a3f944fbda99",
|
| 4 |
+
"store/model.json",
|
| 5 |
+
"store/custom.py",
|
| 6 |
+
"store/manifest.json"
|
| 7 |
+
],
|
| 8 |
+
"family": "store",
|
| 9 |
+
"note": "All content is synthetic and inert. Do not treat this as a production model.",
|
| 10 |
+
"repo_name": "store-lmstudio-unexpected-sidecar"
|
| 11 |
+
}
|
LAYERFAULT_CORPUS.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"candidate_rules": [],
|
| 3 |
+
"challenge": {
|
| 4 |
+
"attack_surface": [
|
| 5 |
+
"local-model-store"
|
| 6 |
+
],
|
| 7 |
+
"control_type": "positive",
|
| 8 |
+
"difficulty": "hard",
|
| 9 |
+
"expected_decision": "BLOCK",
|
| 10 |
+
"oracle_ids": [
|
| 11 |
+
"LF-ORACLE-STORE-0008"
|
| 12 |
+
],
|
| 13 |
+
"related_cases": [],
|
| 14 |
+
"severity": "medium",
|
| 15 |
+
"techniques": [
|
| 16 |
+
"lmstudio",
|
| 17 |
+
"unexpected",
|
| 18 |
+
"sidecar"
|
| 19 |
+
],
|
| 20 |
+
"transformations": []
|
| 21 |
+
},
|
| 22 |
+
"corpus_id": "LF-CH-STORE-0008",
|
| 23 |
+
"description": "Store lmstudio unexpected sidecar.",
|
| 24 |
+
"expected_rules": [],
|
| 25 |
+
"generator": "challenges.generate_challenge",
|
| 26 |
+
"ground_truth": "synthetic-generated",
|
| 27 |
+
"must_not_rules": [],
|
| 28 |
+
"repo_name": "store-lmstudio-unexpected-sidecar",
|
| 29 |
+
"repo_type": "model",
|
| 30 |
+
"safe_fixture": true,
|
| 31 |
+
"safety": "inert/canary-only",
|
| 32 |
+
"schema": 1,
|
| 33 |
+
"validation": {
|
| 34 |
+
"kind": "verify-package",
|
| 35 |
+
"target": "store"
|
| 36 |
+
}
|
| 37 |
+
}
|
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 |
+
# store-lmstudio-unexpected-sidecar
|
| 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-STORE-0008`
|
| 30 |
+
|
| 31 |
+
## Purpose
|
| 32 |
+
|
| 33 |
+
Store lmstudio unexpected sidecar.
|
| 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: **medium**
|
| 60 |
+
- Difficulty: **hard**
|
| 61 |
+
- Expected admission decision: **BLOCK**
|
| 62 |
+
- Control type: **positive**
|
| 63 |
+
- Attack surface: local-model-store
|
| 64 |
+
- Techniques: lmstudio, unexpected, sidecar
|
| 65 |
+
- Transformations: none
|
| 66 |
+
|
| 67 |
+
### Ground-truth oracle IDs
|
| 68 |
+
|
| 69 |
+
- `LF-ORACLE-STORE-0008`
|
| 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,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"path": "CHALLENGE_ORACLE.json",
|
| 4 |
+
"sha256": "99d647ba776648520f54041715160dd797d472f639a7b6f66f1e93fc91788089",
|
| 5 |
+
"size": 619
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"path": "FIXTURE_LAYOUT.json",
|
| 9 |
+
"sha256": "d3db2f1d9d06c29741ea665fc8507328320dd30fda7963e7d8e396ca226ccdff",
|
| 10 |
+
"size": 352
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"path": "LAYERFAULT_CORPUS.json",
|
| 14 |
+
"sha256": "0f19bf02caeddaa78d7dd27117b3d3d1aeb2f9e520bd5522654462a52621042f",
|
| 15 |
+
"size": 863
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"path": "README.md",
|
| 19 |
+
"sha256": "f15ffa5e1189dea8917bd631743d8459fb78f0263eddfde5837098462b47ec13",
|
| 20 |
+
"size": 2216
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"path": "store/blobs/sha256-a4e5e156ddec27e286f75328784d7106b60a4eb1d246e950a001a3f944fbda99",
|
| 24 |
+
"sha256": "a4e5e156ddec27e286f75328784d7106b60a4eb1d246e950a001a3f944fbda99",
|
| 25 |
+
"size": 24
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"path": "store/custom.py",
|
| 29 |
+
"sha256": "6bd7280b5aae6161d1e02d49ccd95c8d8f910f50e164e65b063081827a0155e1",
|
| 30 |
+
"size": 28
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"path": "store/manifest.json",
|
| 34 |
+
"sha256": "f6e998e402fe4df489017efdc3125a8ce3957652b57ec89641e02a2d133f67bb",
|
| 35 |
+
"size": 164
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"path": "store/model.json",
|
| 39 |
+
"sha256": "ff4530391c1cc5f93f1145c5461a11c1ca915acb1d2df0652204a339c9ad1c8e",
|
| 40 |
+
"size": 194
|
| 41 |
+
}
|
| 42 |
+
]
|
store/blobs/sha256-a4e5e156ddec27e286f75328784d7106b60a4eb1d246e950a001a3f944fbda99
ADDED
|
Binary file (24 Bytes). View file
|
|
|
store/custom.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
MARKER="LAYERFAULT_FIXTURE"
|
store/manifest.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"digest": "sha256:a4e5e156ddec27e286f75328784d7106b60a4eb1d246e950a001a3f944fbda99",
|
| 4 |
+
"size": 24
|
| 5 |
+
},
|
| 6 |
+
"layers": [],
|
| 7 |
+
"schemaVersion": 2
|
| 8 |
+
}
|
store/model.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format": "gguf",
|
| 3 |
+
"path": "blobs/sha256-a4e5e156ddec27e286f75328784d7106b60a4eb1d246e950a001a3f944fbda99",
|
| 4 |
+
"sha256": "a4e5e156ddec27e286f75328784d7106b60a4eb1d246e950a001a3f944fbda99"
|
| 5 |
+
}
|