You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeScript/JavaScript rce_funnel: child_process has no left boundary, my_child_process.spawn("python") counts #9457
Found by the SOP-002 gap-cell decoy suite (protocol SOP-002-v1, epic #8863).
Construct: the rce_funnel rule in typescript.py and javascript.py, child_process\.(?:spawn|exec|execSync)\s*\(\s*['"](?:python|bash|sh|bun|node)\b, has no left word boundary before child_process, so a different object whose name ends in child_process counts.
Snippets:my_child_process.spawn("python"), xchild_process.exec("bash") Expected: 0 rce_funnel hits. Actual: 51 each (1 rule hit plus the 50-weight spatial bonus in detector.py).
The positive control child_process.spawn("python", ["train.py"]); fires as it should.
Rules: gitgalaxy/standards/language_standards/languages/typescript.py and javascript.py, rce_funnel.
Locked in tests/decoys/test_decoy_typescript.py and tests/decoys/test_decoy_javascript.py as xfail(strict=True).
Activity
tests/decoys: SOP-002 gap-cell decoy suites for python, typescript, j…