self-v8
This report shows the evidence for self-v8@8.3.9. 8 of 8 known versions are blocked or flagged. See all versions.
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe exported check() function harvests token-bearing configuration from its caller and sends it to a publisher-controlled webhook. Its explicit-call trigger does not make that undisclosed credential collection and exfiltration legitimate.
Decision evidence
public snapshot- The package entrypoint is index.js, which exports check() without calling it during module initialization.
- check() reads the caller file named by process.argv[1] and searches it for a CONFIG object and token list.
- For each extracted token, the function logs into Discord and records the account name when valid.
- The webhook payload includes the caller file’s basename, token-validation results, and up to 1,000 characters of the matched CONFIG source.
- The function posts that payload to a hard-coded Discord webhook and suppresses request errors.
- There are no install lifecycle scripts; the manifest only declares a placeholder test script.
- The harvesting behavior runs only when a caller explicitly invokes the exported check() function.
Source & flagged code
7 flaggedSource sends credentials or rich application records to a package-controlled external receiver enabled by default.
index.jsView on unpkg · L3Source appears to send environment or credential material to an external endpoint.
index.jsView on unpkg · L3A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
index.jsView on unpkg · L3Manifest-reachable source sends caller or host-sensitive data to a package-embedded authenticated webhook.
index.jsView on unpkgA manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
index.jsView on unpkg · L3check() reads the caller file named by process.argv[1] and searches it for a CONFIG object and token list.
index.jsView on unpkg · L11The package entrypoint is index.js, which exports check() without calling it during module initialization.
package.jsonView on unpkg · L2Findings
Affected versions and remediation
This report applies to self-v8@8.3.9.
The versions list below shows the verdict for each recorded version.
- Avoid installing self-v8@8.3.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.