Repository navigation
fix(security): clear Trivy findings and cargo-audit advisory - #24
Merged
Merged
Conversation
Playwright >=1.5x installs chromium under chrome-linux64, so the find on chrome-linux matched nothing and left dangling google-chrome symlinks; the supervisor then failed to spawn chrome (#14). Also add libatomic1 (needed by Playwright's bundled node) and stop swallowing playwright install errors.
libsqlite3-sys 0.30.1 bundles SQLite < 3.54.0 (uninitialised page-cache read with mismatched WAL). rusqlite 0.41 pulls libsqlite3-sys 0.39.1 (SQLite 3.54.1).
archive.ubuntu.com and security.ubuntu.com return SERVFAIL from the default resolvers on GitHub runners and a WSL2 host, failing every apt-get in the image build. The kernel.org mirror carries the same signed archive.
example.com no longer has an <h1> (title/first <p> only, no static <a>), and the supervisor now runs six processes. Assert on <title> and the paragraph text, and require at least the four desktop processes.
…isory (#15) Update npm and sharp in the image (13 HIGH Node findings -> 0) and ignore RUSTSEC-2024-0437 in cargo audit with the same rationale as deny.toml.
todie
force-pushed
the
fix/security-scans
branch
from
November 11, 2026 15:49
e9e0171 to
a3a1acb
Compare
todie
marked this pull request as ready for review
November 11, 2026 16:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #15. Stacked on #21 (needs its apt mirror and rusqlite fixes for CI to build the image); the first three commits are #21's and drop out when it lands and this is rebased.
Cargo Audit
RUSTSEC-2024-0437(protobuf 2.28 viaprometheus0.13).deny.tomlalready ignores it with a rationale (reach-supervisor only exports metrics).cargo audit --ignore RUSTSEC-2024-0437applies the same decision to the audit job. Not verified locally (cargo-audit not installed here); proven by the Security workflow on this PR.Trivy
Scanned the image built from this branch with
aquasec/trivyrun as a container, same flags as the workflow (CRITICAL,HIGH, no--ignore-unfixed):brace-expansion,pacote,picomatch,ip-address,sigstore, andsharpinsidecomputer-use-mcp), all with fixes available.Change:
npm install -g npm@latest computer-use-mcp, then updatesharpinsidecomputer-use-mcp. Notenpm@latestandsharp@latestare unpinned, so a future advisory can reappear; pinning them is a follow-up.Important: the Security workflow is disabled
gh workflow list --allshowsSecurity disabled_inactivity. GitHub auto-disabled it, so it did not run on this PR and the Cargo Audit and Trivy jobs above are not proven by CI. Re-enable withgh workflow enable Security(repo admin) to run them. Trivy was verified locally against the built image (0 HIGH/CRITICAL);cargo auditwas not run (not installed here), butcargo deny check advisoriespasses on the same RustSec database.CI on head
a3a1acb: 11/11 checks green (CI + CodeQL).