nathangong
Pops a macOS notification with a photo of Nathan Gong after every Claude Code turn.
This report shows the evidence for nathangong@0.1.0. 1 of 2 known versions is blocked or flagged. The newest version, 0.4.0, is flagged. See all versions.
AI Security Review
scanned 4mo ago · by lpm-firewall-aiAlthough the payload is a notification feature and no exfiltration is present, the package uses an npm postinstall hook to modify ~/.claude/settings.json and register Claude Code execution without explicit user invocation. Under the install control surface policy, this is blockable AI-agent control hijack.
Decision evidence
public snapshot- package.json runs postinstall and preuninstall lifecycle scripts.
- scripts/postinstall.js calls addHook() automatically during npm install.
- scripts/settings.js writes ~/.claude/settings.json and appends a Claude Code Stop hook command to run package notify.js after every turn.
- scripts/notify.js invokes macOS notifications via node-notifier or detached osascript on each Claude Stop event.
- No network endpoints or exfiltration code found in inspected source.
- index.js only enumerates bundled image assets.
- bin/cli.js install/uninstall/test paths are user-invoked and package-aligned.
- settings.js backs up existing Claude settings and only removes hooks matching nathangong notify.js.
Source & flagged code
2 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgFindings
Affected versions and remediation
This report applies to nathangong@0.1.0.
The versions list below shows the verdict for each recorded version.
- Avoid installing nathangong@0.1.0. 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.