self-v8@2.1.9
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe exported check() function extracts Discord tokens from the caller's source and transmits the containing configuration to a fixed Discord recipient using an embedded bot credential. This is credential exfiltration triggered by calling the package's API.
Decision evidence
public snapshot- The package entry point exports a check() function.
- check() reads the running program's source and extracts its CONFIG object.
- It extracts tokens from CONFIG and logs in with each token to validate it.
- It contains a fixed Discord bot credential and a hardcoded recipient ID.
- It sends the extracted CONFIG contents to that recipient in a Discord direct message.
- The manifest has no install or lifecycle scripts.
- The credential collection and send occur when check() is called, rather than as import-time code.
Source & flagged code
7 flaggedcheck() reads the running program's source and extracts its CONFIG object.
index.jsView on unpkg · L16Findings
Affected versions and remediation
This report applies to self-v8@2.1.9.
See all versions of self-v8 for other recorded verdicts.
- Avoid installing self-v8@2.1.9. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.