anhn-cli
A personal command line
This report shows the evidence for anhn-cli@1.1.4. 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 2mo ago · by lpm-firewall-aiConfirmed source establishes a reachable obfuscated remote payload loader with eval and detached process execution. Absence of an npm lifecycle hook does not mitigate runtime execution on every CLI invocation.
Decision evidence
public snapshot- CLI entrypoint top-level imports the compromised install module on every invocation.
- Appended obfuscated code fetches a hidden payload then evaluates it and launches detached Node code.
- The hidden loader derives its command endpoint at runtime, enabling attacker-controlled remote execution.
- package.json has no npm lifecycle hook; activation is runtime via the CLI entrypoint.
Source & flagged code
6 flagged · loading sourcePackage source references dynamic require/import behavior.
bin/open-site/open-site.jsView on unpkg · L1Source appears to send environment or credential material to an external endpoint.
bin/harvest/harvest-cli.jsView on unpkg · L14Findings
Affected versions and remediation
This report applies to anhn-cli@1.1.4.
The versions list below shows the verdict for each recorded version.
- Avoid installing anhn-cli@1.1.4. 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.