LiveActive security incident?Get immediate response
CVE Record

CVE-2017-16207: discordi.js is a malicious module based on the discord.js library that exfiltrates login tokens to pastebin.

discordi.js is a malicious module based on the discord.js library that exfiltrates login tokens to pastebin.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2017-16207 describes discordi.js, a malicious Node module imitating discord.js. The reported behavior is credential theft: it exfiltrates login tokens to Pastebin. Any organization that installed this module should treat affected credentials as compromised.

Executive priority

Prioritize as a credential-theft supply-chain issue if discordi.js appears anywhere in your environment. If absent, no action is indicated beyond routine dependency monitoring.

Technical view

The CVE identifies all versions of the discordi.js node module as malicious code under CWE-506. Sources state it is based on discord.js and exfiltrates login tokens to Pastebin. No CVSS score, fixed version, or vendor remediation detail is provided in the source bundle.

Likely exposure

Exposure is likely limited to Node.js projects that directly or transitively include discordi.js. Projects using the legitimate discord.js library are not shown as affected by these sources unless discordi.js is also present.

Exploitation context

The source bundle does not report active exploitation, and the CVE is not listed as KEV. However, the module itself is described as malicious, so installation is the key exposure event.

Researcher notes

Evidence is sparse but direct: all versions are affected, the weakness is embedded malicious code, and the behavior is token exfiltration. The source bundle does not provide exploit telemetry, package removal status, indicators beyond Pastebin, or a patched version.

Mitigation direction

  • Remove discordi.js from affected projects and dependency manifests.
  • Replace it only with verified legitimate dependencies, if functionality is still needed.
  • Rotate any login tokens accessible to affected applications or build systems.
  • Review the Node Security advisory and vendor guidance for any additional remediation.
  • Rebuild and redeploy from trusted dependency sources.

Validation and detection

  • Check package manifests and lockfiles for direct or transitive discordi.js references.
  • Review deployed artifacts for bundled copies of the module.
  • Identify credentials or login tokens accessible to affected runtimes.
  • Review network logs for unexpected Pastebin-related outbound activity.
  • Confirm token rotation and redeployment were completed.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-506: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2017-16207 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
HackerOnediscordi.js node moduleAll versionsListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-506 · source CWE mapping

Embedded Malicious Code

Embedded Malicious Code represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.