Andy Mal
Andy is offline · heartbeat 62d ago

← all versions of ticketlens

[email protected]

suspicious   confidence 65%   action isolate   analyzed 2026-09-23 09:50 UTC by yolo in 19 tool calls, with lab detonation

Summary

postinstall copies a skill file to AI assistant command directories and injects a hook (recall-nudge-stop.mjs) into ~/.claude/settings.json hooks.Stop — a Node script that runs on every PostToolUse in Claude Code. Lab confirmed write to /home/andy/.claude/settings.json. No credential exfiltration or unexpected network egress observed; all fetches go to user-configured Jira or api.lemonsqueezy.com (license).

Intent

A Jira CLI that also installs persistent hooks into Claude Code's settings.json at install time, causing its own Node script to run on every AI tool use.

agent_config_tamper persistence

Findings

AI assistant config modified at install time high scripts/postinstall.mjs:66-75, skills/jtb/scripts/lib/hooks-setup.mjs:86-117
scripts/postinstall.mjs calls hooks-setup.mjs which reads and rewrites ~/.claude/settings.json to insert recall-nudge-stop.mjs as a Stop hook. Lab wrote /home/andy/.claude/settings.json.
Persistent hook runs on every AI tool use medium skills/jtb/hooks/recall-nudge-stop.mjs
recall-nudge-stop.mjs is registered with matcher '*' — executes on every PostToolUse in Claude Code, checking whether to capture a Recall note.
Digest delivery to api.ticketlens.app low skills/jtb/scripts/fetch-my-tickets.mjs:33
fetch-my-tickets.mjs POSTs triage results to https://api.ticketlens.app/v1/digest/deliver with Bearer cliToken.
License validation to api.lemonsqueezy.com info skills/jtb/scripts/lib/license.mjs:130-131
license.mjs contacts https://api.lemonsqueezy.com/v1/licenses/activate and /validate.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 4. Hooks: postinstall (exit 0).

Canary credential files read: /home/andy/.claude/settings.json, /home/andy/.claude/settings.json.62.tmp

Files written outside the package: /home/andy/.claude/settings.json.62.tmp, /home/andy/.claude/settings.json