An open API service indexing awesome lists of open source software.

https://github.com/httptoolkit/evil-package

An npm package demonstrating how packages can steal your data (but not actually doing so!)
https://github.com/httptoolkit/evil-package

Last synced: 3 months ago
JSON representation

An npm package demonstrating how packages can steal your data (but not actually doing so!)

Awesome Lists containing this project

README

          

# evil-package

An npm package demonstrating how packages can steal your data (but not actually doing so!)

This captures the environment variable `$PLEASE_STEAL_THESE_CREDENTIALS` and sends it to an evil site when the package is installed or required.

The evil site in question is `evil.test` - note that `.test` is a reserved TLD, which will never resolve, and so these requests will always fail, that's OK.