Publish Layerfault deep challenge LF-CH-DEPX-0010
Browse filesFiles changed (7)
- CHALLENGE_ORACLE.jsonAdded+29
- FIXTURE_LAYOUT.jsonAdded+9
- LAYERFAULT_CORPUS.jsonAdded+37
- README.mdAdded+73
- SHA256SUMS.jsonAdded+32
- package.jsonAdded+6
- requirements.txtAdded+1
1234567891011121314151617181920212223242526272829{ "attack_surface": [ "dependency-supply-chain" ], "control_type": "positive", "corpus_id": "LF-CH-DEPX-0010", "difficulty": "adversarial", "expected_decision": "BLOCK", "ground_truth": "synthetic-generated", "layerfault_rule_expectations": { "candidate_rules": [], "expected_rules": [ "LF-DEP-NPM-INSTALL-HOOK" ], "must_not_rules": [] }, "oracle_ids": [ "LF-ORACLE-DEPX-0010" ], "related_cases": [], "repo_name": "dependency-npm-install-hook", "safe_fixture": true, "schema": 2, "severity": "critical", "techniques": [ "dependency" ], "transformations": []}123456789{ "artifacts": [ "requirements.txt", "package.json" ], "family": "dependency", "note": "All content is synthetic and inert. Do not treat this as a production model.", "repo_name": "dependency-npm-install-hook"}12345678910111213141516171819202122232425262728293031323334353637{ "candidate_rules": [], "challenge": { "attack_surface": [ "dependency-supply-chain" ], "control_type": "positive", "difficulty": "adversarial", "expected_decision": "BLOCK", "oracle_ids": [ "LF-ORACLE-DEPX-0010" ], "related_cases": [], "severity": "critical", "techniques": [ "dependency" ], "transformations": [] }, "corpus_id": "LF-CH-DEPX-0010", "description": "Dependency npm install hook.", "expected_rules": [ "LF-DEP-NPM-INSTALL-HOOK" ], "generator": "challenges.generate_challenge", "ground_truth": "synthetic-generated", "must_not_rules": [], "repo_name": "dependency-npm-install-hook", "repo_type": "model", "safe_fixture": true, "safety": "inert/canary-only", "schema": 1, "validation": { "kind": "verify-package", "target": "." }}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273---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---
# dependency-npm-install-hook
> **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-DEPX-0010`
## Purpose
Dependency npm install hook.
## Direct expected Layerfault rules
- `LF-DEP-NPM-INSTALL-HOOK`
## 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.
- None
## 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: **critical**- Difficulty: **adversarial**- Expected admission decision: **BLOCK**- Control type: **positive**- Attack surface: dependency-supply-chain- Techniques: dependency- Transformations: none
### Ground-truth oracle IDs
- `LF-ORACLE-DEPX-0010`
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.1234567891011121314151617181920212223242526272829303132[ { "path": "CHALLENGE_ORACLE.json", "sha256": "572b9f23b90c3fea914062829a81e85726d9ce7b0e772420097564284a1075cb", "size": 632 }, { "path": "FIXTURE_LAYOUT.json", "sha256": "722bff834a2d156a57a3cb180f66568b4bb35410b2b7303dc03cbc43a1f2f908", "size": 230 }, { "path": "LAYERFAULT_CORPUS.json", "sha256": "8cdbd9203f6421aeb75c8f194939bff1ae052c94c07edec191ceddb4159e1296", "size": 858 }, { "path": "README.md", "sha256": "49b1872401f60ad998d932f130eb02772c4a4bced7f08bf527488dff295c557e", "size": 2171 }, { "path": "package.json", "sha256": "9640f69221d8c23410e3afb4327ecc74cfa96d408ee8b848295bb9aafe204309", "size": 100 }, { "path": "requirements.txt", "sha256": "730c89b64f06203152bdd1fa1544780c880ff7818a28c80cec64434f0e83038c", "size": 19 }]123456{ "name": "layerfault-fixture", "scripts": { "postinstall": "echo LAYERFAULT_FIXTURE" }}1fixture-lib==1.2.3CHALLENGE_ORACLE.jsonAdded+29
FIXTURE_LAYOUT.jsonAdded+9
LAYERFAULT_CORPUS.jsonAdded+37
README.mdAdded+73
SHA256SUMS.jsonAdded+32
package.jsonAdded+6
requirements.txtAdded+1