@mexc/ws
Security placeholder to prevent dependency confusion on @mexc/ws. Published by diosikigai for BugRap PoC.
This report shows the evidence for @mexc/ws@1.0.1. 1 of 3 known versions is blocked or flagged. The newest version, 0.0.1-security, is allowed. See all versions.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiSource inspection confirms a postinstall side effect that collects local metadata and writes it outside the package, aligned with the package's dependency-confusion PoC description. Absence of networking limits impact but does not remove the malicious install-time behavior.
Decision evidence
public snapshot- package.json defines an automatic postinstall command.
- The hook collects hostname, USER/USERNAME, cwd, platform, and timestamp.
- The hook writes the collected host data to an OS temporary file.
- package.json describes the package as a dependency-confusion BugRap PoC.
- No network or exfiltration code is present.
- index.js only logs a placeholder message.
- Only package.json and index.js exist; no hidden payloads found.
Source & flagged code
2 flagged · loading sourceInstall-time lifecycle script matches a deterministic static-gate block pattern.
package.jsonView on unpkgPackage defines install-time lifecycle scripts.
package.jsonView on unpkgFindings
Affected versions and remediation
This report applies to @mexc/ws@1.0.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing @mexc/ws@1.0.1. 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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.