{"id":"MAL-2026-17697","revision":"95f93fea85744f69a967d7ecc00fc6f2","records":[{"revision":"95f93fea85744f69a967d7ecc00fc6f2","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17697","aliases":[],"title":"Malicious code in @dransay/logger (npm)","description":"@dransay/logger@99.0.0 is a dependency-confusion probe claiming the internal `@dransay/*` namespace, not an identified public package. Its `preinstall` hook runs on npm install as `node beacon.js` and sends a DNS lookup and an HTTPS GET to `db3klhbi6i9hark1kegg174t38h33b6wt.oast.site`, using the package name in the request; npm account `0xamino_hunter` published it on 2026-10-08.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5d4cbd17edce3b0c45619c9af869321807357e3dae1af8aa94835d3143185e85)\nThe package @dransay/logger@99.0.0 ships a preinstall hook (`node beacon.js`) that fires on `npm install`. The script performs a DNS lookup and HTTPS GET to the interactsh collaborator host `db3klhbi6i9hark1kegg174t38h33b6wt.oast.site`, encoding the package name in the subdomain/path. The version number (99.0.0) is implausibly high for a package with no release history, consistent with a dependency-confusion squat intended to win semver resolution against a private internal name. On install, the beacon discloses the installer's source IP, DNS resolver, and timestamp to a third-party host under the scoped name `@dransay/logger`, confirming successful resolution of this public package in an environment that may have intended to resolve a private `@dransay/*` package. No further payload is executed in this version, but the install-time callback to an attacker-controlled OAST endpoint is the reconnaissance stage of a dependency-confusion attack.\n","state":0,"publishedAt":"2026-10-08T07:58:52+00:00","modifiedAt":"2026-10-12T04:45:05.8800019+00:00","affected":[{"ecosystem":"npm","name":"@dransay/logger","ranges":[],"versions":["99.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@dransay/logger/v/99.0.0","https://www.npmjs.com/package/@dransay/logger"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17697","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17697","identifiers":["MAL-2026-17697"]},"retained":false,"historicalAffected":[]}],"coverage":[]}