Files
joelhooks__joelclaw/SECURITY_SUPPLY_CHAIN.md
Joel Hooks 03f0a59b8e chore: add supply chain hardening defaults
Merged supply-chain hardening PR after checks passed/neutral and unrelated workflow-triggered validator drift was removed from the diff.
2026-05-20 19:17:50 -07:00

1.1 KiB

Supply-chain hardening policy

This repo treats dependency, workflow, package, app, script, Kubernetes, and deploy changes as security-sensitive.

Required defaults

  • Use committed lockfiles with frozen installs in CI.
  • For first inspection of unfamiliar dependencies, install with --ignore-scripts.
  • Keep lifecycle scripts rare and explicit.
  • GitHub Actions permissions default to read-only; grant write permissions only per job.
  • Release/deploy jobs must not run on pull_request, pull_request_target, discussion, or other user-content events.
  • Require review for workflows, package manifests, lockfiles, .npmrc, packages, apps, scripts, Kubernetes manifests, and deploy config.

Shai-Hulud-style IOC checks

Block and investigate unexpected setup_bun.js, bun_environment.js, discussion.yaml, shai-hulud-workflow.yml, self-hosted runners named SHA1HULUD, and public repo descriptions referencing Sha1-Hulud, Shai-hulud Migration, or -migration.

If a compromised package install ran: assume secrets are burned, revoke/rotate tokens, compare artifacts against source, and rebuild the machine instead of surgical cleanup theater.