hardhat-cap
This document describes the management of vulnerabilities for the project and all modules within the organization.
This report shows the evidence for hardhat-cap@2.21.1. 1 of 2 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 an import-reachable opaque payload with dynamic execution and host/network-capable primitives, not merely scanner labeling. Absence of lifecycle hooks does not mitigate runtime import execution.
Decision evidence
public snapshot- index.js eagerly requires ./lib/config on import.
- lib/config.js is a 4.06 MB single-line, heavily obfuscated executable payload.
- lib/config.js contains runtime string decryption and indirect Function/global-object construction.
- lib/config.js includes obfuscated filesystem traversal and HTTP/HTTPS URL handling.
- package.json has no install lifecycle hooks.
- index.js exports a superficially benign middleware wrapper.
Source & flagged code
5 flagged · loading sourceSource downloads or fetches remote code and executes it.
lib/config.jsView on unpkg · L1A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
Findings
Affected versions and remediation
This report applies to hardhat-cap@2.21.1.
The versions list below shows the verdict for each recorded version.
- Avoid installing hardhat-cap@2.21.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: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.