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

ksbackgroundtasknpm

Advisory published Updated

ksbackgroundtask is a confirmed malicious npm package (MAL-2024-2585) that executes malicious code on install (malicious version 1.9.9). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in ksbackgroundtask (npm)

MAL-2024-2585
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall ksbackgroundtask

Malicious versions

1 flagged
1.9.9

Indicators of compromise (SHA-256)

3a8bbb6fc45c96085ce5e0ff606ba0b7207d006ea694cccc4f9b93c7aaf086ad
2be763b2075689fa4065fca665233c772d092d4183ff885ca87581e31aa47a21
8ba477ae25fe258b2d0948917e4f63f63e9bdcefad87742cd00b9ac0af27f93f

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for ksbackgroundtask (version 1.9.9).

  2. If you installed it — respond

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

Campaign

RLMA-2024-01266RLUA-2024-06804RLUA-2026-14983

References

Credits

  • ReversingLabs · finder

Detect & block this

O3 blocks ksbackgroundtask-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

ksbackgroundtask (npm) malicious package — MAL-2024-2585 | O3 Security