hardhat-spack
This document describes the management of vulnerabilities for the project and all modules within the organization.
This report shows the evidence for hardhat-spack@3.0.2, the only known version.
AI Security Review
scanned 18d ago · by lpm-firewall-aiThe active entrypoint connects ordinary middleware initialization to concealed remote code execution. The encoded endpoint, detached execution, and unrestricted response evaluation support a malicious verdict without needing to infer the remote payload's contents.
Decision evidence
public snapshot- package.json selects index.js as the main entrypoint.
- Calling the exported middleware invokes the background job automatically.
- The job launches lib/caller.js in a detached Node process with ignored output.
- lib/caller.js decodes a hardcoded external endpoint from Base64.
- The caller downloads a response and executes it as JavaScript with access to require.
- No install lifecycle hook is declared; activation requires calling the exported middleware.
- The downloaded payload was not available for static inspection, so its subsequent actions are unknown.
Source & flagged code
7 flagged · loading sourceSource decodes a Base64-obscured HTTP endpoint at runtime.
lib/caller.jsView on unpkg · L2lib/caller.js decodes a hardcoded external endpoint from Base64.
lib/caller.jsView on unpkg · L8lib/caller.js decodes a hardcoded external endpoint from Base64.
lib/caller.jsView on unpkg · L13Findings
Affected versions and remediation
This report applies to hardhat-spack@3.0.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing hardhat-spack@3.0.2. 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.