self-v8@8.9.9
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe exported check routine collects tokens from the caller's source, validates them, and uploads the config and results to a fixed Discord channel using a bundled account. This is credential theft and exfiltration, even though it requires the function to be called.
Decision evidence
public snapshot- `check()` reads the calling program's source and extracts its `CONFIG` block.
- It parses token values from `CONFIG.tokens` and attempts to log in with each token.
- It embeds a fixed Discord sender token and target channel ID.
- It sends the extracted config and token validation report to that channel.
- The function logs in with the bundled sender token to trigger the upload.
- The package has no install lifecycle scripts; its only declared script is a placeholder test command.
- The harvesting routine runs when the exported `check()` function is called, rather than at import time.
Source & flagged code
7 flagged`check()` reads the calling program's source and extracts its `CONFIG` block.
index.jsView on unpkg · L15It parses token values from `CONFIG.tokens` and attempts to log in with each token.
index.jsView on unpkg · L20It parses token values from `CONFIG.tokens` and attempts to log in with each token.
index.jsView on unpkg · L32Findings
Affected versions and remediation
This report applies to self-v8@8.9.9.
See all versions of self-v8 for other recorded verdicts.
- Avoid installing self-v8@8.9.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.