My coding agent installed loadash. how do you hard-block fake packages before postinstall runs
Summary
Discusses the problem of AI coding agents installing typo-squatted npm packages (like loadash) and asks for methods to block such fakes before postinstall scripts run.
Similar Articles
Show HN: Safe-install – safer NPM installs with trusted build dependencies
A new npm package called safe-install is introduced to enhance supply chain security by allowing developers to disable install scripts by default and block exotic sub-dependencies, addressing ongoing vulnerabilities.
Giving an AI coding agent a deterministic "architecture linter" so it stops faking "done"
The article describes giving an AI coding agent a deterministic architecture linter that checks Event Storming diagrams for mechanical gaps and open questions, ensuring the agent doesn't fake completion.
@Docker: The malware didn't bring its own credential scanner. It borrowed yours. In this AI Coding Agent Horror Stories issue: @…
A malicious npm package (s1ngularity) exploited post-install hooks to repurpose installed AI coding agents as credential scanners, stealing secrets from developers. Docker's blog discusses how Docker Sandboxes can mitigate such attacks by isolating credentials from agent reach.
AI coding agents ship Supabase apps fast, but who checks if the database is actually locked?
A developer building apps with AI coding agents (Cursor, Claude) discovered that agents often write Supabase RLS policies that look secure but aren't, prompting them to build a small CLI security scanner that found 95 findings (12 high severity) in their own repo—including a live service-role key in public HTML and stale policies exposing an access-key table.
@DeRonin_: USE THIS GUIDE TO PROTECT YOUR COMPUTER FROM NPM HACKS THAT STEAL EVERYTHING IN ONE INSTALL TanStack, a code library us…
The article details a supply-chain attack on the TanStack library via NPM, offering a comprehensive guide to protect development environments by locking dependency ages, pinning versions, and auditing CI/CD pipelines and IDE extensions.