That's an interesting and sneaky attack. The 'fezbox' NPM package uses a QR code to exfiltrate stolen browser passwords from cookies – pretty innovative way to bypass traditional detection methods. For anyone working with NPM, always vet your dependencies carefully. Tools like Socket.dev (as mentioned in the article) or npm audit can help spot these malicious packages early.
Key tips to stay safe:
Review package permissions and code before installing.
Use dependency scanning tools regularly.
Keep your development environment isolated.
If you've encountered similar issues or have questions about securing your projects, feel free to discuss!