Publish Layerfault deep challenge LF-CH-NEG-0002
Browse filesFiles changed (6)
- CHALLENGE_ORACLE.jsonAdded+30
- FIXTURE_LAYOUT.jsonAdded+8
- LAYERFAULT_CORPUS.jsonAdded+38
- README.mdAdded+74
- SHA256SUMS.jsonAdded+27
- control.pyAdded+1
123456789101112131415161718192021222324252627282930{ "attack_surface": [ "false-positive-resistance" ], "control_type": "negative", "corpus_id": "LF-CH-NEG-0002", "difficulty": "intermediate", "expected_decision": "PASS", "ground_truth": "synthetic-generated", "layerfault_rule_expectations": { "candidate_rules": [], "expected_rules": [], "must_not_rules": [ "LF-CODE-EVAL", "LF-PY-CALL-DYNAMIC-CODE" ] }, "oracle_ids": [ "LF-ORACLE-FALSE-POSITIVE-CONTROL" ], "related_cases": [], "repo_name": "near-miss-python-eval-string", "safe_fixture": true, "schema": 2, "severity": "informational", "techniques": [ "quoted-code" ], "transformations": []}12345678{ "artifacts": [ "control.py" ], "family": "negative", "note": "All content is synthetic and inert. Do not treat this as a production model.", "repo_name": "near-miss-python-eval-string"}1234567891011121314151617181920212223242526272829303132333435363738{ "candidate_rules": [], "challenge": { "attack_surface": [ "false-positive-resistance" ], "control_type": "negative", "difficulty": "intermediate", "expected_decision": "PASS", "oracle_ids": [ "LF-ORACLE-FALSE-POSITIVE-CONTROL" ], "related_cases": [], "severity": "informational", "techniques": [ "quoted-code" ], "transformations": [] }, "corpus_id": "LF-CH-NEG-0002", "description": "Python string documents eval syntax without executing it.", "expected_rules": [], "generator": "challenges.generate_challenge", "ground_truth": "synthetic-generated", "must_not_rules": [ "LF-CODE-EVAL", "LF-PY-CALL-DYNAMIC-CODE" ], "repo_name": "near-miss-python-eval-string", "repo_type": "model", "safe_fixture": true, "safety": "inert/canary-only", "schema": 1, "validation": { "kind": "verify-package", "target": "." }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374---license: apache-2.0tags:- layerfault- security-research- model-security- synthetic- adversarial-testingextra_gated_prompt: >- This repository is a synthetic security-test artifact from the Layerfault corpus. It intentionally contains adversarial characteristics (e.g. suspicious pickle opcodes, executable-format smuggling, prompt-injection strings) designed to exercise security scanner detection rules. It is **not** a usable ML model and must never be loaded or executed outside an isolated scanner-testing environment. By accepting, you confirm you understand this repository is a test fixture, not production model weights.extra_gated_button_content: I understand this is a security test fixture and accept the riskgated: auto---
# near-miss-python-eval-string
> **SECURITY TEST ARTIFACT: DO NOT USE AS A PRODUCTION MODEL**
This repository is part of the Layerfault synthetic security corpus.It is deliberately constructed to contain security-relevant characteristics for scanner testing.
**Corpus ID:** `LF-CH-NEG-0002`
## Purpose
Python string documents eval syntax without executing it.
## Direct expected Layerfault rules
- None; this repository is a control/comparison input.
## Candidate rules
These are deliberately plausible targets that remain marked as candidates until the exactLayerfault build used for certification confirms them.
- None
## Negative-control rules
These should remain silent for this corpus item.
- `LF-CODE-EVAL`- `LF-PY-CALL-DYNAMIC-CODE`
## Safety
The corpus uses fake secrets, loopback/`.invalid` network destinations, harmless marker output,and synthetic model behavior only. It is intended for static scanning and isolated security testing.
## Challenge classification
- Severity: **informational**- Difficulty: **intermediate**- Expected admission decision: **PASS**- Control type: **negative**- Attack surface: false-positive-resistance- Techniques: quoted-code- Transformations: none
### Ground-truth oracle IDs
- `LF-ORACLE-FALSE-POSITIVE-CONTROL`
These oracle IDs describe synthetic ground truth. They do not claim that amatching Layerfault detector already exists. A challenge may intentionally exposea scanner blind spot and remain unmapped until the detector is implemented.123456789101112131415161718192021222324252627[ { "path": "CHALLENGE_ORACLE.json", "sha256": "79a0f3c69e60d9612967a9819806b4d25f63a0f776f2dc8aa765945829d314fe", "size": 675 }, { "path": "FIXTURE_LAYOUT.json", "sha256": "e95571523dd9abe99898ba1a80d14cbfc74e0ee671ccce1117824ebdf88b20fd", "size": 203 }, { "path": "LAYERFAULT_CORPUS.json", "sha256": "f10019beddc936a5dd7a6be1d8b2fdce3d36676c499f88138f598f7a1347612b", "size": 928 }, { "path": "README.md", "sha256": "453098e1ff9e34bb6ec81025cdb467950f017c257701714b64feb5e3bedb0d6d", "size": 2286 }, { "path": "control.py", "sha256": "373575186030dc0d4b329e8b7036b8c84dc28192c2a6f3b996ba0ec334bf7b8b", "size": 76 }]1DOCUMENTATION = "eval(user_input) is unsafe; this string is never executed"CHALLENGE_ORACLE.jsonAdded+30
FIXTURE_LAYOUT.jsonAdded+8
LAYERFAULT_CORPUS.jsonAdded+38
README.mdAdded+74
SHA256SUMS.jsonAdded+27
control.pyAdded+1