{"id":"MAL-2026-4479","revision":"b6d044dd4c7746a48034ad7bcf8bcbc9","records":[{"revision":"b6d044dd4c7746a48034ad7bcf8bcbc9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-4479","aliases":["GHSA-4vj8-cm74-gcx3"],"title":"Malicious code in anthropic-shared-logger (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e54ef50a83e2f379965286ed404d16ca3389a9ce5c8593718ef4e6f307cc6084)\nThis package impersonates Anthropic's internal namespace and self-describes as 'Full RCE PoC - Alex Birsan Style'. Its package.json declares a postinstall hook that, on every `npm install`, fetches the installer's public IP from api.ipify.org, runs `id || ver && whoami && hostname` via child_process.exec, and POSTs the hostname, current working directory, USERDOMAIN/COMPANY environment variables, IP address, and command output to a hardcoded Interactsh OOB endpoint at lszakfghwnvxspyfcmaabd1css99rnq3w.oast.fun over plain HTTP. The combination of namespace impersonation, automatic install-time shell execution, and host reconnaissance exfiltration to attacker-controlled out-of-band infrastructure is a canonical Birsan-style dependency confusion attack. Any build system that mis-resolves this name to the public registry leaks identity and host data to the attacker, enabling targeted follow-on compromise.\n","state":0,"publishedAt":"2026-05-21T00:09:42+00:00","modifiedAt":"2026-09-01T11:31:00.2192459+00:00","affected":[{"ecosystem":"npm","name":"anthropic-shared-logger","ranges":[],"versions":["8.0.5"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/anthropic-shared-logger/v/8.0.5","https://github.com/advisories/GHSA-4vj8-cm74-gcx3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-4479","license":"OSV · upstream source license applies","key":"osv:MAL-2026-4479","identifiers":["MAL-2026-4479","GHSA-4vj8-cm74-gcx3"]},"retained":false,"historicalAffected":[]}],"coverage":[]}