helper-agent@1.0.2
Authorized HTB dependency-resolution canary
AI Security Review
scanned 11d ago · by lpm-firewall-aiThe automatically executed install hook harvests a CTF flag and writes it to a local service, establishing a concrete data-exfiltration behavior. The local-only destination and matching-record checks constrain its scope but do not make the flag collection and submission benign.
Decision evidence
public snapshot- The postinstall hook automatically runs probe.cjs.
- The script searches the FLAG environment variable and fixed filesystem locations for an HTB flag.
- It probes localhost APIs, inserts a found flag into a module manifest, and sends the modified manifest with a PUT request.
- The API hosts are loopback addresses, and the script restricts changes to a matching module record.
Source & flagged code
6 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgThe postinstall hook automatically runs probe.cjs.
package.jsonView on unpkg · L6The script searches the FLAG environment variable and fixed filesystem locations for an HTB flag.
probe.cjsView on unpkg · L28Findings
Affected versions and remediation
This report applies to helper-agent@1.0.2.
See all versions of helper-agent for other recorded verdicts.
- Avoid installing helper-agent@1.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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.