The import read @tanstack-query-devtools-pro. Our real dependency is @tanstack/react-query-devtools. In a package.json with 60 lines of scoped packages, that difference disappears.
What shipped
Development looked perfect — same panel, same cache inspector. In production, an observer watched the clipboard and any input matching a wallet prefix, then swapped addresses on paste. Our co-founder paid a contractor for design work from a MetaMask address that was silently replaced.
The part that stings
We caught it in four days. The contractor caught it never. The transaction was valid, the recipient address was theirs, and our only recourse was a public blocklist entry and an apology.
Numbers
0.31 ETH, roughly $1,100 at the time. Our review process cost less than that and we were not using it.
Now
Every scoped dependency has to resolve to the org that owns the underlying project. If the scope is not in our allowlist, the build fails. That one check would have caught this before a single line shipped.