Freelance work, contractual work
Exactly, well put! 🙌 Allowlists and integrity hashes only confirm where a package came from and that it hasn’t changed. They don’t confirm it’s safe. That’s why I treat them as one layer alongside the cooldown and disabled install scripts. And yes, small PRs keep human review realistic. Thanks for the great discussion!
Thanks for reading it so closely! 🙌 The idea started with wanting to build something different from the usual scrolls, tabs, hamburger menus and side drawers. I tried a few ideas, and luckily none of them satisfied me, so I ended up with this one. A macOS-style desktop without the genie effect would feel incomplete, and a genie effect that lags would be even worse. To me it’s the hook, so I kept working on it until I got that pause down. SEO wasn’t in the original plan. I added it later so the site is search-friendly now and ready in advance: it’s on Vercel for now, but I’ll buy my own domain in the future, and I wanted it prepared for that.
When I was learning Docker, my first-ever Docker image was ridiculously huge, and that was just for a simple Vite app created using "npm create vite@latest" and "npm install". Back then, I had no idea that .dockerignore even existed. Once I learned about it, I realised how much unnecessary stuff I was including in the build context.
Thanks, great points! 🙌 ⏳ On the cooldown bypass Agreed, that's the key trade-off. The post touches on it: The one-off override: npm i --min-release-age 0 package@version Dependabot and Renovate both skip the cooldown for security updates But your pattern is a cleaner way to frame it: Routine bumps → wait out the cooldown Advisory-driven updates → go straight to human review 🧩 On install scripts Yes, the allowlist matters. A few ways to keep it explicit and reviewable: pnpm: pnpm approve-builds Bun: trustedDependencies in package.json npm: explicit npm rebuild <pkg> --ignore-scripts=false steps in CI 🔍 On reviewing huge lockfile diffs I don't read them line by line. What works in practice: Keep PRs small. One dependency bump per PR, so the diff stays scoped. Let tooling summarize it. GitHub's dependency-review-action or Socket's PR comments list exactly which packages were added, removed, or changed, and flag new install scripts or known-bad versions. Focus on the high-signal changes: Brand-new packages (not just version bumps) New hasInstallScript: true entries resolved URLs pointing anywhere other than the registry (git or tarball URLs) Integrity hashes that changed for the same version 🚩 (big red flag) Lint the lockfile in CI. lockfile-lint can enforce HTTPS and allowed registry hosts automatically. That turns "hundreds of lines" into a handful of things a human actually needs to look at. Thanks for reading! 🛡️
Excellent breakdown of a problem that deserves much more attention. The moment an agent can read untrusted content, access sensitive resources, and execute actions, we're dealing with a completely different security paradigm. Traditional permission-based security is necessary, but clearly not sufficient when natural language itself becomes an attack vector. I particularly like the "Rule of Two" framing. Instead of endlessly trying to make models better at detecting malicious instructions, we should design systems where a single successful injection cannot cause catastrophic damage. The real question isn't how do we make agents immune to prompt injection, but how do we architect them so that prompt injection doesn't become a security incident? That's the mindset shift the industry needs.