Skip to content

Linux & shell: Scans & code quality

Linux & shell commands for scans & code quality (tags: #vulnerabilities #quality #sbom #iac #ci).

Index
1 items

Linux: Find bundled Chromium binaries on a host

Safe

Puppeteer and Playwright download their own Chromium. Old copies show up as Chromium CVEs that OS patching never fixes.

sudo find / -xdev \( -name chrome -o -name chromium -o -name headless_shell \) -type f 2>/dev/null
What each part does
  1. find / -xdevsearch the root filesystem only
  2. -name chrome -o -name chromium -o -name headless_shellChromium binary names
  3. -type ffiles only

My note Fix it in the app: npm ls puppeteer, then npm install puppeteer@latest and redeploy. Delete stale ~/.cache/puppeteer folders.

  • #linux
  • #patching
  • #vulnerabilities

Also known as: chromium cve · puppeteer chromium · headless chrome · old chrome

My DevOps Playbook by Angelo John Calleja

New runbook

GitHub not connected

Saving is handled by the site: the GitHub token is stored in Cloudflare, not in your browser. Enter the editor password (the EDITOR_PASSWORD secret) to unlock saving in this browser.

Saving commits to gelogrammer/My_DevOps_Playbook. Create a fine-grained token with access to only this repo andContents: Read and write, then paste it here. It is stored only in this browser.

src/content/docs/…