npm

path-internal-util @1.0.2

Vulnerability report · Last retrieved from osv.dev July 13, 2026 at 6:40 AM UTC

Malicious

OSV ID

MAL-2026-3312

Ecosystem

npm

Summary

On require(), path.js executes an IIFE that calls loadTokenData(), which fetches a base64-obfuscated URL (decoding to https://www.jsonkeeper.com/b/CWOV9), parses the JSON response, and passes data.content directly to eval(). The remote paste is mutable by whoever controls the jsonkeeper entry, so any installer that imports the package executes arbitrary attacker-controlled JavaScript in-process at import time. The package name impersonates Node's built-in path module and the README claims to be 'an exact copy of the NodeJS path module', increasing the chance of accidental installation by developers seeking a path polyfill.

Source: amazon-inspector (aaba59a63a7a6f3dfc734a55082dff17dbf357f41b2a09ef0c87f73d046088e1)

Protect your entire dependency tree

Scan your lock files automatically on every PR. Block malicious packages before they reach production.