{"package":"great-cto","version":"3.28.4","known":true,"status":"done","discovered_at":1790184071282,"has_install_script":true,"report_url":"https://andymal.com/packages/great-cto/3.28.4","verdict":"suspicious","action":"isolate","confidence":0.65,"summary":"The postinstall hook is relatively conservative (version check + optional board start). However, the installed Claude Code plugin (board/.claude-plugin/plugin.json) runs shell commands on every session start that clone git repos, copy/remove agent/command files in ~/.claude/, and write .great_cto/env.sh. Multiple skill prompt files contain critical prompt-injection text instructing agents to hide actions from their users (README.md:31, assets/skills/finishing-a-development-branch/api-critic-prompt.md:61, schema-critic-prompt.md:59, board/packages/board/public/index.html:125,2165). The beads.mjs module exports the full process environment (including API keys) to child processes (board/packages/board/lib/beads.mjs:103). Telemetry is opt-IN default (dist/telemetry.js), which is acceptable.","intent":"Claims to be a Claude Code plugin installer for agentic development workflows. Actually installs extensive agent files, commands, and skills into ~/.claude/ on every Claude Code session start via plugin.json hooks, and includes prompt-injection text asking agents to hide actions from users.","capabilities":["agent_config_tamper","credential_access","reconnaissance","persistence"],"iocs":{"domains":["telemetry.greatcto.systems"],"urls":["https://telemetry.greatcto.systems/v1/event"],"ips":[],"paths":["~/.claude/plugins/cache/*/great_cto/*/","~/.claude/commands/","~/.claude/agents/","~/.great_cto/","~/.great_cto/env.sh","~/.great_cto/catalog","~/.great_cto/anthropic-skills","~/.great_cto/personal-skills"],"hashes":["cf53aca78f582552ab5ade70a5e9576da638df7a"]},"analyzed_at":1790291181808,"detonated":true,"model":"yolo","post_url":"https://andymal.com/blog/2026-09-24-great-cto-3.28.4","findings":[{"title":"Prompt-injection: asks agent to hide actions from user","detail":"Skill prompt files contain instructions telling the agent to decline running instead of quietly continuing, or to hardcode responses that will break silently — effectively asking the agent to conceal its behavior from the human user.","severity":"critical","location":"README.md:31"},{"title":"Prompt-injection: asks agent to hide actions from user","detail":"api-critic-prompt.md instructs the agent to hardcode old response shapes that will break silently, concealing the breakage from the user.","severity":"critical","location":"assets/skills/finishing-a-development-branch/api-critic-prompt.md:61"},{"title":"Prompt-injection: asks agent to hide actions from user","detail":"schema-critic-prompt.md instructs the agent to continue working even when type changes will silently truncate or fail on existing values.","severity":"critical","location":"assets/skills/finishing-a-development-branch/schema-critic-prompt.md:59"},{"title":"Prompt-injection: asks agent to hide actions from user","detail":"CSS comments in index.html instruct the agent to win the cascade silently rather than lose it, concealing failures.","severity":"critical","location":"board/packages/board/public/index.html:125"},{"title":"Prompt-injection: asks agent to hide actions from user","detail":"CSS comments in index.html instruct .inbox-row .actions to win the cascade silently.","severity":"critical","location":"board/packages/board/public/index.html:2165"},{"title":"Agent config tamper on every Claude Code session start","detail":"board/.claude-plugin/plugin.json hooks run shell commands on SessionStart that clone git repos (claude-code-templates, anthropics/skills, ai-agent-skills), copy/remove agent/command files in ~/.claude/agents/ and ~/.claude/commands/, and write .great_cto/env.sh — all without explicit user consent per invocation.","severity":"high","location":"board/.claude-plugin/plugin.json:58-95"},{"title":"Environment dump to child processes","detail":"beads.mjs exports the full process.env (including API keys, tokens, secrets) to spawned child processes via bdEnv().","severity":"high","location":"board/packages/board/lib/beads.mjs:103"},{"title":"Destructive operation patterns present in plugin.json","detail":"plugin.json contains regex patterns matching truncate --all, mkfs, dd, chmod 000 — potentially used to detect or prevent destructive operations, but the patterns themselves are present.","severity":"medium","location":"board/.claude-plugin/plugin.json:140"}],"lab":{"ok":true,"lab_version":2,"duration_ms":2901,"lab_ip":"10.77.0.157","hooks":[{"name":"postinstall","command":"node postinstall.mjs","exit":0,"timed_out":false,"seconds":0,"stdout_tail":"\n> great-cto@3.28.4 postinstall\n> node postinstall.mjs\n\n","stderr_tail":""}],"process_count":4,"processes":["npm run-script postinstall --if-present --ignore-scripts=false","node /usr/local/bin/npm run-script postinstall --if-present --ignore-scripts=false","sh -c node postinstall.mjs","node postinstall.mjs"],"network":{"connects":[],"dns":[],"http":[],"tls":[],"tcp":[]},"files_written":[],"files_deleted":[],"canary_reads":[],"canary_leaks":[],"persistence":[],"notes":[]},"static":{"manifest":{"name":"great-cto","version":"3.28.4","description":"One command install for the great_cto Claude Code plugin. Auto-detects your stack, picks the right archetype, bootstraps PROJECT.md.","scripts":{"build":"tsc","test":"npm run build && node --test tests/*.test.mjs tests/**/*.test.mjs","test:e2e":"npm run build && node ../../tests/run-archetype-e2e.mjs","postinstall":"node postinstall.mjs","prepack":"node scripts/bundle-board.mjs","prepublishOnly":"npm run build"},"install_hooks":{"postinstall":"node postinstall.mjs"},"bin":{"great-cto":"index.mjs"},"dependencies":[],"author":"{\"name\":\"Alexander Velikiy\",\"url\":\"https://hashnode.com/@Greatcto\"}","repository":"git+https://github.com/avelikiy/great_cto.git","homepage":"https://greatcto.systems","license":"MIT","hasInstallScript":true},"files":[{"path":"board/packages/board/public/index.html","size":473240,"kind":"text","score":1,"hits":["code_execution","obfuscation","agent_config_tamper","browser_theft","clipboard_screen","inj:conceal_from_user"]},{"path":"dist/main.js","size":70050,"kind":"text","score":1,"hits":["credential_access","credential_harvest","network_egress","code_execution","persistence","agent_config_tamper","reconnaissance"]},{"path":"board/.claude-plugin/plugin.json","size":25693,"kind":"text","score":0.7686666666666666,"hits":["agent_config_tamper","destructive","inj:system_impersonation"]},{"path":"dist/update-check.js","size":16285,"kind":"text","score":0.7684,"hits":["credential_harvest","network_egress","code_execution"]},{"path":"board/scripts/lib/cross-model-review.mjs","size":14239,"kind":"text","score":0.7020666666666667,"hits":["credential_harvest","code_execution","agent_config_tamper"]},{"path":"board/packages/board/lib/metrics.mjs","size":20335,"kind":"text","score":0.6351666666666667,"hits":["agent_config_tamper","reconnaissance","crypto_wallet"]},{"path":"board/packages/board/lib/projects.mjs","size":20250,"kind":"text","score":0.6180666666666667,"hits":["code_execution","agent_config_tamper","reconnaissance"]},{"path":"board/packages/board/lib/fleet.mjs","size":21821,"kind":"text","score":0.5880666666666667,"hits":["code_execution","agent_config_tamper","reconnaissance"]},{"path":"board/packages/board/lib/beads.mjs","size":41860,"kind":"text","score":0.5847333333333333,"hits":["credential_harvest","code_execution","reconnaissance"]},{"path":"dist/detect.js","size":61598,"kind":"text","score":0.5518333333333334,"hits":["credential_access","agent_config_tamper"]},{"path":"dist/companion.js","size":6006,"kind":"text","score":0.5345666666666666,"hits":["code_execution","agent_config_tamper"]},{"path":"board/packages/board/lib/routes.mjs","size":94350,"kind":"text","score":0.5282333333333333,"hits":["code_execution","reconnaissance","browser_theft"]},{"path":"dist/llm-fallback.js","size":6358,"kind":"text","score":0.501,"hits":["credential_access"]},{"path":"board/scripts/lib/second-opinion.mjs","size":14580,"kind":"text","score":0.49456666666666665,"hits":["credential_harvest","code_execution"]},{"path":"board/scripts/lib/agent-posture.mjs","size":10713,"kind":"text","score":0.47156666666666663,"hits":["download_execute","code_execution"]},{"path":"board/scripts/lib/router-key.mjs","size":6799,"kind":"text","score":0.4678333333333333,"hits":["credential_access","reconnaissance"]},{"path":"dist/installer.js","size":8084,"kind":"text","score":0.4512333333333334,"hits":["code_execution","agent_config_tamper"]},{"path":"dist/self-upgrade.js","size":10149,"kind":"text","score":0.4512333333333334,"hits":["code_execution","agent_config_tamper"]},{"path":"dist/worker.js","size":7316,"kind":"text","score":0.4512333333333334,"hits":["credential_harvest","code_execution"]},{"path":"dist/adapt.js","size":25028,"kind":"text","score":0.4175,"hits":["agent_config_tamper"]},{"path":"dist/overlay.js","size":11774,"kind":"text","score":0.4175,"hits":["agent_config_tamper"]},{"path":"dist/settings.js","size":2622,"kind":"text","score":0.4175,"hits":["agent_config_tamper"]},{"path":"postinstall.mjs","size":7096,"kind":"text","score":0.41123333333333334,"hits":["code_execution","agent_config_tamper"],"role":"entry"},{"path":"dist/serve.js","size":11671,"kind":"text","score":0.401,"hits":["obfuscation"]},{"path":"board/packages/board/lib/data-readers.mjs","size":27756,"kind":"text","score":0.3843333333333333,"hits":["agent_config_tamper","reconnaissance"]},{"path":"board/packages/board/lib/docs.mjs","size":18712,"kind":"text","score":0.33416666666666667,"hits":["agent_config_tamper"]},{"path":"dist/ci.js","size":5006,"kind":"text","score":0.33416666666666667,"hits":["agent_config_tamper"]},{"path":"dist/codex.js","size":2625,"kind":"text","score":0.33416666666666667,"hits":["agent_config_tamper"]},{"path":"README.md","size":4809,"kind":"text","score":0.33416666666666667,"hits":["agent_config_tamper","inj:conceal_from_user"]},{"path":"board/packages/board/lib/transcripts.mjs","size":7996,"kind":"text","score":0.30100000000000005,"hits":["agent_config_tamper","reconnaissance"]},{"path":"board/packages/board/mcp-server.mjs","size":11475,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":"dist/board-path.js","size":4377,"kind":"text","score":0.25083333333333335,"hits":["agent_config_tamper"]},{"path":"dist/board-daemon.js","size":6999,"kind":"text","score":0.2505,"hits":["persistence"]},{"path":"board/packages/board/lib/share.mjs","size":6084,"kind":"text","score":0.2005,"hits":["network_egress"]},{"path":"board/packages/board/lib/plan-date.mjs","size":5528,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":"board/packages/board/server.mjs","size":9620,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":"board/scripts/lib/codex-exec.mjs","size":7230,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":"board/scripts/lib/gate-plan.mjs","size":5800,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":"board/scripts/lib/receipt.mjs","size":17410,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":"board/scripts/lib/second-opinion-for-tree.mjs","size":3985,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":"dist/land.js","size":3240,"kind":"text","score":0.2004,"hits":["code_execution"]},{"path":"board/packages/board/lib/update-alert.mjs","size":4335,"kind":"text","score":0.1505,"hits":["network_egress"]},{"path":"board/packages/board/lib/util.mjs","size":4213,"kind":"text","score":0.1505,"hits":["network_egress"]},{"path":"board/packages/board/lib/watchers.mjs","size":6978,"kind":"text","score":0.12040000000000001,"hits":["code_execution"]},{"path":"package.json","size":2024,"kind":"text","score":0.10033333333333333,"hits":["install_hook_shell"]},{"path":"dist/telemetry.js","size":9272,"kind":"text","score":0.08350000000000002,"hits":["reconnaissance"]},{"path":"board/packages/board/lib/config.mjs","size":2123,"kind":"text","score":0.050166666666666665,"hits":["reconnaissance"]},{"path":"board/scripts/lib/pipeline-health.mjs","size":5737,"kind":"text","score":0.050166666666666665,"hits":["reconnaissance"]},{"path":"assets/skills/brainstorming/spec-critic-prompt.md","size":5967,"kind":"text","score":0,"hits":[]},{"path":"assets/skills/finishing-a-development-branch/api-critic-prompt.md","size":6170,"kind":"text","score":0,"hits":["inj:conceal_from_user"]},{"path":"assets/skills/finishing-a-development-branch/schema-critic-prompt.md","size":6223,"kind":"text","score":0,"hits":["inj:conceal_from_user"]},{"path":"assets/skills/writing-plans/arch-critic-prompt.md","size":6152,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/fixtures/fake-bd-fail.sh","size":275,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/fixtures/fake-bd-slow.sh","size":428,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/lib/alert-recurrence.mjs","size":3105,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/lib/alerts.mjs","size":24969,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/lib/digest-policy.mjs","size":2385,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/lib/log.mjs","size":1511,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/lib/notifications.mjs","size":2096,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/lib/portfolio.mjs","size":8087,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/lib/sse.mjs","size":574,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/lib/state.mjs","size":1767,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/lib/verdicts.mjs","size":15466,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/lib/view-counter.mjs","size":5250,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/public/assets/apple-touch-icon.png","size":4989,"kind":"binary","score":0,"hits":[]},{"path":"board/packages/board/public/assets/favicon-16.png","size":505,"kind":"binary","score":0,"hits":[]},{"path":"board/packages/board/public/assets/favicon-32.png","size":834,"kind":"binary","score":0,"hits":[]},{"path":"board/packages/board/public/assets/favicon.ico","size":834,"kind":"binary","score":0,"hits":[]},{"path":"board/packages/board/public/assets/favicon.svg","size":367,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/public/assets/fonts/fonts.css","size":1377,"kind":"binary","score":0,"hits":[]},{"path":"board/packages/board/public/assets/fonts/geist-mono-variable.woff2","size":23108,"kind":"binary","score":0,"hits":[]},{"path":"board/packages/board/public/assets/fonts/geist-variable.woff2","size":29288,"kind":"binary","score":0,"hits":[]},{"path":"board/packages/board/public/assets/fonts/PROVENANCE.md","size":1316,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/public/assets/vendor/marked.min.js","size":36521,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/public/assets/vendor/PROVENANCE.md","size":1238,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/public/assets/vendor/purify.min.js","size":21531,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/public/share.html","size":45764,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/public/sw.js","size":2365,"kind":"text","score":0,"hits":[]},{"path":"board/packages/board/push-adapter.mjs","size":8132,"kind":"text","score":0,"hits":[]},{"path":"board/packages/cli/dist/archetypes.js","size":70040,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/agent-budget.mjs","size":10523,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/change-tier.mjs","size":5310,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/cost-meter.mjs","size":11600,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/dag-metric.mjs","size":12860,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/doc-links.mjs","size":6691,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/freshness.mjs","size":8575,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/gate-reversibility.mjs","size":5917,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/gate-tier.mjs","size":13366,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/judge-model.mjs","size":2112,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/pipeline-wake.mjs","size":5000,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/provider-exhaustion.mjs","size":7907,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/scores.mjs","size":7076,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/stack-capabilities.mjs","size":9385,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/stand-down.mjs","size":6400,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/system-map.mjs","size":9017,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/verdict-record.mjs","size":12369,"kind":"text","score":0,"hits":[]},{"path":"board/scripts/lib/waiting-on-you.mjs","size":5557,"kind":"text","score":0,"hits":[]},{"path":"dist/archetypes.js","size":70040,"kind":"text","score":0,"hits":[]},{"path":"dist/bootstrap.js","size":7947,"kind":"text","score":0,"hits":[]},{"path":"dist/flow.js","size":9655,"kind":"text","score":0,"hits":[]},{"path":"dist/jurisdictions.js","size":11520,"kind":"text","score":0,"hits":[]},{"path":"dist/mcp.js","size":20178,"kind":"text","score":0,"hits":[]},{"path":"dist/packs.js","size":5364,"kind":"text","score":0,"hits":[]},{"path":"dist/report.js","size":20698,"kind":"text","score":0,"hits":[]},{"path":"dist/semver.js","size":405,"kind":"text","score":0,"hits":[]},{"path":"dist/task-queue.js","size":3079,"kind":"text","score":0,"hits":[]},{"path":"dist/ui.js","size":1749,"kind":"text","score":0,"hits":[]},{"path":"dist/update-check-worker.js","size":391,"kind":"text","score":0,"hits":[]},{"path":"dist/upgrade.js","size":4613,"kind":"text","score":0,"hits":[]},{"path":"dist/webhook-cli.js","size":5952,"kind":"text","score":0,"hits":[]},{"path":"dist/webhook-config.js","size":2261,"kind":"text","score":0,"hits":[]},{"path":"dist/webhook-dispatch.js","size":9256,"kind":"text","score":0,"hits":[]},{"path":"index.mjs","size":865,"kind":"text","score":0,"hits":[],"role":"entry"},{"path":"LICENSE","size":1301,"kind":"text","score":0,"hits":[]}],"file_count":114,"unpacked_size":1824824,"findings":[{"title":"Install hook","detail":"postinstall: node postinstall.mjs","severity":"low","location":"package.json"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"`regulated` · `greenfield` 3. **Installs** the plugin into `~/.claude/plugins/cache/local/great_cto/<latest>/` 4. **Enables** it i","severity":"high","location":"README.md:17"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"gins/cache/local/great_cto/<latest>/` 4. **Enables** it in `~/.claude/settings.json` (atomic merge — other keys preserved, backup","severity":"high","location":"README.md:18"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"\"command\": \"PLUGIN_DIR=${CLAUDE_PLUGIN_ROOT:-$(ls -d ~/.claude/plugins/cache/*/great_cto/*/ 2>/dev/null | sort -V | tail -1","severity":"high","location":"board/.claude-plugin/plugin.json:58"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"local/bin:$PATH\\\"; PLUGIN_DIR=${CLAUDE_PLUGIN_ROOT:-$(ls -d ~/.claude/plugins/cache/*/great_cto/*/ 2>/dev/null | sort -V | tail -1","severity":"high","location":"board/.claude-plugin/plugin.json:64"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"TO: plugin dir not found \\u2014 run /update'; else mkdir -p ~/.claude/commands ~/.claude/agents ~/.great_cto .great_cto; for F in","severity":"high","location":"board/.claude-plugin/plugin.json:64"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"found \\u2014 run /update'; else mkdir -p ~/.claude/commands ~/.claude/agents ~/.great_cto .great_cto; for F in ~/.claude/commands/","severity":"high","location":"board/.claude-plugin/plugin.json:64"},{"title":"Destructive operation","detail":"[;&|[:space:]])truncate[[:space:]]+--all|(^|[;&|[:space:]])(mkfs|dd)[[:space:]]|(^|[;&|[:space:]])chmod[[:space:]]+[0-7]*0{3","severity":"critical","location":"board/.claude-plugin/plugin.json:140"},{"title":"Dumps the whole environment (API keys live there)","detail":"THS.filter((d) => !have.has(d)); return add.length ? { ...process.env, PATH: [...add, cur].filter(Boolean).join(path.delimiter) }","severity":"high","location":"board/packages/board/lib/beads.mjs:103"},{"title":"Dumps the whole environment (API keys live there)","detail":"ATH: [...add, cur].filter(Boolean).join(path.delimiter) } : process.env; } // Centralized bd invocation — resolved binary + augmente","severity":"high","location":"board/packages/board/lib/beads.mjs:103"},{"title":"Executes commands or dynamic code","detail":"fs'; import path from 'path'; import os from 'os'; import { spawnSync, spawn } from 'child_process'; import { readSafe } from './","severity":"medium","location":"board/packages/board/lib/beads.mjs:4"},{"title":"Executes commands or dynamic code","detail":"th'; import os from 'os'; import { spawnSync, spawn } from 'child_process'; import { readSafe } from './util.mjs'; import { bdCache }","severity":"medium","location":"board/packages/board/lib/beads.mjs:4"},{"title":"Executes commands or dynamic code","detail":"bin`) or a user install (`~/.local/bin`) put `bd`. // Then `spawnSync('bd', …)` → ENOENT, and a gate Approve fails with the opaqu","severity":"medium","location":"board/packages/board/lib/beads.mjs:85"},{"title":"Executes commands or dynamic code","detail":"ame back was indistinguishable from beads failing. return spawnSync(BD_BIN, args, { encoding: 'utf8', timeout: 20000, ...opts,","severity":"medium","location":"board/packages/board/lib/beads.mjs:112"},{"title":"System reconnaissance","detail":"A_PATHS = ['/opt/homebrew/bin', '/usr/local/bin', path.join(os.homedir(), '.local', 'bin'), '/usr/bin', '/bin']; const BD_BIN = (()","severity":"low","location":"board/packages/board/lib/beads.mjs:89"},{"title":"System reconnaissance","detail":"HOST || '127.0.0.1'); })(); const GREAT_CTO_DIR = path.join(os.homedir(), '.great_cto'); const SHARE_STATE_FILE = path.join(GREAT_CT","severity":"low","location":"board/packages/board/lib/config.mjs:22"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"{ id: 'skill', scope: 'project', layer: 'L1', name: 'SKILL.md', desc: 'Pipeline skill — synced from plugin',","severity":"high","location":"board/packages/board/lib/data-readers.mjs:29"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"from plugin', path: path.join(cwd, '.great_cto', 'SKILL.md') }, { id: 'codebase', scope: 'project', layer: 'L2'","severity":"high","location":"board/packages/board/lib/data-readers.mjs:29"},{"title":"System reconnaissance","detail":"} function getMemory(cwd = process.cwd()) { const home = os.homedir(); const layers = [ // Project-local (.great_cto/) — L1","severity":"low","location":"board/packages/board/lib/data-readers.mjs:24"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":": 'state', label: 'This project', files: ['README.md', 'CLAUDE.md'], why: 'what it is, for a person arriving', }, { k","severity":"high","location":"board/packages/board/lib/docs.mjs:40"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"ing in: * * 1. an exact named file README.md / CLAUDE.md — not a guess at all * 2. front-matter `type:` t","severity":"high","location":"board/packages/board/lib/docs.mjs:182"},{"title":"Executes commands or dynamic code","detail":"_json|parse.*fail/i }, { key: 'spawn-fail', re: /spawn(Sync)?\\b.*ENOENT|command not found/i }, ]; function cluster","severity":"medium","location":"board/packages/board/lib/fleet.mjs:58"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"the /agents tab. Composes: // • canonical agent files at ~/.claude/agents/great_cto-*.md // • verdict log at ~/.great_cto/ver","severity":"high","location":"board/packages/board/lib/fleet.mjs:17"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"~/.great_cto/verdicts/<agent>.log // • retire sidecar at ~/.claude/agents/great_cto-<slug>.md.retired // // Domain taxonomy is","severity":"high","location":"board/packages/board/lib/fleet.mjs:19"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"sts. // // getAgentsFleet and getAgentProfile read the real ~/.claude/agents, which left // them on the integration path and untes","severity":"high","location":"board/packages/board/lib/fleet.mjs:27"},{"title":"System reconnaissance","detail":"GENTS_DIR = process.env.GREAT_CTO_AGENTS_DIR || path.join(os.homedir(), '.claude', 'agents'); function deriveDomain(slug) { con","severity":"low","location":"board/packages/board/lib/fleet.mjs:33"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"ts. // Filter against canonical list of installed agents (~/.claude/agents/great_cto-*.md) // so a typo in a verdict line does","severity":"high","location":"board/packages/board/lib/metrics.mjs:73"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":", }, }; } // Canonical list of installed agents from ~/.claude/agents/great_cto-*.md. // Cached with a 30s TTL to avoid sta","severity":"high","location":"board/packages/board/lib/metrics.mjs:372"},{"title":"System reconnaissance","detail":"onicalAgentsCache.agents; } const agentsDir = path.join(os.homedir(), '.claude', 'agents'); const set = new Set(); try {","severity":"low","location":"board/packages/board/lib/metrics.mjs:380"},{"title":"Crypto wallet targeting or address swapping","detail":"o-*.md) // so a typo in a verdict line does not produce a phantom agent in the dashboard. // // Previously: non-canonical","severity":"high","location":"board/packages/board/lib/metrics.mjs:74"},{"title":"Executes commands or dynamic code","detail":"import { statSync, readFileSync } from 'node:fs'; import { spawnSync } from 'node:child_process'; import path from 'node:path';","severity":"medium","location":"board/packages/board/lib/plan-date.mjs:47"},{"title":"Executes commands or dynamic code","detail":"dFileSync } from 'node:fs'; import { spawnSync } from 'node:child_process'; import path from 'node:path'; const ISO_DAY = /(\\d{4}-\\d","severity":"medium","location":"board/packages/board/lib/plan-date.mjs:47"},{"title":"Executes commands or dynamic code","detail":"ir) { const out = new Map(); let res; try { res = spawnSync('git', ['log', '--diff-filter=A', '--name-only',","severity":"medium","location":"board/packages/board/lib/plan-date.mjs:77"},{"title":"Executes commands or dynamic code","detail":"fs'; import path from 'path'; import os from 'os'; import { spawnSync } from 'child_process'; import { planGates } from '../../..","severity":"medium","location":"board/packages/board/lib/projects.mjs:4"},{"title":"Executes commands or dynamic code","detail":"rom 'path'; import os from 'os'; import { spawnSync } from 'child_process'; import { planGates } from '../../../scripts/lib/gate-plan","severity":"medium","location":"board/packages/board/lib/projects.mjs:4"},{"title":"Executes commands or dynamic code","detail":"ect_size:\\s*(\\S+)/m) || [])[1] || 'medium'; const out = spawnSync('git', ['diff', '--name-only', 'HEAD'], { cwd: dir, encodin","severity":"medium","location":"board/packages/board/lib/projects.mjs:200"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"ither, for the same reason and by the // same mechanism: `~/.claude/plugins/cache/local/great_cto/2.95.0` ships a // `.great_c","severity":"high","location":"board/packages/board/lib/projects.mjs:221"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"; } catch {} } // 2) Claude Code's known project list (~/.claude/projects/<encoded-path>/) try { const ccProj = path.jo","severity":"high","location":"board/packages/board/lib/projects.mjs:315"},{"title":"System reconnaissance","detail":"raw = slugOrPath.startsWith('~') ? slugOrPath.replace(/^~/, os.homedir()) : slugOrPath; const resolved = path.resolve(raw); retu","severity":"low","location":"board/packages/board/lib/projects.mjs:18"},{"title":"System reconnaissance","detail":"const resolved = path.resolve(raw); return isInsideDir(os.homedir(), resolved) ? resolved : null; } // ── Project registry ───","severity":"low","location":"board/packages/board/lib/projects.mjs:20"},{"title":"System reconnaissance","detail":"lved = path.resolve(dir); if (resolved === path.resolve(os.homedir())) return null; if (isInsideDir(path.join(os.homedir(),","severity":"low","location":"board/packages/board/lib/projects.mjs:232"},{"title":"System reconnaissance","detail":"e(os.homedir())) return null; if (isInsideDir(path.join(os.homedir(), '.claude', 'plugins'), resolved)) return null; const e","severity":"low","location":"board/packages/board/lib/projects.mjs:233"},{"title":"Executes commands or dynamic code","detail":"import fs from 'fs'; import path from 'path'; import { execFileSync } from 'child_process'; import os from 'os'; import { get","severity":"medium","location":"board/packages/board/lib/routes.mjs:3"},{"title":"Executes commands or dynamic code","detail":"fs'; import path from 'path'; import { execFileSync } from 'child_process'; import os from 'os'; import { getVapidKeys, addSubscr","severity":"medium","location":"board/packages/board/lib/routes.mjs:3"},{"title":"System reconnaissance","detail":"nst resolved = path.resolve(projPath); const home = os.homedir(); if (!resolved.startsWith(home + path.sep) && resol","severity":"low","location":"board/packages/board/lib/routes.mjs:133"},{"title":"System reconnaissance","detail":"et installed = null; try { const root = path.join(os.homedir(), '.claude', 'plugins', 'cache', 'local', 'great_cto');","severity":"low","location":"board/packages/board/lib/routes.mjs:1402"},{"title":"Browser or OS credential store access","detail":"limits to // 100 emails/24h per verified email. // // Local state in ~/.great_cto/notifications.json: // { \"to\": \"user@ex","severity":"high","location":"board/packages/board/lib/routes.mjs:246"},{"title":"Network activity","detail":"ys const url = new URL(SHARE_ENDPOINT); const req = https.request({ hostname: url.hostname, path: url.pathname, me","severity":"medium","location":"board/packages/board/lib/share.mjs:64"},{"title":"Network activity","detail":"= JSON.stringify({ enabled: false }); const req = https.request({ hostname: 'greatcto.systems', path: `/r/${stat","severity":"medium","location":"board/packages/board/lib/share.mjs:108"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"never touched // the 2 GB of session transcripts sitting in ~/.claude/projects, which are the // only record of HOW an outcome was","severity":"high","location":"board/packages/board/lib/transcripts.mjs:5"},{"title":"System reconnaissance","detail":"cwd. */ export function projectsRoot() { return path.join(os.homedir(), '.claude', 'projects'); } /** * cwd → the directory name","severity":"low","location":"board/packages/board/lib/transcripts.mjs:30"},{"title":"Network activity","detail":".npmjs.org/-/package/great-cto/dist-tags // Verified with curl to return only `{\"latest\":\"x.y.z\"}`. // // Dedupe: alerts-fi","severity":"medium","location":"board/packages/board/lib/update-alert.mjs:10"},{"title":"Network activity","detail":"eferer || ''; if (!o) return true; // same-origin fetch / curl with no Origin // True same-origin: the browser's Origin m","severity":"medium","location":"board/packages/board/lib/util.mjs:19"},{"title":"Executes commands or dynamic code","detail":"st as sweeps filled // it, with the event loop held by `spawnSync` throughout. // // A project nobody is watching ser","severity":"medium","location":"board/packages/board/lib/watchers.mjs:28"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"r via great-cto CLI: * great-cto mcp [--port 3141] * * .mcp.json (Claude Code / Cursor): * { * \"mcpServers\": { *","severity":"high","location":"board/packages/board/mcp-server.mjs:21"},{"title":"Executes commands or dynamic code","detail":"<span class=\"mono\">${tier.evals}</span> <span class=\"muted\">eval(s) · ${esc(tier.why || '')}</span>` : '<span class=\"abs\" tit","severity":"medium","location":"board/packages/board/public/index.html:8822"},{"title":"Obfuscated or encoded code","detail":"const { publicKey } = await kr.json(); const raw = atob(publicKey.replace(/-/g, '+').replace(/_/g, '/')); const","severity":"high","location":"board/packages/board/public/index.html:9320"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"Verdicts logged under agent names not in <code>~/.claude/agents/great_cto-*.md</code> (older log files,","severity":"high","location":"board/packages/board/public/index.html:3594"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"/ section below and the 72h gate auto-expiry both come from SKILL.md policy. // Reusing it rather than inventing a threshold","severity":"high","location":"board/packages/board/public/index.html:4523"},{"title":"Browser or OS credential store access","detail":"ddress never leaves your machine without your verification. Local state in <code>~/.great_cto/notifications.json</code>.","severity":"high","location":"board/packages/board/public/index.html:3815"},{"title":"Clipboard, screen, or keystroke capture","detail":"de-id-copy\" title=\"Copy ID\" onclick=\" navigator.clipboard.writeText(document.getElementById('side-id').textContent).then(()","severity":"high","location":"board/packages/board/public/index.html:3859"},{"title":"Clipboard, screen, or keystroke capture","detail":"Rerun(stage) { const cmd = `/agent ${stage}`; navigator.clipboard.writeText(cmd).then( () => showToast(`Copied <code>${esc(cmd)","severity":"high","location":"board/packages/board/public/index.html:5862"},{"title":"Clipboard, screen, or keystroke capture","detail":"`git diff -- ${files.join(' ')}` : 'git diff'; navigator.clipboard.writeText(cmd).then( () => showToast(`Copied <code>${esc(cmd.","severity":"high","location":"board/packages/board/public/index.html:5873"},{"title":"Clipboard, screen, or keystroke capture","detail":"ion copyUrl(e) { const btn = e.currentTarget; navigator.clipboard.writeText(shareState.url || '').then(() => { btn.textContent","severity":"high","location":"board/packages/board/public/index.html:7848"},{"title":"Executes commands or dynamic code","detail":"po.) import fs from 'fs'; import path from 'path'; import { spawnSync } from 'child_process'; import { PORT, PUBLIC, HOST } from","severity":"medium","location":"board/packages/board/server.mjs:14"},{"title":"Executes commands or dynamic code","detail":"m 'fs'; import path from 'path'; import { spawnSync } from 'child_process'; import { PORT, PUBLIC, HOST } from './lib/config.mjs'; im","severity":"medium","location":"board/packages/board/server.mjs:14"},{"title":"Executes commands or dynamic code","detail":"d)` directly, which // is `bdList()`'s COLD-cache path — `spawnSync` — because a cache with // nothing in it has nothing to f","severity":"medium","location":"board/packages/board/server.mjs:127"},{"title":"Executes commands or dynamic code","detail":"is already open. Every // connection accepted during the spawnSync — including one with nothing to // do with this cwd, like","severity":"medium","location":"board/packages/board/server.mjs:134"},{"title":"Download-and-execute chain","detail":"r a command that runs other commands. `Bash(node:*)` is * `node -e '<anything>'`; `Bash(find:*)` is `find . -exec <anything>`;","severity":"critical","location":"board/scripts/lib/agent-posture.mjs:77"},{"title":"Executes commands or dynamic code","detail":"l: true, why: 'node -e runs arbitrary JavaScript, including child_process' }, python3: { full: true, why: 'python3 -c runs arbitrar","severity":"medium","location":"board/scripts/lib/agent-posture.mjs:83"},{"title":"Executes commands or dynamic code","detail":"d the model it will run, read from disk */ import { spawn, spawnSync } from 'node:child_process'; import { existsSync, readFileS","severity":"medium","location":"board/scripts/lib/codex-exec.mjs:15"},{"title":"Executes commands or dynamic code","detail":", read from disk */ import { spawn, spawnSync } from 'node:child_process'; import { existsSync, readFileSync } from 'node:fs'; impor","severity":"medium","location":"board/scripts/lib/codex-exec.mjs:15"},{"title":"Executes commands or dynamic code","detail":", cwd); args.push(...extraArgs, '-'); const proc = spawn(bin, args, { cwd, stdio: ['pipe', 'pipe', 'pipe'], env: { ..","severity":"medium","location":"board/scripts/lib/codex-exec.mjs:88"},{"title":"Executes commands or dynamic code","detail":"() } = {}) { let versionOut = null; try { const r = spawnSync(bin, ['--version'], { encoding: 'utf8', timeout: 5000 });","severity":"medium","location":"board/scripts/lib/codex-exec.mjs:158"},{"title":"Dumps the whole environment (API keys live there)","detail":"verride via env. */ export function pickReviewerModel(env = process.env) { return env.GREAT_CTO_CROSS_REVIEW_MODEL || 'openai/gpt-","severity":"high","location":"board/scripts/lib/cross-model-review.mjs:80"},{"title":"Executes commands or dynamic code","detail":"ode:fs'; import { fileURLToPath } from 'node:url'; import { execFileSync } from 'node:child_process'; import { costForUsage, round4,","severity":"medium","location":"board/scripts/lib/cross-model-review.mjs:18"},{"title":"Executes commands or dynamic code","detail":"oPath } from 'node:url'; import { execFileSync } from 'node:child_process'; import { costForUsage, round4, resolvePrice } from './cos","severity":"medium","location":"board/scripts/lib/cross-model-review.mjs:18"},{"title":"Executes commands or dynamic code","detail":"ew. */ function gitIdentity(cwd) { try { const sha = execFileSync('git', ['rev-parse', 'HEAD'], { cwd, encoding: 'utf8', stdi","severity":"medium","location":"board/scripts/lib/cross-model-review.mjs:159"},{"title":"Executes commands or dynamic code","detail":"['ignore', 'pipe', 'ignore'] }).trim(); const status = execFileSync('git', ['status', '--porcelain'], { cwd, encoding: 'utf8',","severity":"medium","location":"board/scripts/lib/cross-model-review.mjs:160"},{"title":"Reads or writes AI agent configuration, skills or instruction files","detail":"el = readArg(argv, '--model') || null; // null = whatever ~/.codex/config.toml names console.error(`cross-model-review: rev","severity":"high","location":"board/scripts/lib/cross-model-review.mjs:195"}],"injection_findings":[{"title":"Asks the agent to hide actions from its user","detail":"s it the dispatcher declines to run that agent instead of quietly continuing. An agent with no measurement reads as `unmeas","severity":"critical","location":"README.md:31"},{"title":"Asks the agent to hide actions from its user","detail":"that hardcodes the old response shape and will break silently? - Are there generated TypeScript types, OpenAPI client","severity":"critical","location":"assets/skills/finishing-a-development-branch/api-critic-prompt.md:61"},{"title":"Asks the agent to hide actions from its user","detail":"d code + new schema coexist: does the old code crash, silently corrupt data, or continue working? ### 4. Data safety","severity":"critical","location":"assets/skills/finishing-a-development-branch/schema-critic-prompt.md:59"},{"title":"Asks the agent to hide actions from its user","detail":"- Are there type changes (e.g., VARCHAR → INT) that will silently truncate or fail on existing values that don't fit?","severity":"critical","location":"assets/skills/finishing-a-development-branch/schema-critic-prompt.md:63"},{"title":"Impersonates a system or operator message","detail":"ommand\", \"command\": \"PLUGIN_DIR=${CLAUDE_PLUGIN_ROOT:-$(ls -d ~/.claude/plugins/cache/*/great_cto/*/ 2>/dev/null","severity":"high","location":"board/.claude-plugin/plugin.json:58"},{"title":"Impersonates a system or operator message","detail":"ocal/bin:/usr/local/bin:$PATH\\\"; PLUGIN_DIR=${CLAUDE_PLUGIN_ROOT:-$(ls -d ~/.claude/plugins/cache/*/great_cto/*/ 2>/dev/null","severity":"high","location":"board/.claude-plugin/plugin.json:64"},{"title":"Impersonates a system or operator message","detail":"ommand\", \"command\": \"PLUGIN_DIR=${CLAUDE_PLUGIN_ROOT:-$(ls -d ~/.claude/plugins/cache/*/great_cto/*/ 2>/dev/null","severity":"high","location":"board/.claude-plugin/plugin.json:70"},{"title":"Impersonates a system or operator message","detail":"ommand\", \"command\": \"PLUGIN_DIR=${CLAUDE_PLUGIN_ROOT:-$(ls -d ~/.claude/plugins/cache/*/great_cto/*/ 2>/dev/null","severity":"high","location":"board/.claude-plugin/plugin.json:76"},{"title":"Asks the agent to hide actions from its user","detail":". Aliased, not copied, so a future change to p0 cannot silently desynchronise these. */ --posture-expensive-bg: var(--p0-","severity":"critical","location":"board/packages/board/public/index.html:125"},{"title":"Asks the agent to hide actions from its user","detail":"x-row .actions` so they win the cascade rather than lose it silently. */ .inbox-row .actions.age-col { flex-direction: column;","severity":"critical","location":"board/packages/board/public/index.html:2165"},{"title":"Asks the agent to hide actions from its user","detail":": 1; letter-spacing: -0.02em; } /* An absence is rendered quietly and never silently — the glyph stays out of the way, the","severity":"critical","location":"board/packages/board/public/index.html:2387"},{"title":"Asks the agent to hide actions from its user","detail":"ing: -0.02em; } /* An absence is rendered quietly and never silently — the glyph stays out of the way, the reason is availabl","severity":"critical","location":"board/packages/board/public/index.html:2387"},{"title":"Hidden comment with instructions","detail":"Real spend total is Ledger's own content (.7); this keeps the count\n             of agent budget caps the old Budgets tab already computed, rather\n             than inventing a $ figure with nothing b","severity":"medium","location":"board/packages/board/public/index.html"},{"title":"Hidden comment with instructions","detail":"Evidence-ladder footer: the receipt readings that report a condition\n             but do not ask for a decision (\"could not check\", \"files added\").\n             Below the decisions, because that is wh","severity":"medium","location":"board/packages/board/public/index.html"},{"title":"Hidden comment with instructions","detail":"Harness (great_cto-ki1x.10). The one decision: is the second opinion\n             actually on for this project. Codex is a status panel, not a switch —\n             the board cannot install it. Four r","severity":"medium","location":"board/packages/board/public/index.html"},{"title":"Hidden comment with instructions","detail":"Sessions: what the agent DID, as opposed to what it concluded.\n         Every other panel reports an outcome. Three times this week a low eval\n         score was read as an agent gap and turned out to","severity":"medium","location":"board/packages/board/public/index.html"}],"hits":{"agent_config_tamper":53,"destructive":1,"credential_harvest":13,"code_execution":74,"reconnaissance":24,"crypto_wallet":1,"browser_theft":2,"network_egress":6,"obfuscation":3,"clipboard_screen":5,"download_execute":1,"credential_access":7,"persistence":9,"install_hook_shell":1},"iocs":{"urls":["https://greatcto.systems","https://hashnode.com/@Greatcto","https://claude.com/claude-code","https://greatcto.systems/r/","http://${req.headers.host","https://${req.headers.host","http://${HOST","https://evil/?leak=","https://openrouter.ai/api/v1/chat/completions","https://git-scm.com/downloads","https://openrouter.ai/keys\\n","https://spec.modelcontextprotocol.io/specification/transports","https://consoledonottrack.com","https://telemetry.greatcto.systems/v1/event","https://api.resend.com/emails"],"domains":["greatcto.systems","hashnode.com","claude.com","${req.headers.host","${host","evil","openrouter.ai","git-scm.com","spec.modelcontextprotocol.io","consoledonottrack.com","telemetry.greatcto.systems","api.resend.com","ci-local.sh","env.sh","skill-discover.sh","welcome.sh","apply-model-override.sh","check-update.sh","state.to","payload.link","log.info","levels.info","log-verdict.sh","parsed.to","obj.to","agent-dot.live","dot.run","e.to","nats.ws","scripts.dev","docker-compose.dev","install-local.sh","pre-push.sh","workers.dev","meta.link","hook.to"],"ips":[]},"score":1,"priority":140,"hints":["install hook postinstall: node postinstall.mjs","untrusted hosts referenced: greatcto.systems, hashnode.com, claude.com, ${req.headers.host, ${host, evil, openrouter.ai, git-scm.com, spec.modelcontextprotocol.io, consoledonottrack.com, telemetry.greatcto.systems, api.resend.com, ci-local.sh, env.sh, skill-discover.sh","capability hits: code_execution×74, agent_config_tamper×53, reconnaissance×24, credential_harvest×13, persistence×9, credential_access×7, network_egress×6, clipboard_screen×5, obfuscation×3, browser_theft×2, destructive×1, crypto_wallet×1","16 prompt-injection / hidden-text hints in docs","tarball sha1 cf53aca78f582552ab5ade70a5e9576da638df7a"],"entry_files":["postinstall.mjs","index.mjs"],"large_or_binary":["board/packages/board/public/assets/fonts/fonts.css (binary, 1377 bytes)"]},"tarball":"https://registry.npmjs.org/great-cto/-/great-cto-3.28.4.tgz","source":"feed"}