@ev-ai/agent-hook@1.2.0
Cross-runner runtime telemetry hook for Claude Code, Cursor, and Codex
AI Security Review
scanned 22d ago · by lpm-firewall-aiSource shows explicit agent configuration mutation and subsequent automatic hook updates, warranting a capability warning under the supplied policy. No npm lifecycle attack, self-dependency chain, or confirmed credential theft was established.
Decision evidence
public snapshot- The explicit CLI install command activates agent hook configuration changes.
- dist/cli.mjs merges telemetry commands into agent hook settings, including .cursor/hooks.json.
- Configured agent sessions can automatically launch a detached refresh process; environment or saved preferences can disable updates.
- The updater restricts package archive URLs to this package on registry.npmjs.org and checks downloaded integrity.
- dist/hook.mjs posts telemetry envelopes to the selected collector; the indicated configuration helper only classifies paths.
- package.json exposes the launcher command and has no npm lifecycle scripts or runtime self-dependencies.
- Configuration changes require an explicit CLI command rather than automatic npm installation.
- No concrete malicious execution or covert credential forwarding was established.
Source & flagged code
7 flagged · loading sourceSource spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/launcher.mjsView on unpkg · L2Findings
Affected versions and remediation
This report applies to @ev-ai/agent-hook@1.2.0.
See all versions of @ev-ai/agent-hook for other recorded verdicts.
- Review the evidence and your use of @ev-ai/agent-hook@1.2.0 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.