publish-poc-test3@1.0.27
Vulnerability report · Last retrieved from osv.dev October 26, 2026 at 9:45 AM UTC
OSV ID
MAL-2026-18324
Ecosystem
npm
Summary
The package's postinstall lifecycle script creates a temporary directory, writes a fabricated package.json whose name is 'publish-poc-found-<random-hex>' (random suffix derived via 'openssl rand -hex 2'), and then invokes 'npm publish' from that directory. The literal string 'npm publish' is reconstructed at runtime by concatenating three fragments ('np', 'm pu', 'blish') through printf, specifically to prevent manifest and string scanners from matching the command. The publish runs against the public npm registry using whatever npm authentication context the installing environment currently has (an _authToken from ~/.npmrc, NPM_TOKEN / NODE_AUTH_TOKEN in the environment, or an active CI publish identity), so running 'npm install' of this package on a developer workstation or CI host that holds publish rights causes a new attacker-named package to be published under the installer's npm identity. The combination of credential abuse at install time, randomized attacker-chosen package naming, and deliberate obfuscation of the exact command performing the publish is characteristic registry self-propagation / worm behavior.
Source: amazon-inspector (4001a75b24abfa181a10e5d40931194f254304fcf5fda554488d3c242cc5db85)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.