Hardening a Gatsby Build Against npm Supply-Chain Attacks
September 9, 2026 · StaticCraft Team
Gatsby ships no server, so the attack surface is the build. A practical hardening pass: lockfile-only installs, disabled lifecycle scripts with an allow-list, release-age cooldowns, npm provenance, minimal build secrets, and SBOMs.
Read more