feat(security): stop executing code from scanned repositories (#257) (#296)
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 3s
CI / Deploy Agent (push) Successful in 4m54s
CI / Deploy Docs (push) Successful in 1m7s
CI / Deploy Dashboard (push) Successful in 3m57s
CI / Deploy MCP (push) Successful in 2m56s

This commit was merged in pull request #296.
This commit is contained in:
sharang committed 2026-09-21 10:27:59 +00:00
1 parent cc3a9c7130
commit 06d2f458e6
17 files changed
+458 -89

No files matched your search

+9
View File
@@ -114,6 +114,15 @@ BREAKPILOT_SNAPSHOT_DIR=/data/compliance-scanner/oscal
# BREAKPILOT_SEMANTIC_MAPPING=false
# BREAKPILOT_GROUNDED_CHECKS=true
# Execute code from the repositories being scanned? A few stages do: cargo
# clippy compiles the repo (build.rs, proc macros), ESLint runs from the repo's
# own node_modules, pip-compile builds sdists (setup.py), and the firmware
# reproducible build shells out to Nix with sandbox=false. They are OFF unless
# this is set, and a staging/production APP_ENV ignores it — the agent holds
# every tenant's data. Firmware SBOMs come from an imported Firmwerk bundle
# instead.
# PW_ALLOW_UNTRUSTED_CODE_EXEC=1
# Deployment feature flags (comma list). `source_only` = static analysis only:
# the scan pipeline skips DAST, pentest, the ICS probe and the ephemeral PLC
# runtime (recorded as skipped stages, not failures), and the dashboard hides