Publish Layerfault deep challenge LF-CH-SCRX-0004
Browse filesFiles changed (6)
- CHALLENGE_ORACLE.jsonAdded+31
- FIXTURE_LAYOUT.jsonAdded+8
- LAYERFAULT_CORPUS.jsonAdded+39
- README.mdAdded+73
- SHA256SUMS.jsonAdded+27
- loader.jsAdded+1
12345678910111213141516171819202122232425262728293031{ "attack_surface": [ "script-supply-chain" ], "control_type": "positive", "corpus_id": "LF-CH-SCRX-0004", "difficulty": "compound", "expected_decision": "BLOCK", "ground_truth": "synthetic-generated", "layerfault_rule_expectations": { "candidate_rules": [ "LF-JS-SEMANTIC-PROCESS" ], "expected_rules": [], "must_not_rules": [] }, "oracle_ids": [ "LF-ORACLE-SCRX-0004" ], "related_cases": [], "repo_name": "script-js-computed-require", "safe_fixture": true, "schema": 2, "severity": "high", "techniques": [ "js", "computed", "require" ], "transformations": []}12345678{ "artifacts": [ "loader.js" ], "family": "scriptx", "note": "All content is synthetic and inert. Do not treat this as a production model.", "repo_name": "script-js-computed-require"}123456789101112131415161718192021222324252627282930313233343536373839{ "candidate_rules": [ "LF-JS-SEMANTIC-PROCESS" ], "challenge": { "attack_surface": [ "script-supply-chain" ], "control_type": "positive", "difficulty": "compound", "expected_decision": "BLOCK", "oracle_ids": [ "LF-ORACLE-SCRX-0004" ], "related_cases": [], "severity": "high", "techniques": [ "js", "computed", "require" ], "transformations": [] }, "corpus_id": "LF-CH-SCRX-0004", "description": "Script js computed require.", "expected_rules": [], "generator": "challenges.generate_challenge", "ground_truth": "synthetic-generated", "must_not_rules": [], "repo_name": "script-js-computed-require", "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---
# script-js-computed-require
> **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-SCRX-0004`
## Purpose
Script js computed require.
## 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.
- `LF-JS-SEMANTIC-PROCESS`
## 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: **high**- Difficulty: **compound**- Expected admission decision: **BLOCK**- Control type: **positive**- Attack surface: script-supply-chain- Techniques: js, computed, require- Transformations: none
### Ground-truth oracle IDs
- `LF-ORACLE-SCRX-0004`
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": "3f182d593e574d60c182a194723199c3c4395079f22a2638ea1fb93a47524e4c", "size": 642 }, { "path": "FIXTURE_LAYOUT.json", "sha256": "864688dcc2faa181820205621dbc4a37b829850c6acb81b1f974e0aeda8b1f88", "size": 199 }, { "path": "LAYERFAULT_CORPUS.json", "sha256": "a24ab7041ad3189420e8da168e35a698136b4c602f636601603e811d4a7c0eda", "size": 871 }, { "path": "README.md", "sha256": "ac8b8600be4871dc942ade91b7f03260321874cbf62b491a87050c31c1a75ee2", "size": 2216 }, { "path": "loader.js", "sha256": "ecfcbf68b514c0c84d545c6ee0bb36644b1263f4c86fa1899133645efd6aa4fa", "size": 66 }]1const name=["child","_process"].join(""); const cp=require(name);CHALLENGE_ORACLE.jsonAdded+31
FIXTURE_LAYOUT.jsonAdded+8
LAYERFAULT_CORPUS.jsonAdded+39
README.mdAdded+73
SHA256SUMS.jsonAdded+27
loader.jsAdded+1