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

discordjs-invitesnpm

Advisory published Updated

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

Malicious code in discordjs-invites (npm)

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

Malicious versions

1 flagged
1.0.1

Indicators of compromise (SHA-256)

bab56ba48c15b98ae58d2b44da16be9aa2350127a467669a5034aeb76243cb4f
1ae353b0e26238c81b3de7f1e4d78fb9e2e1cf70e78989a9dd7d020789785f81
9ce9090a3e340a812982c8c1404f54c41c5008d5ceebd0ef791d731cc2d5b050

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for discordjs-invites (version 1.0.1).

  2. If you installed it — respond

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

Campaign

RLMA-2024-00735RLUA-2024-06429RLUA-2026-14255

References

Credits

  • ReversingLabs · finder

Detect & block this

O3 blocks discordjs-invites-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

discordjs-invites (npm) malicious package — MAL-2024-2104 | O3 Security