Publish Layerfault deep challenge LF-CH-DEPX-0005
Browse files- CHALLENGE_ORACLE.json +29 -0
- FIXTURE_LAYOUT.json +8 -0
- LAYERFAULT_CORPUS.json +37 -0
- README.md +73 -0
- SHA256SUMS.json +27 -0
- requirements.txt +2 -0
CHALLENGE_ORACLE.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"attack_surface": [
|
| 3 |
+
"dependency-supply-chain"
|
| 4 |
+
],
|
| 5 |
+
"control_type": "positive",
|
| 6 |
+
"corpus_id": "LF-CH-DEPX-0005",
|
| 7 |
+
"difficulty": "adversarial",
|
| 8 |
+
"expected_decision": "BLOCK",
|
| 9 |
+
"ground_truth": "synthetic-generated",
|
| 10 |
+
"layerfault_rule_expectations": {
|
| 11 |
+
"candidate_rules": [],
|
| 12 |
+
"expected_rules": [
|
| 13 |
+
"LF-DEP-LOCAL-PATH"
|
| 14 |
+
],
|
| 15 |
+
"must_not_rules": []
|
| 16 |
+
},
|
| 17 |
+
"oracle_ids": [
|
| 18 |
+
"LF-ORACLE-DEPX-0005"
|
| 19 |
+
],
|
| 20 |
+
"related_cases": [],
|
| 21 |
+
"repo_name": "dependency-local-path",
|
| 22 |
+
"safe_fixture": true,
|
| 23 |
+
"schema": 2,
|
| 24 |
+
"severity": "critical",
|
| 25 |
+
"techniques": [
|
| 26 |
+
"dependency"
|
| 27 |
+
],
|
| 28 |
+
"transformations": []
|
| 29 |
+
}
|
FIXTURE_LAYOUT.json
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"artifacts": [
|
| 3 |
+
"requirements.txt"
|
| 4 |
+
],
|
| 5 |
+
"family": "dependency",
|
| 6 |
+
"note": "All content is synthetic and inert. Do not treat this as a production model.",
|
| 7 |
+
"repo_name": "dependency-local-path"
|
| 8 |
+
}
|
LAYERFAULT_CORPUS.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"candidate_rules": [],
|
| 3 |
+
"challenge": {
|
| 4 |
+
"attack_surface": [
|
| 5 |
+
"dependency-supply-chain"
|
| 6 |
+
],
|
| 7 |
+
"control_type": "positive",
|
| 8 |
+
"difficulty": "adversarial",
|
| 9 |
+
"expected_decision": "BLOCK",
|
| 10 |
+
"oracle_ids": [
|
| 11 |
+
"LF-ORACLE-DEPX-0005"
|
| 12 |
+
],
|
| 13 |
+
"related_cases": [],
|
| 14 |
+
"severity": "critical",
|
| 15 |
+
"techniques": [
|
| 16 |
+
"dependency"
|
| 17 |
+
],
|
| 18 |
+
"transformations": []
|
| 19 |
+
},
|
| 20 |
+
"corpus_id": "LF-CH-DEPX-0005",
|
| 21 |
+
"description": "Dependency local path.",
|
| 22 |
+
"expected_rules": [
|
| 23 |
+
"LF-DEP-LOCAL-PATH"
|
| 24 |
+
],
|
| 25 |
+
"generator": "challenges.generate_challenge",
|
| 26 |
+
"ground_truth": "synthetic-generated",
|
| 27 |
+
"must_not_rules": [],
|
| 28 |
+
"repo_name": "dependency-local-path",
|
| 29 |
+
"repo_type": "model",
|
| 30 |
+
"safe_fixture": true,
|
| 31 |
+
"safety": "inert/canary-only",
|
| 32 |
+
"schema": 1,
|
| 33 |
+
"validation": {
|
| 34 |
+
"kind": "verify-package",
|
| 35 |
+
"target": "."
|
| 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 |
+
# dependency-local-path
|
| 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-DEPX-0005`
|
| 30 |
+
|
| 31 |
+
## Purpose
|
| 32 |
+
|
| 33 |
+
Dependency local path.
|
| 34 |
+
|
| 35 |
+
## Direct expected Layerfault rules
|
| 36 |
+
|
| 37 |
+
- `LF-DEP-LOCAL-PATH`
|
| 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: dependency-supply-chain
|
| 64 |
+
- Techniques: dependency
|
| 65 |
+
- Transformations: none
|
| 66 |
+
|
| 67 |
+
### Ground-truth oracle IDs
|
| 68 |
+
|
| 69 |
+
- `LF-ORACLE-DEPX-0005`
|
| 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,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"path": "CHALLENGE_ORACLE.json",
|
| 4 |
+
"sha256": "2bf3b0f0bb8d504a8f22fcd2d8ba996b3b47db6c7b540e7c338214616af146e9",
|
| 5 |
+
"size": 620
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"path": "FIXTURE_LAYOUT.json",
|
| 9 |
+
"sha256": "00a54bb69a7479b23179d65ee84a83db5066931f6a8628a0d03dd41a18b548db",
|
| 10 |
+
"size": 204
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"path": "LAYERFAULT_CORPUS.json",
|
| 14 |
+
"sha256": "e98682431cbcf005be2fa07be86bfdcde275684b9c9838744f3ea029b35eb803",
|
| 15 |
+
"size": 840
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"path": "README.md",
|
| 19 |
+
"sha256": "aadbd75bc4efeb4c88f54a97042ffa53160cf5cbf6af1d34b06a4e777882e3ef",
|
| 20 |
+
"size": 2153
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"path": "requirements.txt",
|
| 24 |
+
"sha256": "6bc9d54f9067c4a371611bd376841d26b55eeaf14b29cba92f5e68327f51f126",
|
| 25 |
+
"size": 39
|
| 26 |
+
}
|
| 27 |
+
]
|
requirements.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
fixture-lib==1.2.3
|
| 2 |
+
-e ./vendor/fixture
|