Protet Intel / npm / whoami-notifier
whoami-notifier 1.0.0
Every version of this package that Protet Intel names: Is whoami-notifier malicious?
Details
whoami-notifier 1.0.0 declares a preinstall script (node --use-env-proxy preinstall.js) that runs automatically before npm install completes. The script runs the whoami command to read the name of the installing operating-system user and sends it in an HTTPS GET request to https://erhantest-erhan.free.beeceptor.com?user=<username>, a public mock-API endpoint controlled by the publisher, routing through any configured proxy. The package contains no other functionality: its entry point exports an empty object, and its own description states that it sends the current user to a remote URL before installation. It was published on 2026-11-20 by a new account with no other packages, without a source repository. Impact: every developer workstation or CI job that installs the package discloses the local username, its public IP address and the time of installation to a third party, and confirms that the publisher's code ran on that host. Remediation: remove the package, block the endpoint on build hosts, and treat hosts that installed it as having executed untrusted code.
Records
- OSV record PROTET-NPM-2026-258
- Also reported in OSV as MAL-2026-20503
- Feeds: NDJSON, Atom
Status history
- 2026-11-20: named as a Protet finding
- 2026-11-24: active