{
 "source": "obra/superpowers",
 "url": "https://github.com/obra/superpowers",
 "kind": "plugin",
 "kind_label": "Plugin",
 "note": null,
 "commit": "22f0b463e7a5e579904dd6211a520321035526f7",
 "scanned_at": "2026-11-07T21:35:47+00:00",
 "tool_version": "0.1.0",
 "state": "reviewed",
 "verdict": {
  "level": "low",
  "label": "Low risk",
  "score": 3
 },
 "description": "An agentic skills framework & software development methodology that works.",
 "stars": 314063,
 "license": "MIT",
 "pushed_at": "2026-11-03T23:24:58Z",
 "signals": [],
 "files": 236,
 "plugins": 1,
 "component_counts": {
  "hook": 1,
  "manifest": 1,
  "marketplace": 1,
  "package": 2,
  "skill": 15
 },
 "auto_runs": [
  {
   "when": "SessionStart (startup|clear|compact)",
   "what": "\"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd\" session-start",
   "type": "command hook",
   "plugin": "superpowers",
   "file": "hooks/hooks.json"
  }
 ],
 "processes": [],
 "hosts": [],
 "env_vars": [
  "BRAINSTORM_TOKEN",
  "BRAINSTORM_TOKEN_FILE",
  "TEST_PATTERN"
 ],
 "path_executables": [],
 "matches": {
  "critical": 0,
  "high": 0,
  "medium": 0,
  "low": 3,
  "info": 1
 },
 "matches_total": 4,
 "dismissed": 12,
 "findings": [
  {
   "id": "F-001",
   "title": "Hook script injects text into Claude's context",
   "severity": "low",
   "category": "prompt-injection",
   "category_label": "Text that tries to steer Claude against the user",
   "location": "hooks/session-start:81",
   "rule_id": "HOOK-CONTEXT-INJECTION",
   "verdict": "confirmed",
   "why": "hooks/session-start:25-49,81 reads the bundled skills/using-superpowers/SKILL.md and emits it as SessionStart additionalContext wrapped in <EXTREMELY_IMPORTANT>. No network, no env/secret reads, no writes. The injected text (SKILL.md:10-16) pushes Claude hard to invoke skills but defers to user instructions (SKILL.md:65). This is the plugin's stated purpose; it does change Claude's behaviour in every session.",
   "fix": "Keep injected text factual and visible to the user."
  },
  {
   "id": "F-009",
   "title": "Claims priority over your own instructions",
   "severity": "low",
   "category": "prompt-injection",
   "category_label": "Text that tries to steer Claude against the user",
   "location": "skills/using-superpowers/SKILL.md:13",
   "rule_id": "PROMPT-PRIORITY",
   "verdict": "confirmed",
   "why": "skills/using-superpowers/SKILL.md:11-15 uses absolute language ('YOU DO NOT HAVE A CHOICE', 'not negotiable') and this file is auto-injected each session by hooks/session-start. However it only mandates invoking the plugin's own skills and explicitly says user instructions take precedence (SKILL.md:65). Behaviour-steering, not an override of safety or user control.",
   "fix": "Soften the wording, or state that user instructions take precedence."
  },
  {
   "id": "A-001",
   "title": "Visual companion loads vendor-hosted logo with version param (opt-out usage telemetry)",
   "severity": "low",
   "category": "network",
   "category_label": "Outbound network connections",
   "location": "skills/brainstorming/scripts/server.cjs:249",
   "rule_id": "AGENT-NETWORK",
   "verdict": "confirmed",
   "why": "Found by the agent while reading the code.",
   "fix": "Set SUPERPOWERS_DISABLE_TELEMETRY=1 in your environment if you don't want the beacon."
  },
  {
   "id": "A-002",
   "title": "Brainstorm server can bind to non-loopback hosts and runs BRAINSTORM_OPEN_CMD through a shell",
   "severity": "info",
   "category": "network",
   "category_label": "Outbound network connections",
   "location": "skills/brainstorming/scripts/server.cjs:540",
   "rule_id": "AGENT-NETWORK",
   "verdict": "confirmed",
   "why": "Found by the agent while reading the code.",
   "fix": "Keep the default loopback bind. Run skills/brainstorming/scripts/stop-server.sh after use, or let the idle or owner-exit watchdog stop it."
  }
 ],
 "withheld": 0,
 "disclosure": null,
 "agent": {
  "model": "claude-opus-5-5",
  "turns": 25,
  "reviewed": 14,
  "new_findings": 2
 },
 "summary": "Superpowers (obra/superpowers v7.0.2) is a library of 15 Markdown skills (TDD, debugging, planning, code review, git worktrees, brainstorming, and others) plus one SessionStart hook.\n\n**What runs automatically**\nThe only automatic code is the SessionStart hook (hooks/hooks.json \u2192 hooks/run-hook.cmd \u2192 hooks/session-start). It reads the bundled skills/using-superpowers/SKILL.md using bash builtins only, escapes it as JSON and prints it as additionalContext. It makes no network calls, reads no secrets or environment data beyond platform-detection variables, writes no files, and does not update itself. The injected text tells Claude, in very forceful language, to check for and invoke skills before responding (SKILL.md:10-16). It also says user instructions and CLAUDE.md take precedence (SKILL.md:65). This is the plugin's stated purpose, but it does change Claude's behaviour in every session. I confirmed F-001 and F-009 at low severity.\n\n**What runs only when a skill is used**\n- **Brainstorming visual companion (optional):** starts a local Node HTTP/WebSocket server (start-server.sh, server.cjs). It binds to 127.0.0.1 by default, requires a random 256-bit key, and stores its session files in /tmp or <project>/.superpowers with owner-only permissions. It keeps running in the background until it has been idle for 4 hours or its owner process exits.\n- **Logo telemetry:** pages served by the companion load a logo from primeradiant.com with the plugin version in the URL. This is disclosed in README.md:398-400 and turned off by SUPERPOWERS_DISABLE_TELEMETRY, DISABLE_TELEMETRY or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC (A-001).\n- **diagnosing-superpowers skill:** reads local session transcripts and can file GitHub issues with gh or curl. Its own instructions require the user to approve the exact issue text and any export bundle first (SKILL.md:55-66, 101-103).\n\n**What I dismissed**\n- **Permission bypasses (F-003 to F-007) and the CLAUDE.md copy (F-002):** all are in maintainer test scripts under tests/ that the plugin never runs.\n- **\"API key\" from Gitleaks (F-014):** the public RFC 6455 sample WebSocket key.\n- **F-008, F-010 to F-013:** the hidden HTML comment and the \"priority\" matches are in a PR template, documentation and a test file, none of which is loaded into Claude's context.\n\nI found no credential access, no exfiltration, no downloaded code, and no writes to ~/.claude or shell profiles.",
 "scanners": {
  "gitleaks": "ran (1 hits)",
  "osv-scanner": "ran (0 advisories)",
  "semgrep": "ran (0 hits)"
 },
 "history": [
  {
   "commit": "22f0b463e7a5e579904dd6211a520321035526f7",
   "scanned_at": "2026-11-07T21:35:47+00:00",
   "reviewed": true,
   "auto_runs": 1,
   "level": "low"
  }
 ],
 "change": null
}
