/pharon:check-incident <incident-id>from pharon
Check locally and read-only whether this machine and repo are affected by a Pharon security incident, and which secrets to rotate. Use when the user runs /pharon:check-incident <id> or asks whether a Pharon alert affects them.
Ships in pharon. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Incident ID: $ARGUMENTS
Run pharon check $ARGUMENTS --json. (If pharon is not found, run "${CLAUDE_PLUGIN_ROOT}/bin/pharon" check $ARGUMENTS --json.)
If the command fails because the incident is unsigned or the signature is invalid, stop. Tell the user the incident file failed verification and must not be trusted. Do not try to check anything by hand from it.
The check needs no Pharon account. If it fails because the incident isn't found, say so and point to https://getpharon.com/notices for current ids.
Turn the JSON into a short verdict, in this shape:
🔴 Affected:
.venvhas litellm 1.107.0, installed Oct 21 at 06:12 UTC (during the exposure window). The malicious startup file is present. 🟢 Not affected:worker/requirements.txtpins 1.106.2. Rotate now (names only):OPENAI_API_KEY,AWS_ACCESS_KEY_ID, your SSH key (~/.ssh/id_ed25519). They were available in that environment. Next steps: the incident's remediation list, then anymanual_checks.
verdict: 🔴 confirmed, 🟠 likely, 🟢 not affected, ⚪ unknown (say exactly where to look manually).locations[].label), worst first. Keep the evidence wording concrete: versions, file paths, dates.rotate list as names only. Say "Rotate now" only when rotate_now is true; otherwise "If you turn out to be affected, rotate:".Offer to share (spec §13.6), only if this repo is set up with Pharon (pharon status --json shows linked: true); if it doesn't, or the command fails, skip this step. Ask with AskUserQuestion: "Share this verdict with your team?" Options: Share ("uploads only the verdict, location labels and secret names to rotate, no values or details") and Keep it local. Only on Share, run pharon check $ARGUMENTS --report --json and confirm it was shared (shared: true). The team then sees it on the incident page.
python, pip or uv in an environment the check marks as affected: a malicious .pth file runs whenever that interpreter starts.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub getpharon/pharon --plugin pharon4 skills in this plugin
/setupSet up Pharon for this repo, or repair it - log in, link the repo, scan the stack locally, confirm services the scan can't see, review exactly what will be uploaded and confirm the first upload. Use for /pharon:setup, a "login expired" notice from Pharon, or when the user wants to re-scan or review their Pharon inventory./showShow exactly what Pharon would upload for this repo right now (the inventory, no code and no secret values). Use for /pharon:show or when the user asks what Pharon sends./statusShow Pharon's status for this repo - last sync, queued uploads and open incidents. Use for /pharon:status.Other plugins' skills for the same job