Skip to content

Porchlight 0.11.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 15:42
· 8 commits to main since this release
v0.11.0

Porchlight 0.11.0. Changes since 0.10.0: scan presets (Quick, Standard, Deep) and private data in repositories; history read from a clean copy that no repository setting can steer; a stated "Not covered" list wherever a scan, an audit or the monitor did not see something; model requests checked against the model the page showed; new monitor and Cloudflare checks; alerts to Slack, Discord and ntfy; a CycloneDX bill of materials; verifiable releases; and a faster, steadier web interface.

Installation

Platform Form Installation
Linux, macOS Command line and web interface git clone --branch v0.11.0 https://github.com/AES256Afro/Porchlight.git, then npm install -g ./cli and porchlight ui. Requires Node.js 22.18 or later, git, gitleaks and osv-scanner. porchlight doctor lists anything missing
Any host that runs Linux containers (amd64, arm64) Container image ghcr.io/aes256afro/porchlight:0.11.0. Also published as ghcr.io/aes256afro/securityx:0.11.0, the path BoxPilot servers pin
macOS 13.5 or later on Apple silicon Desktop app Porchlight-0.11.0-arm64.dmg, below
Windows Not supported in this release. Planned in docs/PLAN-WINDOWS.md

Desktop app for macOS

  1. Open the DMG and drag Porchlight into Applications. It replaces 0.10.0; scans and settings are kept.
  2. The app is not notarized by Apple. On first open, macOS reports "Porchlight Not Opened". Choose Done, then System Settings → Privacy & Security → Open Anyway beside "Porchlight was blocked".

SHA-256: 14a713c8005b6fce1e473b1ec7598760dd2b86ba59b400ae4cf91695017159c7

Verify a download

This is the first release built by CI with attestations. SHA256SUMS lists the DMG's checksum, and gh attestation verify checks the DMG and the image against this repository's workflow; the README's "Verify a download" gives the commands.

Upgrade steps

  • A monitor you deploy yourself needs two migrations, then a redeploy. Apply them first: without 0004_errors_and_alert_delivery.sql, saving a scan fails. In monitor/: npx cf d1 migrations apply <DATABASE_ID>, then npx cf deploy --secrets-file .secrets.production. 0003_domain_ids_never_reused.sql rebuilds the domains table.
  • Settings and keys move to the data folder (~/.porchlight, or --data; /data in the container). Files an earlier version kept beside the report are moved there at start-up.
  • Reports are format 2. 0.10.0 refuses to read a report written by 0.11.0 rather than misread it as complete.
  • Bot Fight Mode is checked but no longer changed by the Cloudflare audit; a token no longer needs "Bot Management Write".
  • porchlight domains remove needs --yes.
  • Due dates are on by default: critical 7 days, high 30, medium 90. Settings → Due dates changes or turns them off. They never change a severity, a count or an export.
  • The server starts Node with --max-semi-space-size=1 (Dockerfile, Mac app, npm run porchlight).

Changes

Scans

  • Presets. Quick reads the files as they are now; Standard reads every commit on every branch; Deep adds private data and starts the model's analysis. Anything less than Standard is listed under "Not covered".
  • Private data committed to repositories: contact details, ID and account numbers, locations, data dumps, personal documents and photos with a GPS position. Only the kind, file, line and a count are kept, never a value.
  • History is read from a clean copy Porchlight makes: none of a repository's config, attributes, grafts, replace refs or commit-graph applies, and every program Porchlight runs gets a minimal environment with none of its keys. gitleaks runs with its built-in rules and no path skipped by name.
  • Commit messages, annotated tag messages and files a tag points at are read for secrets.
  • A repository inside another, and a submodule, is scanned in its own right. Folders the search passed over (unreadable, a link, hidden, vendor), a submodule not checked out and a shallow clone are named under "Not covered". Repositories fetched from GitHub are scanned exactly as listed.
  • osv-scanner is not run on a manifest that would read a file outside the repository (a requirements -r, a pom's parent), which would send that file's lines to OSV.dev as package names.
  • Fix suggestions pick the lowest version outside every advisory's affected ranges, with the install-at-version command for a major or 0.x upgrade.
  • An unchanged repository's history scan is reused, keyed on the scanner versions, rules, choices and every ref.

Models

  • Every request names the model the page showed; one switched since, in another tab or on another device, is refused. A model server outside this computer's private networks counts as hosted.
  • Budgets are counted in estimated tokens and, for a tested local model, sized from its real context length. An answer cut off at the length limit says so.
  • The deeper analysis looks for imports in Rust, Java, C# and renamed Python packages; an "unlikely" it cannot support is shown as "unclear". It stops after three failures in a row.
  • A model per task: analysis, murals and investigations can each use their own.
  • Investigations never send the ownership token or a cookie's value to the model.

Monitor

  • New findings: a certificate from an authority the CAA record does not allow, a new certificate authority, redirects to plain HTTP or off the domain, headers that name a software version, and certificate or TLS failures. None adds a request.
  • A failed lookup never changes what was seen before. A finding that worsens is alerted. GET /domains says where alerts go and the last delivery or scheduled-run error.
  • Alerts to Slack, Discord or ntfy, fitted to each service's limit after escaping. A weekly digest, opt-in.
  • Waiting hosts are probed in idle schedule runs, so every one is checked within two days. A subdomain inventory from names already known: porchlight domains hosts.

Cloudflare audit

  • Lists past 40 pages, rate limits, unread certificate lists and unread zones are "Could not check", never passed.
  • A change is read again just before it is sent and sent only while it still repairs what the audit found; a new audit ends waiting requests. DKIM key strength is checked.

This computer

  • SSH agent forwarding, programs that start from writable folders, and browser extensions with access to every site.

Command line

  • porchlight hook checks staged files before a commit. repos scan --format sarif and --baseline.
  • porchlight status --json, schedule print (a launchd or systemd unit to install yourself), repos sbom (CycloneDX 1.5, offline), repos history, findings note, settings export|import (keys only in an encrypted file), doctor --self and forget.

Web interface

  • At a glance on the Overview, with Check everything; "New since the last scan" as a filter; "Check it now" on a finding; statuses on several findings at once; first-seen and due dates; audit and host-check history; a log of every request Porchlight makes.
  • Pages draw only while they are on screen and keep what you typed; one poller backs off and pauses in a hidden tab; long lists are paged; the report response is gzipped and cached.
  • The brand's colours, a Poster moderne look, a findings trend and a severity bar. Exports print in light colours with a foot line giving the version, the scan and the time.

Mac app

  • A menu-bar status, a notification when a scan finishes and Open at Login, all off until you switch them on. If the server does not start, the window shows its last lines.

Releases

  • CI builds the DMG on a tag, attests it and the image, and writes SHA256SUMS. SECURITY.md says how to report a vulnerability.

Verification

  • CI for tag v0.11.0, on Ubuntu (amd64 and arm64) and macOS: npm run check, npm test for both packages with the real scanners, scripts/container-smoke.sh on each published platform, the DMG build with its search for the build machine's paths and names, and the attestations, all passed (run 44920126369).
  • Image digest: sha256:0676fa34e7d25ab5ff539fb5ac0da915f018c3f81329c2bdc3d02e0d58852c9a, the same under both names, for linux/amd64 and linux/arm64, attested.
  • The DMG's checksum matches SHA256SUMS, gh attestation verify confirms it was built by this repository's workflow from refs/tags/v0.11.0, and a search of every file in it found no path, name, host name or monitor address of the computer that released it.