Supabase
Read post

Protecting your Supabase projects from npm supply chain attacks

npm supply chain attacks are increasing, including a typosquat package mimicking Supabase. The post explains how these attacks work (maintainer compromise, typosquatting, build pipeline poisoning like the TanStack incident) and provides concrete defensive steps: upgrading to pnpm 11 with minimumReleaseAge set to 3-7 days, pinning exact versions for sensitive dependencies, committing and reviewing lockfiles, disabling install scripts where possible, verifying package names before installing, pinning GitHub Actions to commit SHAs, avoiding pull_request_target with code checkout, rotating credentials after suspected exposure, and using scanners like Socket.dev as a secondary defense.

    #security#github-actions#npm#supabase#pnpm
May 26•8m read time•From supabase.com
Post cover image
Table of contents
What we are doing about it at Supabase #How npm supply chain attacks actually happen #Other things you should do today #Closing thought #Prompt for your coding agent #
1K Impressions
Supabase's image
Supabase

The Supabase Blog offers insights, tutorials, and updates on Supabase, an open-source alternative to...

902 Followers

•

3.8K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard