Skip to content

Porchlight 0.9.0: discussions, project folders and more Cloudflare fixes

Choose a tag to compare

@AES256Afro AES256Afro released this 20 Nov 16:36
· 38 commits to main since this release

Porchlight 0.9.0. Changes since 0.8.0: model answers kept as discussions with follow-up questions, project folders, search and download of local models, batched Cloudflare changes, approval of a whole investigation run, and a monitor schedule with retries.

Installation

Platform Form Installation
Linux, macOS Command line and web interface git clone --branch v0.9.0 https://github.com/AES256Afro/Porchlight.git, then npm run setup and node cli/bin/porchlight.js ui. Requires Node.js 22.18 or later, git, gitleaks and osv-scanner
Any host that runs Linux containers (amd64, arm64) Container image ghcr.io/aes256afro/porchlight:0.9.0. Also published as ghcr.io/aes256afro/securityx:0.9.0, the path BoxPilot servers pin
macOS 13.5 or later on Apple silicon Desktop app Porchlight-0.9.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.8.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".

The app carries Node.js 26.7.0, gitleaks 8.30.1 and osv-scanner 2.7.1, with their licences in Porchlight.app/Contents/Resources/licenses. Newer scanners installed with Homebrew take precedence.

SHA-256: f20cde3a51698aa5408dec1de2e35236a97dd8187c00c6de669b8e8ee10dd79e

Upgrade steps

  • A monitor you deploy yourself needs the new database migration before the new Worker: npx cf d1 migrations apply <DATABASE_ID>, then npx cf deploy. Until the migration is applied, the API answers "The database is missing a migration".
  • Data in ~/.porchlight carries over unchanged.

Changes

Discussions

  • Every answer from Explain, Summarise, Ask, Send to a model and the Cloudflare analysis is stored as a discussion beside the report (the last 200, up to 20 answers each), and takes follow-up questions.
  • A follow-up goes only to the model the discussion began with, and only while the scan or Cloudflare audit it is about is still the latest.
  • A Discussions page lists them, with copy, Markdown export and delete.
  • Answers open in a panel beside the page that stays open across pages. Settings → Appearance can place them below the item asked about, or in a drawer at the bottom.

Project folders

  • Settings → Projects. Porchlight writes exports, discussion transcripts and a daily log into a Porchlight folder inside the chosen folder and nowhere else. Folders are created 0700 and files 0600; no file is written over.
  • With a project in use, Export saves into it; Download remains available.
  • The log records scans, exports, models asked, audits and approved changes. It never holds a question, a model's answer, a token or a secret value.

Local models

  • Settings → Model → Download a model searches Hugging Face by words, format (GGUF or MLX), size, or what fits this computer's memory, and has Ollama download the chosen model.
  • An MLX result links to its page for LM Studio or Unsloth Studio, because Ollama cannot run MLX.

Cloudflare audit

  • Fix these shows every change the latest audit offers, as its exact request, for one zone or the whole account. The operator unticks any, approves once, and Porchlight sends them in order, each once.
  • Four new changes that can affect how a site or its mail behaves, each shown with its warning and unticked by default: HSTS for six months, Full to Full (strict), DNSSEC, and a DMARC record that only reports, where none exists.
  • Remaining problems are listed by fix, worst first, with a button that copies them as a brief for a model. The brief holds no token, member or record value.
  • A change Cloudflare refuses for lack of a permission names the permission to add and where to add it.
  • Verified against one real account. That run found two defects, both fixed: backup certificates no longer fail every zone, and Bot Fight Mode is no longer offered, because Cloudflare refused the request on Free zones. docs/CLOUDFLARE-AUDIT.md records what has and has not been verified.

Investigate

  • A whole run can be approved at once, on the start form or at any request. Asking before each request remains the default. Scope, the ownership check before every action, the argument checks, the gap between actions and the turn budget still apply.
  • With a hosted model, the start button names the model, and pressing it is the consent to send.

Monitor

  • Connected under Settings → Monitor without a restart. The Domains page lists the setup commands.
  • Each domain is scanned on a fixed daily schedule. A failed scan is retried after 1 hour, then every 2 hours. One alert is sent after 3 consecutive failures, and one when scans recover.
  • One scan of a domain runs at a time, so a change is never alerted twice. "Ownership check failed" clears when the domain is verified again.

Activity

  • A new page lists what Porchlight is doing as it happens: changes sent and answered, audits, scans and investigation steps. It is held in memory only.

Verification

CI for tag v0.9.0, on Ubuntu: npm run check and npm test for both packages, a container build checked by scripts/container-smoke.sh, then publication of the image. All passed.

Known limitations

  • Windows is not supported yet.
  • On Linux, the computer check covers credentials in files and installed packages only.
  • The macOS app runs on Apple silicon only and is not notarized.
  • The Cloudflare audit has been verified against one real account. Check its results against the Cloudflare dashboard.

Full list of changes: v0.8.0...v0.9.0