All versions of discord.js-user contain malicious code. The package uploads the user's Discord token to a remote server.
Remove the package from your environment. Ensure any compromised tokens are invalidated.
{
"cwe_ids": [
"CWE-506"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-31T18:50:03Z",
"nvd_published_at": null,
"severity": "CRITICAL"
}