NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

x-session-parsernpm

Advisory published Updated

x-session-parser is a confirmed malicious npm package (MAL-2025-47023) that executes malicious code on install (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in x-session-parser (npm)

MAL-2025-47023
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall x-session-parser

What this malware does

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Malicious versions

1 flagged
1.0.0

Indicators of compromise (SHA-256)

656368dae017043edc5b926e1ca7ff9f6e3526b8de21a92a3ce573d70d89ba07
742f2bc56a2f19c1b29cc8dea0f125d20892ae02949ae277ac9635f9a932aac5
baa3b6a03a0e067ccb6d218556fd9881804db029b845ebc86378836e1a37a236
789a8f81a5f3922a457ba8e8f4cc8bff4b439aaa4fbb3b0a82334b9f6c800674
0788c2ab6d4751a8aead6806ff685be2f748f57912c5fb5be810314b5c038d43

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for x-session-parser (version 1.0.0).

  2. If you installed it — respond

    Remove x-session-parser 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 x-session-parser 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. x-session-parser on npm has been identified as a malicious package (version 1.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-6pr6-gwgp-hjj8RLMA-2025-05201RLUA-2025-05563RLUA-2025-06002

References

Credits

  • Amazon Inspector · finder
  • ReversingLabs · finder

Detect & block this

O3 blocks x-session-parser-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

x-session-parser (npm) malicious package — MAL-2025-47023 | O3 Security