npm lockfile generation, `cargo generate-lockfile` and `cargo metadata`
ran over tenant manifests with no gate, and each connects wherever the
scanned repository says: a committed .npmrc or .cargo/config.toml, or a
URL or git dependency in the manifest itself — outside net_guard. Forcing
our own registry cannot help when the manifest names the host, so they
are now gated like pip-compile, under the same opt-in, with a skip reason
that says why (egress, not code execution).
`cargo audit` read .cargo/audit.toml from the repository too, which could
point it at another advisory database or `ignore` the repository's own
advisories — silencing findings in our report. It keeps running, from a
fresh empty directory with `--file <repo>/Cargo.lock`.
Lockfile generation is now a pure plan plus an executor, and the npm and
pip lockfile lists are shared: pip-compile no longer re-resolves a uv
project and writes a second, fresh requirements.txt beside uv.lock.
The js-no-lockfile nightly target now records `sbom_dependencies` as
skipped instead of resolving; the scanning guide says to commit a lockfile.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p