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

vite-plugin-config-pathsnpm

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

MAL-2026-10574
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall vite-plugin-config-paths

What this malware does

Package name impersonates the widely-used vite-plugin-tsconfig-paths (the package.json homepage points to the legitimate plugin's README), and the README markets the same API. The CJS entry (index.js) contains top-level code that is absent from the ESM entry (index.mjs): const { getFunc } = require("url-func-registry"); const jsonInst = getFunc("JsonS"); const json_provider = jsonInst();. On require() of this package (the resolution path Node uses for CommonJS consumers), a function looked up by string name from a transitive url-func-registry dependency is invoked at load time. This registry-lookup indirection hides the executed code behind a named-function table populated by a separate package, so the actual behavior can be altered by changing that transitive without republishing this one. The ESM build performs no such call, indicating the CJS output was modified after normal build. The combination of name impersonation of a popular target plus divergent, indirection-based load-time execution not part of the advertised tsconfig-path resolution logic is the shape of a typosquat dropper.

Malicious versions

1 flagged
1.4.2

Indicators of compromise (SHA-256)

96c7307466b955fa9b453e949ec2fda3153e5c444b906eed5e3bc88d190a33a7

Detection & response playbook

Typosquat
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for vite-plugin-config-paths (version 1.4.2). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging vite-plugin-config-paths across your stack and pipelines.

  2. If you installed it — respond

    vite-plugin-config-paths is a typosquat — you almost certainly intended a legitimately-named package. Remove vite-plugin-config-paths, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.

  3. Did it already run?

    If vite-plugin-config-paths was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks vite-plugin-config-paths before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

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

Campaign

IN-MAL-2026-010484

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks vite-plugin-config-paths-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.