GHSA-69r6-7h4f-9p7q Malicious Package in discord.js-user

Not scored Published

Malicious code in discord.js-user steals Discord tokens, allowing attackers to take over user accounts.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is GHSA-69r6-7h4f-9p7q?

GHSA-69r6-7h4f-9p7q is a vulnerability in discord.js-user, published on 3 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of discord.js-user contain malicious code. The package uploads the user's Discord token to a remote server.

Recommendation

Remove the package from your environment. Ensure any compromised tokens are invalidated.

Which versions are affected by GHSA-69r6-7h4f-9p7q?

2 open source packages ship an affected version, including discord.js-user.

PackageAffectedFixed in
discord.js-user npmFrom 0.0.0None
discord.js-user npmFrom 0.0.0None

How do I fix GHSA-69r6-7h4f-9p7q?

No fix has been published for GHSA-69r6-7h4f-9p7q yet. Limit exposure of the affected software until one is available.

Is GHSA-69r6-7h4f-9p7q being exploited?

There is no known exploitation of GHSA-69r6-7h4f-9p7q in the wild and no public exploit code.

Sources

Is GHSA-69r6-7h4f-9p7q in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free