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

discord.js-invitesnpm

Advisory published Updated

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

Malicious code in discord.js-invites (npm)

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

Malicious versions

1 flagged
1.0.3

Indicators of compromise (SHA-256)

5cafbc60894bed3fcecdc1f19990766dfbe31f16eaf41afa774ce7e1382095c4
0a2eaecdbbab2fa6d141106bdaac61f25741cdd17056a9bbd98472290db2fd0a
c35e1aadc5a0f7c89eb48fb420aa38230ecb41440a9a8e4a6128a1e67d2b9b55

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for discord.js-invites (version 1.0.3).

  2. If you installed it — respond

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

Campaign

RLMA-2024-00728RLUA-2024-06425RLUA-2026-14251

References

Credits

  • ReversingLabs · finder

Detect & block this

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

discord.js-invites (npm) malicious package — MAL-2024-2100 | O3 Security