carlok — zsh — 88×30
Carlo Perassi

$ grep -l security _posts/*.md

#security

44 posts tagged security. Back to the full blog.

home.sh projects.sh blog.sh writing.sh math.sh cv.sh

alien-hunt ran --arms for the first time: joserfc's DoS advisory confirmed, a second claim made and not confirmed

The README of alien-hunt said --arms had never been run. It has now, once: joserfc at 26a10275, the parent of its first DoS fix, under alien-hunt 0.2.0 with Claude Sonnet 5.5 through Anthropic’s OpenAI-compatible endpoint, for 1.43 USD and nothing cut short (PR #13).

alien-hunt 0.2.0: replay a run's claims against a fix for free, and see the pool before paying for it

alien-hunt 0.2.0 turns the search into something auditable after the fact. alien-hunt replay RUN re-confirms a run’s saved claims with the current check — no model call, no API key — and with --against <sha> (or --against-local) it confirms the same claims on a second commit, such as an advisory’s fix, marking each one fixed there or fires there too; the second is exactly the case a check alone cannot tell from a defect, a test that comes out true for correct behaviour (v0.2.0, #12). alien-hunt pool is the other half of not spending money blind: it prints the atoms a run keeps and the pairs it would draw for a GitHub commit or a local checkout, and --arms N hunts N picks per selection rule from one pool so the score can be asked whether it chooses anything at all (88e9a89, e141f14).

deck-lovers: two critical advisories in the Python stack, and deepmerge pinned to a commit npm never released

deck-lovers closed every dependency advisory osv-scanner could see in one pass (#30, f79e538), after the Dependabot alerts API answered 403 for the integration token. Two were Critical at an OSV CVSS of 9.1 — h11 moved to >=0.16.0 and certifi to >=2026.10.18 on the server requirements — with idna to >=3.15, and the npm dev side took glob >=14.0.2, minimatch >=11.0.1 and deepmerge, whose advisory has no patched npm release at all, so the override points at the fix commit c5ad573 from TehShrike/deepmerge#273 rather than at a version.

llm-source-security-review: an evidence bar for findings, a schema gate, and SARIF out

llm-source-security-review, the playbook and Codex skill for defensive source review, gained the parts that turn a finding into something a tool can check (#2, 5f8446f). references/standards-grounding.md maps findings to CWE, OWASP Top 10:2021 and ASVS chapters and sets an evidence bar — source, propagation, sink — before a claim counts, while references/phase-prompts.md adds prompt-injection resistance, large-repo chunking, a supply-chain and CI pass, and a PR/diff review mode, and the schemas take optional cwe_ids, owasp_category, asvs_refs, severity and a numeric confidence_score.

cdclkit and dratify: a soundness campaign whose oracle shares no code with either

The soundness campaign that produced dratify 0.1.11 and cdclkit 0.2.0 landed on 9 November as its own branch in both repositories, and the branch is the part the fixes do not show: campaign/ holds an oracle that shares no code with either implementation, checked by a second agent against the definitions in Wetzler–Heule–Hunt 2014 and Rebola-Pardo–Biere 2018, one seeded generator per corner, the findings and the results (dratify#15, a164034; cdclkit#15, 6b87a99).

slop-audit: nltk and setuptools pinned against two advisories, and a CI workflow that does not run the installer

The slop environment in slop-audit now pins nltk>=3.10.4 and setuptools>=84.1.0 inside install_slop_env, before the freeze is written, to clear PYSEC-2026-3740 and GHSA-xmj3-9gf7-h52w — with logs/pip_freeze_slop.txt regenerated from a full install run rather than edited by hand (8b50ad0, #4). The same commit adds a CI workflow that runs basic pytest and a syntax check of the install script on push and pull request under read-only contents, and deliberately does not execute install_all.sh or provision the external toolchains it would pull down. That is the right boundary for a repository whose setup script is the thing under test.

alien-hunt: an offline tune took the share of draws that reach the fixed function from 22 to 29 percent

alien-hunt tuned its candidate pool offline: no model was called and no embedding computed, and nothing from a target repository ran on the host — scripts/pool_ceiling.py only parses target code with ast, rebuilds atoms and pairs with alien-hunt’s own extract_atoms, colocated_pairs and pool_pairs, and records whether a pair touches a function the fix changed. The cases come from GitHub’s advisory database: reviewed, not withdrawn, PyPI, with a fix commit in the package’s own repository, split at advisories published before 2025-01-01 into 159 tuning and 94 held-out snapshots (reports/offline-tune/SUMMARY.md).

caciarabot: CodeQL's secret-logging alert reopens on a probability, and the fix enumerates the whole config

CodeQL alert 1 in caciarabot came back — the py/clear-text-logging-sensitive-data finding reopened after the startup log line added on 4 November, this time tracing bot_config.llm_secret_probability into settings_loaded. The value is a float; the rule matched the word in its name. Instead of naming fields one at a time, logging_utils.py now walks the dataclass with dataclasses.asdict, so the whole effective configuration is logged at startup and a field added later is included without anyone remembering to add it (28b1391), with a new tests/test_logging_utils.py covering the rendering. It is the same false-positive shape as the September segreto count fix — a rule named for credentials firing on the word rather than on one — so the enumeration retires the next instance before it is filed.

pickmydegree: npm overrides clear four moderate audit findings in the Surge build toolchain

pickmydegree raised its npm overrides for the Surge dev tooling that publishes the built site — glob to ^14.0.4 and minimatch to ^11.0.5, with rimraf deliberately left at ^5.0.5 — which clears four moderate npm audit findings against the previous lockfile while leaving every application runtime dependency where it was (937f589, #15). The same week’s two other dependency pull requests stay inside the i18n stack: vue-i18n with @intlify/core-base (#12) and vue-i18n with @intlify/shared (#13). The overrides rather than a plain bump matter because the advisories sit under glob and minimatch reached through the deploy tool, not under anything the app itself imports.

roundstorm takes zod 4.6.7 for an advisory; dratify's README catches up with its test suite

roundstorm moved its transitive zod to 4.6.7 for GHSA-mrhx-c7xc-m3w5, a lockfile-only change — package-lock.json, three lines added and eighteen removed, refresh of the optional libc metadata included (f23e9bb).

pacenotch: the daily update check is on by default, and the notice links the build that matches your machine

pacenotch now checks for a newer release once a day on new installs, through DefaultSettings rather than a change to anyone’s saved configuration (ed93612, #3). The notice is the part worth reading: internal/update parses the release’s assets, matches the GUI build for the current GOOS/GOARCH by prefix and falls back to the release page when nothing matches, so the tray and the About window can offer a download action and the release notes instead of a link to a page where the reader picks their own binary.

contributed to The Alien Space of Science and joserfc: where the idea went, and a one-second JWT bug

Two things went upstream from alien-hunt. On alejandrohdez00/alien-space-of-science — the paper and code the sampler is adapted from — issue #2 says where the idea was taken: what replaces the paper’s trained coherence and availability models, the two results that survived a reproducer, and the two that did not. It asks for nothing.

alien-hunt is public: sampling the defects a plain review of a repository does not report

alien-hunt went public on 30 October: a Python research prototype, MIT, that looks for defects a plain review of a repository does not already produce and then checks whether a reproducer can actually observe them. It is the cheap version of the sampler in The Alien Space of Science (code, MIT), with a model’s 1–5 coherence rating standing in for the paper’s trained models: score = (1 − β)·z(coherence) + β·z(unavailability), where unavailability is one minus the maximum cosine similarity to the claims three plain reviews and any local scanners had already made.

matrix-podman-stack: an integration suite that runs the real stack, and pip-audit in CI

matrix-podman-stack grew the layer the unit tests could not reach. docs/testing-plan.md inventories the gaps, and the new suite closes them by running the actual containers: a Postgres 16→18 migration checked end to end through /health and through Matrix users, a room and messages that survive it, a Garage in-place upgrade driven with boto3, the NATS/Valkey bus hooks, and the monitoring profile including the Grafana datasource proxy query (#27, 1148def).

storygen, eclipse-3d-sim, collective-starship-game, agility-trainer and solids-hunter: one vitest advisory, five repositories

The same test-runner advisory reached five of the game repositories, and each took vitest 4.1.12 for it: GHSA-xp26-3454-mjgp, a Windows backslash traversal that bypasses @vitest/mocker’s redirect allow-list. storygen bumped vitest (#7, 6a9e3a5) and then vite to 6.4.5 (#9, a2ad1a5); eclipse-3d-sim did both (#3, #4); collective-starship-game took vitest 4.1.12 together with the transitive packages behind it (#7, e7c157c).

forgepulse: two certificate-trust advisories closed, and the two that cannot be

forgepulse took the transitive TLS bump for RUSTSEC-2026-0381 and RUSTSEC-2026-0382: webpki-roots 1.0.9 → 1.0.11 and rustls-webpki 0.103.15 → 0.103.16, lockfile only, no manifest change (#6, 2782e74). cargo audit goes from three vulnerabilities to one — RUSTSEC-2023-0071 in rsa, which has no upstream fix — plus a tokio unsoundness warning, RUSTSEC-2026-0386, that waits on a patched release; the workspace’s 54 tests pass either side of the bump.

portcullis: the remote script is read until EOF, so Phase 2's tail stops vanishing from the log

portcullis had a logging bug that only showed on a real run: execute_remote_script stopped reading as soon as the exit status was ready and nothing looked buffered, but the exit status can arrive before the last output chunks — so the tail of Phase 2 and the last 11 verify.sh checks, including its results line, were simply missing from the log of an otherwise successful provision (bb81c01).

pickmydegree: code-scanning alerts #3 and #4 fixed — a workflow token that was too wide and an HTML stripper that a browser would parse differently

Two pickmydegree code-scanning alerts were open and neither was reachable through the API — querying the open alerts returned 403 Resource not accessible by integration — so the findings were reproduced locally instead, with CodeQL CLI 2.27.3 against the default code-scanning and security-and-quality suites for JavaScript, Python and GitHub Actions (84a241a).

forgepulse, neon-bumper-cars and cross-tetris: RUSTSEC advisories, a yanked chacha20, and a GITHUB_TOKEN that was too wide

Three repositories closed their open security alerts in one pass. forgepulse pins source-map-js to 1.2.2 through a pnpm override for GHSA-68fv-2mgg-jv7q — the same parser denial of service the games took on 17 October — moves quinn/quinn-proto for RUSTSEC-2026-0338, -0340 and -0343, takes chacha20 0.10.2 because 0.10.1 was yanked, and enables sqlx’s features explicitly with default-features off so the dependency set is the one declared (57f0c29, #4).

platosdf: the Flask engine API closes eleven CodeQL findings without trusting a filename

platosdf, the genetic evolver for invariant signed-distance-field solids, cleared its CodeQL backlog in the Python engine that serves grammars, meshes and the gallery. The GitHub API for alert details answered 403, so the findings were reproduced locally with CodeQL CLI 2.27.2 on the python-security-extended and javascript-security-extended suites, which is what the repo’s dynamic workflow runs anyway: eleven Python findings, among them py/flask-debug for the debug=True in __main__, py/path-injection twice — a user-supplied grammar name joined onto a path in engine/grammar_store.py, and the epoch/filename pair in gallery_file — and py/stack-trace-exposure on the JSON error bodies (9158692, #1).

storygen, eclipse-3d-sim and pickmydegree: a path injection, an XSS in Vue's SSR, and what the browser was remembering

Three of the older browser projects cleared their security backlog. storygen — short story videos rendered inside a container — closes six open CodeQL security-extended findings by hardening /api/image/{filename} with a basename check, a realpath normalisation and a root-prefix test that CodeQL recognises rather than a string comparison, and its CSP tests now parse the header into directives and compare URL sources with urlparse instead of substring-matching the whole string (4313707, #6).

neon-bumper-cars and collective-starship-game: proxy-addr IP spoofing, a source-map-js denial of service, and rate limiting from a CodeQL alert

Two of the browser games picked up security fixes. neon-bumper-cars moves its transitive proxy-addr from 2.0.7 to 2.0.8, which is GHSA-jqcg-44mw-7w3h / CVE-2026-90711 — IP spoofing through an IPv4-mapped IPv6 trust subnet, reached through express — shipped as Dependabot’s bump and then a hand-checked patch that confirms the root lockfile resolves to the patched version (d3498db). collective-starship-game takes source-map-js 1.2.2 for the high-severity denial of service in GHSA-68fv-2mgg-jv7q (CVE-2026-93749), and the same pull request answers CodeQL’s js/missing-rate-limiting on the SPA fallback route — sendFile with no limit in front of it — by putting express-rate-limit at 600 requests per minute per IP across the whole Express app, ahead of the static and Vite handlers (8d4ed28, #6).

portcullis: ENABLE_IPV6 decides whether the VM gets an IPv6 address at all

portcullis — the two-phase Hetzner provisioner that locks a VM down in about thirty seconds and then hardens it against a 58-check list — now takes ENABLE_IPV6 as a first-class setting (default true), validated by preflight.py in the words it accepts elsewhere (true/false, 1/0, yes/no, on/off, blank meaning the default) and reaching the API through build_public_net(), which always asks for IPv4 and for IPv6 only when the flag says so (78ecce3). Set to false, the firewall follows: firewall_sources() drops ::/0 and keeps 0.0.0.0/0, on both the port-22 rule created with the server and the lockdown rule that replaces it once Phase 1 has closed 22, so the only rule the VM ever has is IPv4-only and no address is allocated to be forgotten. What the guest does is unchanged — the hardening scripts disable IPv6 inside the OS either way — so with true the address is reserved and unused unless someone deliberately re-enables it, and the README says exactly that instead of leaving the gap between “allocated” and “reachable” to be discovered. The .env.example entry, the config table and tests for the parser, both firewall shapes and the public-network object came with it.

cdclkit and dratify: python-sat 1.9.dev16 fixes the truncated CaDiCaL proofs

The upstream bug that dratify’s fflush workaround existed for is fixed: python-sat 1.9.dev16 resolves pysathq/pysat#233, the truncated CaDiCaL proof files that made most of PySAT’s refutations fail to verify until the writer was flushed. Re-measured on the same 50 uuf100 instances, 50 of 50 now verify on all four CaDiCaL versions with no flush at all, against 4–8 of 50 on 1.9.dev15; the workaround stays, marked as needed only for older versions, and the changelog catches up (af19023). cdclkit’s roadmap records the confirmation, which closes the item the same chase had opened there (5a8fe71).

roundstorm: a failed request stops being silent, and an informational Windows cell

Two follow-ups landed in roundstorm behind 0.1.1. Six raw fetch(apiUrl(...)) calls in App.tsx now go through api() with a call helper, and the behaviour change that comes with it is the point: rename, duplicate and agent delete used to ignore a failed response silently, and now show the server’s error and stop (#59, 9ae96b1). The same pull request writes down the event convention logEvent had been following by hand — room, deliberation and agent ids are columns, other entities’ ids belong in the payload — moves the two events that concerned a room but carried no roomId (deliberation.interrupted, round.restarted) onto it so they appear in the room’s log, and gives backup.created one shape, { via, path, bytes } with path null for a download, on both routes, with a test.

roundstorm 0.1.1: Claude's tools become an allow-list, and a cancelled turn leaves nothing running

roundstorm shipped 0.1.1, seven pull requests of hardening and fixes on the local-first deliberation app, and a .dmg for Apple Silicon with its SHA-256 in SHA256SUMS.txt — on top of the per-launch token and the cleared advisories described earlier in the week.

python-hosts-checker: the certificate check asks for TLS 1.2 at least

python-hosts-checker — the AWS Lambda endpoint and certificate monitor whose findings arrive as Telegram alerts — now sets an explicit minimum_version of TLS 1.2 on the SSLContext it uses for the expiry handshake, so TLSv1 and TLSv1.1 can never be negotiated whatever the interpreter and OpenSSL defaults happen to be (e853782, #6). Python 3.10 and later already default create_default_context() to TLS 1.2, so nothing changes in practice; the floor becomes explicit instead of inherited, and it clears the CodeQL finding code-scanning #1 (py/insecure-protocol). A test captures the context handed to the handshake and asserts the floor rather than trusting the default, and the suite stands at 15 passing.

dratify: the Rust checker's memory bound is written down, and Python 3.15 is declared

Two gaps closed in dratify, the in-process DRAT/DRUP proof checker. The Python layer has bounded its literal widths since 0.1.7, but a Rust caller handed an untrusted literal near u32::MAX makes the checker ask for roughly 200 GB and abort — a real property of the API that appeared nowhere in its documentation, so Checker now says so and names the bound the Python layer applies (85ddd58). The package also declares the Python 3.15 classifier, 3.15.0 being final and CI having tested it since the release candidates; it stays on main until the next release rather than warranting a version of its own (f4f1ccb).

deck-lovers: the CI token is scoped to read-only contents

deck-lovers’ CI workflow declared no permissions block, so every run inherited the repository’s default token scope — read/write on the repository’s contents, for a job that only checks out the code and runs the tests. It now asks for contents: read (9c30dae), the same scoping forgepulse got after a CodeQL alert on its workflow.

roundstorm: a per-launch token, four cleared advisories, and a Tauri shell that compiles in CI

roundstorm’s desktop app now generates 32 random bytes on every launch, hands them to the daemon as ROUNDSTORM_TOKEN and injects them into its own page, and the daemon refuses /api and /ws without it — unset, the headless CLI and every script behave exactly as before. It is narrower than “auth”, and SECURITY.md now says so: it stops another process on the loopback socket and another user on a shared machine, and makes ROUNDSTORM_HOST=0.0.0.0 defensible, but not malware running as the user (17618e7).

deck-lovers: the projector disconnect survives cancellation, and the deploy script reads .env

deck-lovers’ /ws disconnect cleanup ran unshielded, so a cancelled task could skip telling the audience the projector had left and leave stale clients behind — Starlette’s TestClient cancels the app task right after sending the disconnect, which made the websocket tests hang about four runs in ten. The cleanup is now wrapped in a shielded anyio cancel scope, two test races are gone, and a regression test cancels the handler the way the client does (3c4e938).

cdclkit: the trail copy stops going quadratic on decision-only searches

cdclkit’s target-phase search copied the whole trail into the target at every new deepest trail. The comment said improvements become rare quickly, which is true once conflicts start and false before: a search that makes many decisions without one improves on every decision, so n decisions copied 1, 2, …, n entries — 65,536 declared variables and one unit clause took 144 s in Python, 131,072 took 4.2 s natively, and each 4× in variables cost about 13–19× (e43a4ac). A counter now records how much of the trail the target already holds, only the new suffix is copied, and the target still ends up byte-for-byte what the full copy produced.

dratify 0.1.7 fixes a soundness hole, and says why PySAT's CaDiCaL proofs fail

dratify 0.1.6 fixed the README’s PySAT example — it loaded formulas with PySAT’s own parser, which stops at the % line every SATLIB file ends with — and closed a release path that let workflow_dispatch publish from a branch, with the pypi and crates environments now restricted to v* tags (108dd50, 5d0bb47). 0.1.7 is the security fix: three checker bugs found while tracing why PySAT’s CaDiCaL proofs do not verify, one of them a soundness hole where the pure-Python checker accepted refutations of satisfiable formulas when a list of steps held a negative literal — reachable through check_proof, though not from cdclkit’s own solver, and text proofs were never affected — alongside an unbounded literal that could size arrays for 10¹¹ variables and two false rejections, both checkers refusing valid proofs in which a lemma arrived unit at the root (61165f9). The PySAT failure itself is not the checker’s: the binding reads every CaDiCaL proof before flushing it, and with the documented workaround all four CaDiCaL versions verify 50 of 50, where glucose and Lingeling already did (2823854).

cdclkit 0.1.4 requires the dratify that checks proofs correctly

cdclkit 0.1.4 moves both halves onto dratify>=0.1.7, whose three fixed checker bugs include two that reach this package: --self-check could reject a valid proof, and the pure-Python checker could accept a refutation through check_proof (d33f84a). Publishing is now tag-only — the environment restricted to v* tags, the workflow_dispatch trigger gone, and the version check failing outright on any other ref — and make smoke, broken since the dratify split, now ties its module list to the source tree, with a packaging CI job that builds the wheel, installs it cleanly and runs it (b7b5426). Python 3.15 rc3 joins the test matrix (including a native-engine leg) and the README example is now executed by a test; the runbook’s recorded Sigstore gap was already covered, since every file on PyPI has carried a PEP 740 attestation since the first Trusted Publishing release.

pickmydegree stops tracking its own generated coverage reports

pickmydegree had been committing the HTML output of its test-coverage run, and CodeQL flagged the Istanbul report’s sorter.js assets as js/xss-through-dom inside that generated output (11e72fc). Those files are test artifacts rather than application code, so coverage/ is now ignored and the committed reports left the tree — roughly 22,800 lines of generated HTML and CSS removed and three added, merged as PR #2. The app source is untouched; only the repository stops carrying a copy of its own coverage run.

pacenotch fingerprints credentials by expiry instead of hashing the token

pacenotch notices that Claude Code has refreshed its OAuth token by fingerprinting the credentials it reads, and that fingerprint used to be a SHA-256 of the access token — which CodeQL flagged as go/weak-sensitive-data-hashing (a63ee1f). The hash never left memory, but hashing the secret was never needed to detect a refresh: the fingerprint is now claudeAiOauth.expiresAt, a value every refresh moves and which is not secret at all, while a PACENOTCH_TOKEN cannot change while the program runs and gets a fixed fingerprint. It is the second CodeQL-driven correction in pacenotch’s credential layer after the recovery path stopped re-reading the token.

deck-lovers: the projector password stops living in the browser cookie

deck-lovers’ /login handler set the proj_auth cookie to the projector password itself, so the plaintext password lived in every presenter’s browser — which CodeQL reports as py/clear-text-storage-sensitive-data. The server now issues a random per-process session token and compares password and cookie in constant time, which also means a server restart invalidates existing projector cookies; two converter test assertions that matched the bare fonts.googleapis.com hostname (py/incomplete-url-substring-sanitization) now check the exact stylesheet URL built by google_fonts_css_url() (fa4dfce).

portcullis: Phase 1 stops accepting any SSH host key

portcullis replaced paramiko’s AutoAddPolicy — which accepts whatever key a host presents — with an explicit trust-on-first-use policy (25da71b). Phase 1 is the first contact with a VM created seconds earlier by the same process, so there is no prior key to compare against and Hetzner does not publish the fingerprint through its API: the new policy accepts that first key once, logs its type and fingerprint, and Phase 2 still connects with that exact key pinned, so a later substitution is detected. The change addresses CodeQL’s py/paramiko-missing-host-key-validation alert, and the test that asserted the blanket policy now asserts the new one. The secret-handling pass of 21 September had already pinned the key Phase 2 connects with; the first contact was still an unconditional accept.

portcullis stops printing its own secrets and pins the host key across phases

portcullis hardened its own handling of the secrets it moves around during provisioning (f41693f): it no longer logs the first and last four characters of HCLOUD_TOKEN, keys/id_rsa is created 0600 from the start rather than being written and then narrowed, and the smtp.env values are shell-quoted before Phase 2 sources them as root — passwords containing $, spaces, quotes or backticks had been mangled or executed, and the file is now chmod 0600 on the VM before credentials are written into it. Phase 1’s SSH host key is pinned and Phase 2 rejects a different one immediately, so a swapped host cannot receive the second phase’s credentials, and preflight validation now runs before any Hetzner resource exists.

A dependency-advisory sweep across the JavaScript, Python and Go repositories

A pass over open dependency advisories bumped the affected packages in every repository that carried them. On the JavaScript side: pickmydegree (vitest, happy-dom, vite, surge), storygen (vitest 4, vite 6, react-router 7), solids-hunter (vitest 4, vite 6.4.3), eclipse-3d-sim, lifechess, agility-trainer and they-live-agent (vitest 4.1.11), platosdf (vitest and its coverage package, 5.0.1), with lockfile refreshes in deck-lovers and express updates in neon-bumper-cars and collective-starship-game.

portcullis: a two-phase hardened Ubuntu VM for Hetzner Cloud

portcullis is a new public Python repository: one command creates a hardened Ubuntu 26.04 VM on Hetzner Cloud, and it drops the gate first — an unprivileged user with key-only SSH on a random high port, root locked, UFW default-deny and sysctl hardening, all inside about 30 seconds and using only what the stock image already ships — then switches the Hetzner firewall to the new port and deletes the temporary API key before the full CIS-style pass (package upgrades, AppArmor, auditd, AIDE, PAM policy, fail2ban, rkhunter, msmtp alerts, Docker and Podman) runs behind both firewalls. verify.sh then runs 58 checks on the finished host. Everything runs inside a Podman container so nothing is installed locally, and teardown deletes a half-provisioned server together with the keys and firewalls it created. The README was rebranded as the repository went public, with a GitHub Actions test workflow on actions/checkout@v5 and a logo.

portcullis: Vim stops stealing the terminal's mouse selection

portcullis hardens a fresh Ubuntu host, and hardening has to leave the machine pleasant to actually use: Ubuntu’s Vim defaults enable xterm mouse reporting, so on a remote terminal Vim captures the selection and ordinary copy/paste stops working. A new Phase 2 section, 1.6a — Terminal editor defaults, now ships /etc/vim/vimrc.local with set mouse= (and a note in the README’s Phase 2 list), leaving selection to the terminal emulator while anyone who wants Vim’s mouse support can opt back in.

kiwifarmit/cra-lab is public: CI/CD pipelines that produce CRA evidence

kiwifarmit/cra-lab is now public — a small lab in the Kiwifarm org that builds the pipeline half of a Cyber Resilience Act story instead of describing it. Pull requests go through Semgrep SAST plus SCA and IaC scanning (Semgrep rather than CodeQL, which needs GitHub Advanced Security on private repos, and it runs entirely on the runner so the code never leaves it); a v* tag generates a CycloneDX SBOM with Syft, hashes it, hands the digest to the SLSA generic generator for provenance, and runs Trivy over the release SBOM at CRITICAL/HIGH before attaching it to the release (pr-security.yml, release-security.yml). A weekly Trivy and Semgrep sweep covers vulnerability, misconfiguration and licence scanning on a timer, and Dependabot keeps the actions the workflows themselves depend on pinned, with each workflow’s comments citing the CRA Annex I Part II clause it answers.

dash: a serverless DMARC aggregate-report parser for Gmail

dash parses DMARC aggregate reports in a serverless setup for Gmail: it extracts and parses incoming reports, enriches the failing sources, and emails a summary of which senders are failing DMARC and why. The repo is public and actively developed.