{
 "affected": [
  {
   "package": {
    "ecosystem": "npm",
    "name": "whoami-notifier"
   },
   "versions": [
    "1.0.0"
   ]
  }
 ],
 "aliases": [
  "MAL-2026-20503"
 ],
 "credits": [
  {
   "contact": [
    "https://protet.io/intel/npm/whoami-notifier/1.0.0"
   ],
   "name": "Protet",
   "type": "FINDER"
  }
 ],
 "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.",
 "id": "PROTET-NPM-2026-258",
 "modified": "2026-11-24T18:09:01Z",
 "published": "2026-11-20T11:39:02Z",
 "references": [
  {
   "type": "REPORT",
   "url": "https://protet.io/intel/npm/whoami-notifier/1.0.0"
  }
 ],
 "schema_version": "1.6.0",
 "summary": "Malicious code in whoami-notifier (npm)"
}