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

js-soulnpm

Advisory published Updated

js-soul is a confirmed malicious npm package (MAL-2026-14477) that executes malicious code on install (malicious version 1.0.4). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in js-soul (npm)

MAL-2026-14477
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall js-soul

What this malware does

On module load, src/api/session-api.js reads../../../../public/logo.ico (a path outside the package), DES-decrypts the contents with the hardcoded key 'bf497c0b9cee', spawns a detached node child process via child_process.spawn with {detached:true}, and pipes the decrypted plaintext into the interpreter's stdin, executing arbitrary code at import 'js-soul'. The disguise of executable JavaScript as an image asset, the hardcoded DES key, and an unrelated 'ThetaSDK initialization error' catch-block string contradict the package's stated purpose as a session helper library and its README claim that nothing runs on import. Any code the attacker stages at the sibling path executes in the installer process with the installer's privileges.

Malicious versions

1 flagged
1.0.4

Indicators of compromise (SHA-256)

3e5bb2e2d2011a8e8bcc3c0fba8aeed7cca1e1b92e19ea867535a27dbf2cc500

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for js-soul (version 1.0.4).

  2. If you installed it — respond

    Remove js-soul from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If js-soul was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

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

Campaign

IN-MAL-2026-018694

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks js-soul-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.

Explore

js-soul (npm) malicious package — MAL-2026-14477 | O3 Security