@kenkaiiii/ggcoder 6.4.0 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -8
- package/dist/app-sidecar/app-settings.d.ts +1 -1
- package/dist/app-sidecar/app-settings.js +3 -4
- package/dist/app-sidecar/app-settings.js.map +1 -1
- package/dist/app-sidecar/attachments.js +1 -1
- package/dist/app-sidecar/attachments.js.map +1 -1
- package/dist/app-sidecar/auth-routes.js +2 -5
- package/dist/app-sidecar/auth-routes.js.map +1 -1
- package/dist/app-sidecar/autopilot-runner.d.ts +8 -8
- package/dist/app-sidecar/autopilot-runner.js +8 -8
- package/dist/app-sidecar/autopilot-runner.js.map +1 -1
- package/dist/app-sidecar/branch-routes.d.ts +10 -1
- package/dist/app-sidecar/branch-routes.js +170 -2
- package/dist/app-sidecar/branch-routes.js.map +1 -1
- package/dist/app-sidecar/detached-sessions.d.ts +2 -10
- package/dist/app-sidecar/detached-sessions.js.map +1 -1
- package/dist/app-sidecar/file-search.js +1 -1
- package/dist/app-sidecar/file-search.js.map +1 -1
- package/dist/app-sidecar/git-branches.d.ts +18 -1
- package/dist/app-sidecar/git-branches.js +24 -6
- package/dist/app-sidecar/git-branches.js.map +1 -1
- package/dist/app-sidecar/git-ship.d.ts +42 -0
- package/dist/app-sidecar/git-ship.js +349 -0
- package/dist/app-sidecar/git-ship.js.map +1 -0
- package/dist/app-sidecar/git-target.d.ts +2 -2
- package/dist/app-sidecar/git-target.js +2 -2
- package/dist/app-sidecar/git-target.js.map +1 -1
- package/dist/app-sidecar/goal-routes.d.ts +1 -1
- package/dist/app-sidecar/goal-routes.js +5 -6
- package/dist/app-sidecar/goal-routes.js.map +1 -1
- package/dist/app-sidecar/hf-pull-manager.d.ts +5 -4
- package/dist/app-sidecar/hf-pull-manager.js +1 -1
- package/dist/app-sidecar/hf-pull-manager.js.map +1 -1
- package/dist/app-sidecar/history-routes.js +19 -6
- package/dist/app-sidecar/history-routes.js.map +1 -1
- package/dist/app-sidecar/history.d.ts +7 -2
- package/dist/app-sidecar/history.js.map +1 -1
- package/dist/app-sidecar/integration-routes.js +4 -6
- package/dist/app-sidecar/integration-routes.js.map +1 -1
- package/dist/app-sidecar/keep-awake.d.ts +1 -1
- package/dist/app-sidecar/keep-awake.js +1 -1
- package/dist/app-sidecar/keep-awake.js.map +1 -1
- package/dist/app-sidecar/ken-context.d.ts +2 -2
- package/dist/app-sidecar/ken-context.js +1 -1
- package/dist/app-sidecar/ken-context.js.map +1 -1
- package/dist/app-sidecar/live-preview/dev-url.d.ts +1 -1
- package/dist/app-sidecar/live-preview/manager.d.ts +2 -14
- package/dist/app-sidecar/live-preview/manager.js.map +1 -1
- package/dist/app-sidecar/live-preview/routes.js +1 -1
- package/dist/app-sidecar/live-preview/routes.js.map +1 -1
- package/dist/app-sidecar/live-preview/servers.js +1 -1
- package/dist/app-sidecar/live-preview/servers.js.map +1 -1
- package/dist/app-sidecar/mcp-routes.js +2 -2
- package/dist/app-sidecar/mcp-routes.js.map +1 -1
- package/dist/app-sidecar/mcp-rows.d.ts +3 -15
- package/dist/app-sidecar/mcp-rows.js +7 -2
- package/dist/app-sidecar/mcp-rows.js.map +1 -1
- package/dist/app-sidecar/mcp-shell-command.d.ts +1 -1
- package/dist/app-sidecar/mcp-shell-command.js +3 -3
- package/dist/app-sidecar/mcp-shell-command.js.map +1 -1
- package/dist/app-sidecar/mcp-sync.d.ts +2 -2
- package/dist/app-sidecar/mcp-sync.js +3 -3
- package/dist/app-sidecar/mcp-sync.js.map +1 -1
- package/dist/app-sidecar/pr-card.d.ts +33 -0
- package/dist/app-sidecar/pr-card.js +95 -0
- package/dist/app-sidecar/pr-card.js.map +1 -0
- package/dist/app-sidecar/progress-manager.d.ts +1 -1
- package/dist/app-sidecar/progress-manager.js +6 -6
- package/dist/app-sidecar/progress-manager.js.map +1 -1
- package/dist/app-sidecar/prompt-routes.js +12 -5
- package/dist/app-sidecar/prompt-routes.js.map +1 -1
- package/dist/app-sidecar/repo-polls.d.ts +3 -3
- package/dist/app-sidecar/repo-polls.js +4 -4
- package/dist/app-sidecar/repo-polls.js.map +1 -1
- package/dist/app-sidecar/route-context.d.ts +20 -17
- package/dist/app-sidecar/run-control-routes.js +2 -5
- package/dist/app-sidecar/run-control-routes.js.map +1 -1
- package/dist/app-sidecar/session-file-routes.d.ts +1 -1
- package/dist/app-sidecar/session-file-routes.js +2 -2
- package/dist/app-sidecar/session-file-routes.js.map +1 -1
- package/dist/app-sidecar/session-routes.js +3 -4
- package/dist/app-sidecar/session-routes.js.map +1 -1
- package/dist/app-sidecar/session-types.d.ts +5 -13
- package/dist/app-sidecar/shell-routes.js +1 -1
- package/dist/app-sidecar/shell-routes.js.map +1 -1
- package/dist/app-sidecar/shell-runs.js +2 -2
- package/dist/app-sidecar/shell-runs.js.map +1 -1
- package/dist/app-sidecar/shell-suggestions.d.ts +2 -8
- package/dist/app-sidecar/shell-suggestions.js +1 -1
- package/dist/app-sidecar/shell-suggestions.js.map +1 -1
- package/dist/app-sidecar/task-routes.js +5 -5
- package/dist/app-sidecar/task-routes.js.map +1 -1
- package/dist/app-sidecar/trophy-manager.d.ts +2 -2
- package/dist/app-sidecar/trophy-manager.js +3 -3
- package/dist/app-sidecar/trophy-manager.js.map +1 -1
- package/dist/app-sidecar/usage.d.ts +1 -1
- package/dist/app-sidecar/usage.js +3 -2
- package/dist/app-sidecar/usage.js.map +1 -1
- package/dist/app-sidecar/workspace-routes.js +4 -4
- package/dist/app-sidecar/workspace-routes.js.map +1 -1
- package/dist/app-sidecar/worktrees.js +1 -1
- package/dist/app-sidecar/worktrees.js.map +1 -1
- package/dist/app-sidecar-sessions.d.ts +2 -5
- package/dist/app-sidecar-sessions.js +1 -1
- package/dist/app-sidecar-sessions.js.map +1 -1
- package/dist/app-sidecar.d.ts +1 -1
- package/dist/app-sidecar.js +86 -47
- package/dist/app-sidecar.js.map +1 -1
- package/dist/chat-agents/general.d.ts +1 -1
- package/dist/chat-agents/index.d.ts +1 -1
- package/dist/chat-agents/jiwa.d.ts +2 -9
- package/dist/chat-agents/jiwa.js +1 -0
- package/dist/chat-agents/jiwa.js.map +1 -1
- package/dist/chat-agents/memory.d.ts +2 -9
- package/dist/chat-agents/memory.js +1 -0
- package/dist/chat-agents/memory.js.map +1 -1
- package/dist/chat-agents/research.d.ts +1 -1
- package/dist/chat-agents/shared.d.ts +1 -1
- package/dist/chat-agents/shared.js +1 -1
- package/dist/chat-agents/shared.js.map +1 -1
- package/dist/chat-agents/therapist.d.ts +1 -1
- package/dist/chat-agents/types.d.ts +2 -1
- package/dist/chat-agents/types.js +6 -1
- package/dist/chat-agents/types.js.map +1 -1
- package/dist/cli/auth.js +3 -6
- package/dist/cli/auth.js.map +1 -1
- package/dist/cli/mcp.js +4 -3
- package/dist/cli/mcp.js.map +1 -1
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +26 -27
- package/dist/cli.js.map +1 -1
- package/dist/goals-agent/goal-team.d.ts +1 -1
- package/dist/goals-agent/goals-agent.d.ts +3 -3
- package/dist/goals-agent/goals-agent.js +5 -5
- package/dist/goals-agent/goals-agent.js.map +1 -1
- package/dist/hf-pull.d.ts +2 -1
- package/dist/hf-pull.js +0 -1
- package/dist/hf-pull.js.map +1 -1
- package/dist/index.d.ts +0 -8
- package/dist/index.js +1 -14
- package/dist/index.js.map +1 -1
- package/dist/modes/acp-autopilot.js +3 -3
- package/dist/modes/acp-autopilot.js.map +1 -1
- package/dist/modes/acp-goals.d.ts +2 -2
- package/dist/modes/acp-goals.js +3 -3
- package/dist/modes/acp-goals.js.map +1 -1
- package/dist/modes/acp-mode.d.ts +6 -6
- package/dist/modes/acp-mode.js +22 -23
- package/dist/modes/acp-mode.js.map +1 -1
- package/dist/modes/agent-home-mode.js +7 -8
- package/dist/modes/agent-home-mode.js.map +1 -1
- package/dist/modes/json-mode.js +4 -4
- package/dist/modes/json-mode.js.map +1 -1
- package/dist/modes/print-mode.js +4 -3
- package/dist/modes/print-mode.js.map +1 -1
- package/dist/modes/rpc-mode.js +2 -2
- package/dist/modes/rpc-mode.js.map +1 -1
- package/dist/modes/serve-mode.js +10 -11
- package/dist/modes/serve-mode.js.map +1 -1
- package/dist/modes/subagent-worker-mode.d.ts +1 -1
- package/dist/modes/subagent-worker-mode.js +8 -8
- package/dist/modes/subagent-worker-mode.js.map +1 -1
- package/dist/motion-agent/motion-agent.d.ts +3 -2
- package/dist/motion-agent/motion-agent.js +3 -2
- package/dist/motion-agent/motion-agent.js.map +1 -1
- package/dist/motion-agent/motion-bundle.d.ts +18 -0
- package/dist/motion-agent/motion-bundle.js +34 -0
- package/dist/motion-agent/motion-bundle.js.map +1 -0
- package/dist/subagent-entry-path.d.ts +1 -0
- package/dist/subagent-entry-path.js +13 -0
- package/dist/subagent-entry-path.js.map +1 -0
- package/dist/subagent-entry.d.ts +1 -1
- package/dist/subagent-entry.js +2 -1
- package/dist/subagent-entry.js.map +1 -1
- package/dist/ui/App.d.ts +8 -8
- package/dist/ui/App.js +20 -21
- package/dist/ui/App.js.map +1 -1
- package/dist/ui/app-items.d.ts +1 -1
- package/dist/ui/components/BackgroundTasksBar.d.ts +1 -1
- package/dist/ui/components/Banner.js +1 -1
- package/dist/ui/components/Banner.js.map +1 -1
- package/dist/ui/components/ChatFooterPane.d.ts +1 -1
- package/dist/ui/components/ChatScreen.d.ts +4 -4
- package/dist/ui/components/Footer.d.ts +1 -1
- package/dist/ui/components/Footer.js +1 -1
- package/dist/ui/components/Footer.js.map +1 -1
- package/dist/ui/components/FooterStatusRow.d.ts +1 -1
- package/dist/ui/components/InputArea.d.ts +2 -2
- package/dist/ui/components/InputArea.js +2 -2
- package/dist/ui/components/InputArea.js.map +1 -1
- package/dist/ui/components/ModelSelector.js +1 -1
- package/dist/ui/components/ModelSelector.js.map +1 -1
- package/dist/ui/components/RewindOverlay.d.ts +1 -1
- package/dist/ui/components/RewindOverlay.js.map +1 -1
- package/dist/ui/components/SessionSelector.d.ts +1 -1
- package/dist/ui/components/SettingsSelector.d.ts +1 -1
- package/dist/ui/components/SkillsOverlay.js +2 -2
- package/dist/ui/components/SkillsOverlay.js.map +1 -1
- package/dist/ui/components/StreamingArea.js +1 -1
- package/dist/ui/components/StreamingArea.js.map +1 -1
- package/dist/ui/components/TaskPickerMenu.d.ts +1 -1
- package/dist/ui/components/ToolExecution.js +1 -1
- package/dist/ui/components/ToolExecution.js.map +1 -1
- package/dist/ui/error-item.js +2 -2
- package/dist/ui/error-item.js.map +1 -1
- package/dist/ui/hooks/useAgentLoop.d.ts +2 -2
- package/dist/ui/hooks/useAgentLoop.js +8 -8
- package/dist/ui/hooks/useAgentLoop.js.map +1 -1
- package/dist/ui/hooks/useChatLayoutMeasurements.d.ts +1 -1
- package/dist/ui/hooks/useContextCompaction.d.ts +3 -3
- package/dist/ui/hooks/useContextCompaction.js +6 -7
- package/dist/ui/hooks/useContextCompaction.js.map +1 -1
- package/dist/ui/hooks/useModeState.d.ts +2 -2
- package/dist/ui/hooks/useModeState.js +2 -2
- package/dist/ui/hooks/useModeState.js.map +1 -1
- package/dist/ui/hooks/useSessionPersistence.d.ts +1 -1
- package/dist/ui/hooks/useSessionPersistence.js +3 -3
- package/dist/ui/hooks/useSessionPersistence.js.map +1 -1
- package/dist/ui/hooks/useTaskPickerController.d.ts +1 -1
- package/dist/ui/hooks/useTaskPickerController.js +1 -1
- package/dist/ui/hooks/useTaskPickerController.js.map +1 -1
- package/dist/ui/hooks/useTranscriptHistory.d.ts +1 -1
- package/dist/ui/item-helpers.js +1 -1
- package/dist/ui/item-helpers.js.map +1 -1
- package/dist/ui/language-pack-update.d.ts +1 -1
- package/dist/ui/language-pack-update.js +1 -1
- package/dist/ui/language-pack-update.js.map +1 -1
- package/dist/ui/login.js +1 -1
- package/dist/ui/login.js.map +1 -1
- package/dist/ui/mcp.d.ts +1 -1
- package/dist/ui/prompt-routing.d.ts +3 -3
- package/dist/ui/prompt-routing.js +3 -3
- package/dist/ui/prompt-routing.js.map +1 -1
- package/dist/ui/render.d.ts +8 -8
- package/dist/ui/sessions.js +1 -1
- package/dist/ui/sessions.js.map +1 -1
- package/dist/ui/stores/taskbar-store.d.ts +1 -1
- package/dist/ui/stores/taskbar-store.js.map +1 -1
- package/dist/ui/submit-prompt-command.d.ts +2 -2
- package/dist/ui/submit-prompt-command.js +2 -3
- package/dist/ui/submit-prompt-command.js.map +1 -1
- package/dist/ui/terminal-history-status-renderers.d.ts +1 -1
- package/dist/ui/terminal-history.js +2 -3
- package/dist/ui/terminal-history.js.map +1 -1
- package/dist/ui/theme/theme.d.ts +2 -1
- package/dist/ui/theme/theme.js.map +1 -1
- package/dist/ui/thinking-level.d.ts +1 -1
- package/dist/ui/thinking-level.js +1 -1
- package/dist/ui/thinking-level.js.map +1 -1
- package/dist/ui/tool-line-summary.js +1 -1
- package/dist/ui/tool-line-summary.js.map +1 -1
- package/dist/ui/transcript/presentation.js +1 -1
- package/dist/ui/transcript/presentation.js.map +1 -1
- package/dist/ui/utils/text-utils.js +1 -1
- package/dist/ui/utils/text-utils.js.map +1 -1
- package/dist/utils/git-overview.d.ts +2 -23
- package/dist/utils/git-overview.js +8 -1
- package/dist/utils/git-overview.js.map +1 -1
- package/package.json +13 -103
- package/assets/skills/bulletproof/SKILL.md +0 -132
- package/assets/skills/bulletproof/references/agent-surface.md +0 -113
- package/assets/skills/bulletproof/references/attack-classes.md +0 -226
- package/assets/skills/bulletproof/references/audit-protocol.md +0 -232
- package/assets/skills/bulletproof/references/platform-playbooks.md +0 -196
- package/assets/skills/bulletproof/references/provenance.md +0 -146
- package/assets/skills/bulletproof/references/secure-defaults.md +0 -137
- package/assets/skills/bulletproof/references/supply-chain.md +0 -84
- package/assets/skills/bulletproof/references/threat-landscape.md +0 -66
- package/assets/skills/bulletproof/references/verification.md +0 -74
- package/assets/skills/compliance-guard/SKILL.md +0 -115
- package/assets/skills/compliance-guard/references/artifacts.md +0 -199
- package/assets/skills/compliance-guard/references/eu-uk.md +0 -162
- package/assets/skills/compliance-guard/references/exposure-triage.md +0 -177
- package/assets/skills/compliance-guard/references/full-review.md +0 -155
- package/assets/skills/compliance-guard/references/lawsuit-vectors.md +0 -153
- package/assets/skills/compliance-guard/references/provenance.md +0 -135
- package/assets/skills/compliance-guard/references/sector-gates.md +0 -187
- package/assets/skills/compliance-guard/references/security-baseline.md +0 -117
- package/assets/skills/compliance-guard/references/trigger-map.md +0 -177
- package/assets/skills/compliance-guard/references/us.md +0 -194
- package/assets/skills/durable/SKILL.md +0 -114
- package/assets/skills/durable/references/agent-db-safety.md +0 -76
- package/assets/skills/durable/references/backups-and-runtime.md +0 -93
- package/assets/skills/durable/references/migrations-and-schema.md +0 -87
- package/assets/skills/gg-guide/SKILL.md +0 -43
- package/assets/skills/gg-guide/references/chat-motion-goals.md +0 -217
- package/assets/skills/gg-guide/references/checklist-and-safety.md +0 -177
- package/assets/skills/gg-guide/references/code-mode.md +0 -268
- package/assets/skills/gg-guide/references/getting-started.md +0 -290
- package/assets/skills/gg-guide/references/ken-and-autopilot.md +0 -172
- package/assets/skills/gg-guide/references/mcp-and-skills.md +0 -204
- package/assets/skills/gg-guide/references/models-and-sign-in.md +0 -200
- package/assets/skills/gg-guide/references/sessions-and-history.md +0 -213
- package/assets/skills/gg-guide/references/settings.md +0 -193
- package/assets/skills/gg-guide/references/troubleshooting-and-data.md +0 -186
- package/assets/skills/lean/SKILL.md +0 -117
- package/assets/skills/lean/references/memory-and-processes.md +0 -99
- package/assets/skills/lean/references/playbooks.md +0 -134
- package/dist/app-error.d.ts +0 -22
- package/dist/app-error.js +0 -41
- package/dist/app-error.js.map +0 -1
- package/dist/config.d.ts +0 -90
- package/dist/config.js +0 -240
- package/dist/config.js.map +0 -1
- package/dist/core/acceptance-checks.d.ts +0 -48
- package/dist/core/acceptance-checks.js +0 -151
- package/dist/core/acceptance-checks.js.map +0 -1
- package/dist/core/action-threats.d.ts +0 -68
- package/dist/core/action-threats.js +0 -894
- package/dist/core/action-threats.js.map +0 -1
- package/dist/core/agent-notifications.d.ts +0 -79
- package/dist/core/agent-notifications.js +0 -125
- package/dist/core/agent-notifications.js.map +0 -1
- package/dist/core/agent-session/helpers.d.ts +0 -26
- package/dist/core/agent-session/helpers.js +0 -47
- package/dist/core/agent-session/helpers.js.map +0 -1
- package/dist/core/agent-session/mcp-tools.d.ts +0 -87
- package/dist/core/agent-session/mcp-tools.js +0 -227
- package/dist/core/agent-session/mcp-tools.js.map +0 -1
- package/dist/core/agent-session/run-loop-monitor.d.ts +0 -63
- package/dist/core/agent-session/run-loop-monitor.js +0 -164
- package/dist/core/agent-session/run-loop-monitor.js.map +0 -1
- package/dist/core/agent-session/transcript-markers.d.ts +0 -57
- package/dist/core/agent-session/transcript-markers.js +0 -166
- package/dist/core/agent-session/transcript-markers.js.map +0 -1
- package/dist/core/agent-session/verification-tracker.d.ts +0 -71
- package/dist/core/agent-session/verification-tracker.js +0 -295
- package/dist/core/agent-session/verification-tracker.js.map +0 -1
- package/dist/core/agent-session.d.ts +0 -1398
- package/dist/core/agent-session.js +0 -5123
- package/dist/core/agent-session.js.map +0 -1
- package/dist/core/agents.d.ts +0 -63
- package/dist/core/agents.js +0 -160
- package/dist/core/agents.js.map +0 -1
- package/dist/core/ask-user.d.ts +0 -163
- package/dist/core/ask-user.js +0 -178
- package/dist/core/ask-user.js.map +0 -1
- package/dist/core/auth/index.d.ts +0 -11
- package/dist/core/auth/index.js +0 -11
- package/dist/core/auth/index.js.map +0 -1
- package/dist/core/auth-providers.d.ts +0 -2
- package/dist/core/auth-providers.js +0 -5
- package/dist/core/auth-providers.js.map +0 -1
- package/dist/core/auth-storage.d.ts +0 -1
- package/dist/core/auth-storage.js +0 -4
- package/dist/core/auth-storage.js.map +0 -1
- package/dist/core/auto-update.d.ts +0 -6
- package/dist/core/auto-update.js +0 -15
- package/dist/core/auto-update.js.map +0 -1
- package/dist/core/autopilot-cycle.d.ts +0 -127
- package/dist/core/autopilot-cycle.js +0 -182
- package/dist/core/autopilot-cycle.js.map +0 -1
- package/dist/core/autopilot-gate.d.ts +0 -106
- package/dist/core/autopilot-gate.js +0 -192
- package/dist/core/autopilot-gate.js.map +0 -1
- package/dist/core/autopilot-verdict.d.ts +0 -55
- package/dist/core/autopilot-verdict.js +0 -226
- package/dist/core/autopilot-verdict.js.map +0 -1
- package/dist/core/blocked-packages-file.d.ts +0 -33
- package/dist/core/blocked-packages-file.js +0 -274
- package/dist/core/blocked-packages-file.js.map +0 -1
- package/dist/core/bundled-agents.d.ts +0 -2
- package/dist/core/bundled-agents.js +0 -253
- package/dist/core/bundled-agents.js.map +0 -1
- package/dist/core/cache-diagnostics.d.ts +0 -72
- package/dist/core/cache-diagnostics.js +0 -200
- package/dist/core/cache-diagnostics.js.map +0 -1
- package/dist/core/cache-expiry.d.ts +0 -89
- package/dist/core/cache-expiry.js +0 -117
- package/dist/core/cache-expiry.js.map +0 -1
- package/dist/core/checklist-detection.d.ts +0 -11
- package/dist/core/checklist-detection.js +0 -238
- package/dist/core/checklist-detection.js.map +0 -1
- package/dist/core/checklist-git.d.ts +0 -19
- package/dist/core/checklist-git.js +0 -54
- package/dist/core/checklist-git.js.map +0 -1
- package/dist/core/checklist-items.d.ts +0 -181
- package/dist/core/checklist-items.js +0 -230
- package/dist/core/checklist-items.js.map +0 -1
- package/dist/core/checklist-prompt.d.ts +0 -14
- package/dist/core/checklist-prompt.js +0 -64
- package/dist/core/checklist-prompt.js.map +0 -1
- package/dist/core/checklist-snapshot.d.ts +0 -17
- package/dist/core/checklist-snapshot.js +0 -46
- package/dist/core/checklist-snapshot.js.map +0 -1
- package/dist/core/checklist-store.d.ts +0 -63
- package/dist/core/checklist-store.js +0 -273
- package/dist/core/checklist-store.js.map +0 -1
- package/dist/core/checkout-record.d.ts +0 -22
- package/dist/core/checkout-record.js +0 -68
- package/dist/core/checkout-record.js.map +0 -1
- package/dist/core/checkpoint-store.d.ts +0 -109
- package/dist/core/checkpoint-store.js +0 -260
- package/dist/core/checkpoint-store.js.map +0 -1
- package/dist/core/claude-code/complete.d.ts +0 -35
- package/dist/core/claude-code/complete.js +0 -125
- package/dist/core/claude-code/complete.js.map +0 -1
- package/dist/core/claude-code/events.d.ts +0 -67
- package/dist/core/claude-code/events.js +0 -460
- package/dist/core/claude-code/events.js.map +0 -1
- package/dist/core/claude-code/live-session.d.ts +0 -94
- package/dist/core/claude-code/live-session.js +0 -525
- package/dist/core/claude-code/live-session.js.map +0 -1
- package/dist/core/claude-code/loop.d.ts +0 -9
- package/dist/core/claude-code/loop.js +0 -15
- package/dist/core/claude-code/loop.js.map +0 -1
- package/dist/core/claude-code/session-sync.d.ts +0 -28
- package/dist/core/claude-code/session-sync.js +0 -53
- package/dist/core/claude-code/session-sync.js.map +0 -1
- package/dist/core/claude-code/tool-bridge.d.ts +0 -49
- package/dist/core/claude-code/tool-bridge.js +0 -352
- package/dist/core/claude-code/tool-bridge.js.map +0 -1
- package/dist/core/claude-code/transcripts.d.ts +0 -39
- package/dist/core/claude-code/transcripts.js +0 -195
- package/dist/core/claude-code/transcripts.js.map +0 -1
- package/dist/core/code-retrieval-chunkers.d.ts +0 -26
- package/dist/core/code-retrieval-chunkers.js +0 -264
- package/dist/core/code-retrieval-chunkers.js.map +0 -1
- package/dist/core/code-retrieval.d.ts +0 -18
- package/dist/core/code-retrieval.js +0 -124
- package/dist/core/code-retrieval.js.map +0 -1
- package/dist/core/codex-request-shape.d.ts +0 -7
- package/dist/core/codex-request-shape.js +0 -19
- package/dist/core/codex-request-shape.js.map +0 -1
- package/dist/core/compaction/active-context.d.ts +0 -16
- package/dist/core/compaction/active-context.js +0 -20
- package/dist/core/compaction/active-context.js.map +0 -1
- package/dist/core/compaction/compactor.d.ts +0 -281
- package/dist/core/compaction/compactor.js +0 -1452
- package/dist/core/compaction/compactor.js.map +0 -1
- package/dist/core/compaction/plan-step-policy.d.ts +0 -46
- package/dist/core/compaction/plan-step-policy.js +0 -57
- package/dist/core/compaction/plan-step-policy.js.map +0 -1
- package/dist/core/compaction/policy.d.ts +0 -36
- package/dist/core/compaction/policy.js +0 -144
- package/dist/core/compaction/policy.js.map +0 -1
- package/dist/core/compaction/query-aware-selector.d.ts +0 -32
- package/dist/core/compaction/query-aware-selector.js +0 -202
- package/dist/core/compaction/query-aware-selector.js.map +0 -1
- package/dist/core/compaction/token-estimator.d.ts +0 -36
- package/dist/core/compaction/token-estimator.js +0 -180
- package/dist/core/compaction/token-estimator.js.map +0 -1
- package/dist/core/compaction/tool-result-pruner.d.ts +0 -90
- package/dist/core/compaction/tool-result-pruner.js +0 -238
- package/dist/core/compaction/tool-result-pruner.js.map +0 -1
- package/dist/core/completion-review.d.ts +0 -24
- package/dist/core/completion-review.js +0 -2
- package/dist/core/completion-review.js.map +0 -1
- package/dist/core/context-files.d.ts +0 -8
- package/dist/core/context-files.js +0 -46
- package/dist/core/context-files.js.map +0 -1
- package/dist/core/context-limits.d.ts +0 -40
- package/dist/core/context-limits.js +0 -43
- package/dist/core/context-limits.js.map +0 -1
- package/dist/core/custom-commands.d.ts +0 -18
- package/dist/core/custom-commands.js +0 -57
- package/dist/core/custom-commands.js.map +0 -1
- package/dist/core/destructive-git-guard.d.ts +0 -113
- package/dist/core/destructive-git-guard.js +0 -874
- package/dist/core/destructive-git-guard.js.map +0 -1
- package/dist/core/encode-cwd.d.ts +0 -41
- package/dist/core/encode-cwd.js +0 -53
- package/dist/core/encode-cwd.js.map +0 -1
- package/dist/core/env-delta.d.ts +0 -34
- package/dist/core/env-delta.js +0 -84
- package/dist/core/env-delta.js.map +0 -1
- package/dist/core/event-bus.d.ts +0 -178
- package/dist/core/event-bus.js +0 -171
- package/dist/core/event-bus.js.map +0 -1
- package/dist/core/extensions/loader.d.ts +0 -7
- package/dist/core/extensions/loader.js +0 -68
- package/dist/core/extensions/loader.js.map +0 -1
- package/dist/core/extensions/plugin-bundles.d.ts +0 -13
- package/dist/core/extensions/plugin-bundles.js +0 -45
- package/dist/core/extensions/plugin-bundles.js.map +0 -1
- package/dist/core/extensions/types.d.ts +0 -18
- package/dist/core/extensions/types.js +0 -2
- package/dist/core/extensions/types.js.map +0 -1
- package/dist/core/foreign-session-import.d.ts +0 -119
- package/dist/core/foreign-session-import.js +0 -598
- package/dist/core/foreign-session-import.js.map +0 -1
- package/dist/core/foreign-transcript-blocks.d.ts +0 -50
- package/dist/core/foreign-transcript-blocks.js +0 -151
- package/dist/core/foreign-transcript-blocks.js.map +0 -1
- package/dist/core/frontmatter.d.ts +0 -22
- package/dist/core/frontmatter.js +0 -90
- package/dist/core/frontmatter.js.map +0 -1
- package/dist/core/goal-run-marker.d.ts +0 -32
- package/dist/core/goal-run-marker.js +0 -178
- package/dist/core/goal-run-marker.js.map +0 -1
- package/dist/core/goal-summary.d.ts +0 -32
- package/dist/core/goal-summary.js +0 -110
- package/dist/core/goal-summary.js.map +0 -1
- package/dist/core/goals-store.d.ts +0 -215
- package/dist/core/goals-store.js +0 -577
- package/dist/core/goals-store.js.map +0 -1
- package/dist/core/hashline.d.ts +0 -51
- package/dist/core/hashline.js +0 -76
- package/dist/core/hashline.js.map +0 -1
- package/dist/core/idle-wake.d.ts +0 -62
- package/dist/core/idle-wake.js +0 -103
- package/dist/core/idle-wake.js.map +0 -1
- package/dist/core/index.d.ts +0 -14
- package/dist/core/index.js +0 -14
- package/dist/core/index.js.map +0 -1
- package/dist/core/injection-detect.d.ts +0 -39
- package/dist/core/injection-detect.js +0 -241
- package/dist/core/injection-detect.js.map +0 -1
- package/dist/core/installed-threats.d.ts +0 -23
- package/dist/core/installed-threats.js +0 -71
- package/dist/core/installed-threats.js.map +0 -1
- package/dist/core/internal-diagnostics.d.ts +0 -159
- package/dist/core/internal-diagnostics.js +0 -495
- package/dist/core/internal-diagnostics.js.map +0 -1
- package/dist/core/keep-awake.d.ts +0 -88
- package/dist/core/keep-awake.js +0 -251
- package/dist/core/keep-awake.js.map +0 -1
- package/dist/core/ken-ask-answer.d.ts +0 -24
- package/dist/core/ken-ask-answer.js +0 -96
- package/dist/core/ken-ask-answer.js.map +0 -1
- package/dist/core/ken-context.d.ts +0 -119
- package/dist/core/ken-context.js +0 -447
- package/dist/core/ken-context.js.map +0 -1
- package/dist/core/ken-model.d.ts +0 -45
- package/dist/core/ken-model.js +0 -26
- package/dist/core/ken-model.js.map +0 -1
- package/dist/core/ken-prompt.d.ts +0 -21
- package/dist/core/ken-prompt.js +0 -370
- package/dist/core/ken-prompt.js.map +0 -1
- package/dist/core/language-detector.d.ts +0 -41
- package/dist/core/language-detector.js +0 -293
- package/dist/core/language-detector.js.map +0 -1
- package/dist/core/live-preview.d.ts +0 -26
- package/dist/core/live-preview.js +0 -80
- package/dist/core/live-preview.js.map +0 -1
- package/dist/core/local-endpoint-store.d.ts +0 -53
- package/dist/core/local-endpoint-store.js +0 -221
- package/dist/core/local-endpoint-store.js.map +0 -1
- package/dist/core/logger.d.ts +0 -22
- package/dist/core/logger.js +0 -95
- package/dist/core/logger.js.map +0 -1
- package/dist/core/loop-breaker.d.ts +0 -89
- package/dist/core/loop-breaker.js +0 -204
- package/dist/core/loop-breaker.js.map +0 -1
- package/dist/core/lsp/client.d.ts +0 -206
- package/dist/core/lsp/client.js +0 -685
- package/dist/core/lsp/client.js.map +0 -1
- package/dist/core/lsp/edit-telemetry.d.ts +0 -26
- package/dist/core/lsp/edit-telemetry.js +0 -52
- package/dist/core/lsp/edit-telemetry.js.map +0 -1
- package/dist/core/lsp/format.d.ts +0 -11
- package/dist/core/lsp/format.js +0 -30
- package/dist/core/lsp/format.js.map +0 -1
- package/dist/core/lsp/jsonrpc.d.ts +0 -68
- package/dist/core/lsp/jsonrpc.js +0 -153
- package/dist/core/lsp/jsonrpc.js.map +0 -1
- package/dist/core/lsp/manager.d.ts +0 -188
- package/dist/core/lsp/manager.js +0 -576
- package/dist/core/lsp/manager.js.map +0 -1
- package/dist/core/lsp/pool.d.ts +0 -114
- package/dist/core/lsp/pool.js +0 -259
- package/dist/core/lsp/pool.js.map +0 -1
- package/dist/core/lsp/project-root.d.ts +0 -9
- package/dist/core/lsp/project-root.js +0 -75
- package/dist/core/lsp/project-root.js.map +0 -1
- package/dist/core/lsp/reference-project.d.ts +0 -6
- package/dist/core/lsp/reference-project.js +0 -110
- package/dist/core/lsp/reference-project.js.map +0 -1
- package/dist/core/lsp/servers.d.ts +0 -44
- package/dist/core/lsp/servers.js +0 -289
- package/dist/core/lsp/servers.js.map +0 -1
- package/dist/core/lsp/test-support.d.ts +0 -17
- package/dist/core/lsp/test-support.js +0 -27
- package/dist/core/lsp/test-support.js.map +0 -1
- package/dist/core/mcp/catalog-cache.d.ts +0 -64
- package/dist/core/mcp/catalog-cache.js +0 -167
- package/dist/core/mcp/catalog-cache.js.map +0 -1
- package/dist/core/mcp/client.d.ts +0 -317
- package/dist/core/mcp/client.js +0 -1168
- package/dist/core/mcp/client.js.map +0 -1
- package/dist/core/mcp/content.d.ts +0 -23
- package/dist/core/mcp/content.js +0 -194
- package/dist/core/mcp/content.js.map +0 -1
- package/dist/core/mcp/defaults.d.ts +0 -26
- package/dist/core/mcp/defaults.js +0 -81
- package/dist/core/mcp/defaults.js.map +0 -1
- package/dist/core/mcp/deferred-catalog.d.ts +0 -53
- package/dist/core/mcp/deferred-catalog.js +0 -117
- package/dist/core/mcp/deferred-catalog.js.map +0 -1
- package/dist/core/mcp/elicitation-bridge.d.ts +0 -40
- package/dist/core/mcp/elicitation-bridge.js +0 -36
- package/dist/core/mcp/elicitation-bridge.js.map +0 -1
- package/dist/core/mcp/index.d.ts +0 -16
- package/dist/core/mcp/index.js +0 -10
- package/dist/core/mcp/index.js.map +0 -1
- package/dist/core/mcp/loopback.d.ts +0 -26
- package/dist/core/mcp/loopback.js +0 -66
- package/dist/core/mcp/loopback.js.map +0 -1
- package/dist/core/mcp/oauth-provider.d.ts +0 -55
- package/dist/core/mcp/oauth-provider.js +0 -106
- package/dist/core/mcp/oauth-provider.js.map +0 -1
- package/dist/core/mcp/oauth-store.d.ts +0 -44
- package/dist/core/mcp/oauth-store.js +0 -77
- package/dist/core/mcp/oauth-store.js.map +0 -1
- package/dist/core/mcp/parse-add-command.d.ts +0 -50
- package/dist/core/mcp/parse-add-command.js +0 -391
- package/dist/core/mcp/parse-add-command.js.map +0 -1
- package/dist/core/mcp/resolve-stdio.d.ts +0 -77
- package/dist/core/mcp/resolve-stdio.js +0 -359
- package/dist/core/mcp/resolve-stdio.js.map +0 -1
- package/dist/core/mcp/shared-pool.d.ts +0 -157
- package/dist/core/mcp/shared-pool.js +0 -236
- package/dist/core/mcp/shared-pool.js.map +0 -1
- package/dist/core/mcp/store.d.ts +0 -100
- package/dist/core/mcp/store.js +0 -202
- package/dist/core/mcp/store.js.map +0 -1
- package/dist/core/mcp/tool-guard.d.ts +0 -58
- package/dist/core/mcp/tool-guard.js +0 -215
- package/dist/core/mcp/tool-guard.js.map +0 -1
- package/dist/core/mcp/types.d.ts +0 -57
- package/dist/core/mcp/types.js +0 -2
- package/dist/core/mcp/types.js.map +0 -1
- package/dist/core/message-images.d.ts +0 -11
- package/dist/core/message-images.js +0 -52
- package/dist/core/message-images.js.map +0 -1
- package/dist/core/model-registry.d.ts +0 -1
- package/dist/core/model-registry.js +0 -5
- package/dist/core/model-registry.js.map +0 -1
- package/dist/core/model-unavailable.d.ts +0 -14
- package/dist/core/model-unavailable.js +0 -23
- package/dist/core/model-unavailable.js.map +0 -1
- package/dist/core/network-guard.d.ts +0 -28
- package/dist/core/network-guard.js +0 -251
- package/dist/core/network-guard.js.map +0 -1
- package/dist/core/node-debugger.d.ts +0 -148
- package/dist/core/node-debugger.js +0 -642
- package/dist/core/node-debugger.js.map +0 -1
- package/dist/core/oauth/openai.d.ts +0 -1
- package/dist/core/oauth/openai.js +0 -3
- package/dist/core/oauth/openai.js.map +0 -1
- package/dist/core/oauth/types.d.ts +0 -1
- package/dist/core/oauth/types.js +0 -2
- package/dist/core/oauth/types.js.map +0 -1
- package/dist/core/opencode-catalog-store.d.ts +0 -20
- package/dist/core/opencode-catalog-store.js +0 -82
- package/dist/core/opencode-catalog-store.js.map +0 -1
- package/dist/core/openrouter-catalog-store.d.ts +0 -24
- package/dist/core/openrouter-catalog-store.js +0 -140
- package/dist/core/openrouter-catalog-store.js.map +0 -1
- package/dist/core/package-cooldown.d.ts +0 -69
- package/dist/core/package-cooldown.js +0 -297
- package/dist/core/package-cooldown.js.map +0 -1
- package/dist/core/package-threats.d.ts +0 -92
- package/dist/core/package-threats.js +0 -1340
- package/dist/core/package-threats.js.map +0 -1
- package/dist/core/parked-requests.d.ts +0 -43
- package/dist/core/parked-requests.js +0 -34
- package/dist/core/parked-requests.js.map +0 -1
- package/dist/core/persistent-shell.d.ts +0 -81
- package/dist/core/persistent-shell.js +0 -452
- package/dist/core/persistent-shell.js.map +0 -1
- package/dist/core/plan-delta.d.ts +0 -23
- package/dist/core/plan-delta.js +0 -36
- package/dist/core/plan-delta.js.map +0 -1
- package/dist/core/plan-handoff.d.ts +0 -38
- package/dist/core/plan-handoff.js +0 -21
- package/dist/core/plan-handoff.js.map +0 -1
- package/dist/core/plan-submission-gate.d.ts +0 -28
- package/dist/core/plan-submission-gate.js +0 -27
- package/dist/core/plan-submission-gate.js.map +0 -1
- package/dist/core/platform-clis.d.ts +0 -15
- package/dist/core/platform-clis.js +0 -299
- package/dist/core/platform-clis.js.map +0 -1
- package/dist/core/process-gate.d.ts +0 -61
- package/dist/core/process-gate.js +0 -103
- package/dist/core/process-gate.js.map +0 -1
- package/dist/core/process-manager.d.ts +0 -242
- package/dist/core/process-manager.js +0 -902
- package/dist/core/process-manager.js.map +0 -1
- package/dist/core/progress/engine.d.ts +0 -22
- package/dist/core/progress/engine.js +0 -131
- package/dist/core/progress/engine.js.map +0 -1
- package/dist/core/progress/git-xp.d.ts +0 -15
- package/dist/core/progress/git-xp.js +0 -100
- package/dist/core/progress/git-xp.js.map +0 -1
- package/dist/core/progress/ranks.d.ts +0 -31
- package/dist/core/progress/ranks.js +0 -310
- package/dist/core/progress/ranks.js.map +0 -1
- package/dist/core/progress/rebuild.d.ts +0 -8
- package/dist/core/progress/rebuild.js +0 -125
- package/dist/core/progress/rebuild.js.map +0 -1
- package/dist/core/progress/store.d.ts +0 -34
- package/dist/core/progress/store.js +0 -200
- package/dist/core/progress/store.js.map +0 -1
- package/dist/core/progress/types.d.ts +0 -108
- package/dist/core/progress/types.js +0 -3
- package/dist/core/progress/types.js.map +0 -1
- package/dist/core/project-discovery.d.ts +0 -88
- package/dist/core/project-discovery.js +0 -907
- package/dist/core/project-discovery.js.map +0 -1
- package/dist/core/project-files.d.ts +0 -15
- package/dist/core/project-files.js +0 -37
- package/dist/core/project-files.js.map +0 -1
- package/dist/core/project-health-scan.d.ts +0 -109
- package/dist/core/project-health-scan.js +0 -673
- package/dist/core/project-health-scan.js.map +0 -1
- package/dist/core/project-health-score.d.ts +0 -41
- package/dist/core/project-health-score.js +0 -257
- package/dist/core/project-health-score.js.map +0 -1
- package/dist/core/prompt-command-expansion.d.ts +0 -13
- package/dist/core/prompt-command-expansion.js +0 -48
- package/dist/core/prompt-command-expansion.js.map +0 -1
- package/dist/core/prompt-commands.d.ts +0 -13
- package/dist/core/prompt-commands.js +0 -370
- package/dist/core/prompt-commands.js.map +0 -1
- package/dist/core/radio-players.d.ts +0 -28
- package/dist/core/radio-players.js +0 -133
- package/dist/core/radio-players.js.map +0 -1
- package/dist/core/radio.d.ts +0 -50
- package/dist/core/radio.js +0 -480
- package/dist/core/radio.js.map +0 -1
- package/dist/core/regrounding.d.ts +0 -37
- package/dist/core/regrounding.js +0 -89
- package/dist/core/regrounding.js.map +0 -1
- package/dist/core/resolve-start.d.ts +0 -28
- package/dist/core/resolve-start.js +0 -35
- package/dist/core/resolve-start.js.map +0 -1
- package/dist/core/run-claim.d.ts +0 -36
- package/dist/core/run-claim.js +0 -46
- package/dist/core/run-claim.js.map +0 -1
- package/dist/core/run-lifecycle.d.ts +0 -58
- package/dist/core/run-lifecycle.js +0 -104
- package/dist/core/run-lifecycle.js.map +0 -1
- package/dist/core/run-status.d.ts +0 -17
- package/dist/core/run-status.js +0 -28
- package/dist/core/run-status.js.map +0 -1
- package/dist/core/runtime-mode.d.ts +0 -21
- package/dist/core/runtime-mode.js +0 -43
- package/dist/core/runtime-mode.js.map +0 -1
- package/dist/core/sandbox-domains.d.ts +0 -13
- package/dist/core/sandbox-domains.js +0 -76
- package/dist/core/sandbox-domains.js.map +0 -1
- package/dist/core/sandbox-feedback.d.ts +0 -21
- package/dist/core/sandbox-feedback.js +0 -69
- package/dist/core/sandbox-feedback.js.map +0 -1
- package/dist/core/sandbox.d.ts +0 -106
- package/dist/core/sandbox.js +0 -383
- package/dist/core/sandbox.js.map +0 -1
- package/dist/core/semantic-loop-check.d.ts +0 -58
- package/dist/core/semantic-loop-check.js +0 -103
- package/dist/core/semantic-loop-check.js.map +0 -1
- package/dist/core/session-compaction.d.ts +0 -23
- package/dist/core/session-compaction.js +0 -54
- package/dist/core/session-compaction.js.map +0 -1
- package/dist/core/session-export.d.ts +0 -97
- package/dist/core/session-export.js +0 -368
- package/dist/core/session-export.js.map +0 -1
- package/dist/core/session-history.d.ts +0 -160
- package/dist/core/session-history.js +0 -467
- package/dist/core/session-history.js.map +0 -1
- package/dist/core/session-manager.d.ts +0 -509
- package/dist/core/session-manager.js +0 -1367
- package/dist/core/session-manager.js.map +0 -1
- package/dist/core/session-preview.d.ts +0 -12
- package/dist/core/session-preview.js +0 -58
- package/dist/core/session-preview.js.map +0 -1
- package/dist/core/session-storage.d.ts +0 -78
- package/dist/core/session-storage.js +0 -659
- package/dist/core/session-storage.js.map +0 -1
- package/dist/core/session-summary-index.d.ts +0 -51
- package/dist/core/session-summary-index.js +0 -192
- package/dist/core/session-summary-index.js.map +0 -1
- package/dist/core/settings-manager.d.ts +0 -113
- package/dist/core/settings-manager.js +0 -281
- package/dist/core/settings-manager.js.map +0 -1
- package/dist/core/shared-checkout-guard.d.ts +0 -78
- package/dist/core/shared-checkout-guard.js +0 -219
- package/dist/core/shared-checkout-guard.js.map +0 -1
- package/dist/core/shell-path.d.ts +0 -13
- package/dist/core/shell-path.js +0 -175
- package/dist/core/shell-path.js.map +0 -1
- package/dist/core/shell-threats-popular-packages.d.ts +0 -11
- package/dist/core/shell-threats-popular-packages.js +0 -675
- package/dist/core/shell-threats-popular-packages.js.map +0 -1
- package/dist/core/shell-threats.d.ts +0 -21
- package/dist/core/shell-threats.js +0 -235
- package/dist/core/shell-threats.js.map +0 -1
- package/dist/core/shell.d.ts +0 -54
- package/dist/core/shell.js +0 -99
- package/dist/core/shell.js.map +0 -1
- package/dist/core/shutdown.d.ts +0 -70
- package/dist/core/shutdown.js +0 -144
- package/dist/core/shutdown.js.map +0 -1
- package/dist/core/skill-scan.d.ts +0 -112
- package/dist/core/skill-scan.js +0 -781
- package/dist/core/skill-scan.js.map +0 -1
- package/dist/core/skills.d.ts +0 -100
- package/dist/core/skills.js +0 -299
- package/dist/core/skills.js.map +0 -1
- package/dist/core/slash-commands.d.ts +0 -58
- package/dist/core/slash-commands.js +0 -242
- package/dist/core/slash-commands.js.map +0 -1
- package/dist/core/steering.d.ts +0 -47
- package/dist/core/steering.js +0 -65
- package/dist/core/steering.js.map +0 -1
- package/dist/core/steroids.d.ts +0 -66
- package/dist/core/steroids.js +0 -243
- package/dist/core/steroids.js.map +0 -1
- package/dist/core/stream-diag-level.d.ts +0 -3
- package/dist/core/stream-diag-level.js +0 -24
- package/dist/core/stream-diag-level.js.map +0 -1
- package/dist/core/stream-rules.d.ts +0 -30
- package/dist/core/stream-rules.js +0 -151
- package/dist/core/stream-rules.js.map +0 -1
- package/dist/core/subagent-manager.d.ts +0 -239
- package/dist/core/subagent-manager.js +0 -1060
- package/dist/core/subagent-manager.js.map +0 -1
- package/dist/core/subagent-policy.d.ts +0 -9
- package/dist/core/subagent-policy.js +0 -41
- package/dist/core/subagent-policy.js.map +0 -1
- package/dist/core/subagent-receipt.d.ts +0 -54
- package/dist/core/subagent-receipt.js +0 -274
- package/dist/core/subagent-receipt.js.map +0 -1
- package/dist/core/subagent-store.d.ts +0 -41
- package/dist/core/subagent-store.js +0 -284
- package/dist/core/subagent-store.js.map +0 -1
- package/dist/core/subagent-turn-record.d.ts +0 -18
- package/dist/core/subagent-turn-record.js +0 -82
- package/dist/core/subagent-turn-record.js.map +0 -1
- package/dist/core/tasks-store.d.ts +0 -31
- package/dist/core/tasks-store.js +0 -97
- package/dist/core/tasks-store.js.map +0 -1
- package/dist/core/telegram-config.d.ts +0 -20
- package/dist/core/telegram-config.js +0 -52
- package/dist/core/telegram-config.js.map +0 -1
- package/dist/core/telegram.d.ts +0 -1
- package/dist/core/telegram.js +0 -3
- package/dist/core/telegram.js.map +0 -1
- package/dist/core/temp-paths.d.ts +0 -5
- package/dist/core/temp-paths.js +0 -50
- package/dist/core/temp-paths.js.map +0 -1
- package/dist/core/test-impact.d.ts +0 -73
- package/dist/core/test-impact.js +0 -467
- package/dist/core/test-impact.js.map +0 -1
- package/dist/core/thinking-level.d.ts +0 -1
- package/dist/core/thinking-level.js +0 -4
- package/dist/core/thinking-level.js.map +0 -1
- package/dist/core/threat-feed.d.ts +0 -65
- package/dist/core/threat-feed.js +0 -335
- package/dist/core/threat-feed.js.map +0 -1
- package/dist/core/trophies/catalog-more.d.ts +0 -2
- package/dist/core/trophies/catalog-more.js +0 -837
- package/dist/core/trophies/catalog-more.js.map +0 -1
- package/dist/core/trophies/catalog.d.ts +0 -4
- package/dist/core/trophies/catalog.js +0 -649
- package/dist/core/trophies/catalog.js.map +0 -1
- package/dist/core/trophies/engine.d.ts +0 -70
- package/dist/core/trophies/engine.js +0 -347
- package/dist/core/trophies/engine.js.map +0 -1
- package/dist/core/trophies/store.d.ts +0 -17
- package/dist/core/trophies/store.js +0 -113
- package/dist/core/trophies/store.js.map +0 -1
- package/dist/core/trophies/types.d.ts +0 -119
- package/dist/core/trophies/types.js +0 -76
- package/dist/core/trophies/types.js.map +0 -1
- package/dist/core/ui-adoption.d.ts +0 -32
- package/dist/core/ui-adoption.js +0 -302
- package/dist/core/ui-adoption.js.map +0 -1
- package/dist/core/ui-compatibility.d.ts +0 -10
- package/dist/core/ui-compatibility.js +0 -51
- package/dist/core/ui-compatibility.js.map +0 -1
- package/dist/core/ui-registry.d.ts +0 -101
- package/dist/core/ui-registry.js +0 -292
- package/dist/core/ui-registry.js.map +0 -1
- package/dist/core/user-shell-context.d.ts +0 -8
- package/dist/core/user-shell-context.js +0 -12
- package/dist/core/user-shell-context.js.map +0 -1
- package/dist/core/verification-evidence.d.ts +0 -49
- package/dist/core/verification-evidence.js +0 -816
- package/dist/core/verification-evidence.js.map +0 -1
- package/dist/core/verification-gate.d.ts +0 -77
- package/dist/core/verification-gate.js +0 -504
- package/dist/core/verification-gate.js.map +0 -1
- package/dist/core/verification-snapshot.d.ts +0 -7
- package/dist/core/verification-snapshot.js +0 -109
- package/dist/core/verification-snapshot.js.map +0 -1
- package/dist/core/verify-commands.d.ts +0 -34
- package/dist/core/verify-commands.js +0 -203
- package/dist/core/verify-commands.js.map +0 -1
- package/dist/core/voice-transcriber.d.ts +0 -1
- package/dist/core/voice-transcriber.js +0 -4
- package/dist/core/voice-transcriber.js.map +0 -1
- package/dist/core/workspace-guard.d.ts +0 -56
- package/dist/core/workspace-guard.js +0 -334
- package/dist/core/workspace-guard.js.map +0 -1
- package/dist/session.d.ts +0 -44
- package/dist/session.js +0 -105
- package/dist/session.js.map +0 -1
- package/dist/system-prompt.d.ts +0 -104
- package/dist/system-prompt.js +0 -480
- package/dist/system-prompt.js.map +0 -1
- package/dist/test-support/fake-home.d.ts +0 -19
- package/dist/test-support/fake-home.js +0 -37
- package/dist/test-support/fake-home.js.map +0 -1
- package/dist/test-support/keep-alive.d.ts +0 -14
- package/dist/test-support/keep-alive.js +0 -17
- package/dist/test-support/keep-alive.js.map +0 -1
- package/dist/test-support/slow-git.d.ts +0 -1
- package/dist/test-support/slow-git.js +0 -21
- package/dist/test-support/slow-git.js.map +0 -1
- package/dist/test-support/system-tools.d.ts +0 -6
- package/dist/test-support/system-tools.js +0 -36
- package/dist/test-support/system-tools.js.map +0 -1
- package/dist/tools/ask-user.d.ts +0 -34
- package/dist/tools/ask-user.js +0 -99
- package/dist/tools/ask-user.js.map +0 -1
- package/dist/tools/background-watch-lint.d.ts +0 -18
- package/dist/tools/background-watch-lint.js +0 -102
- package/dist/tools/background-watch-lint.js.map +0 -1
- package/dist/tools/bash-read-evidence.d.ts +0 -23
- package/dist/tools/bash-read-evidence.js +0 -180
- package/dist/tools/bash-read-evidence.js.map +0 -1
- package/dist/tools/bash.d.ts +0 -64
- package/dist/tools/bash.js +0 -552
- package/dist/tools/bash.js.map +0 -1
- package/dist/tools/browser-api.d.ts +0 -27
- package/dist/tools/browser-api.js +0 -449
- package/dist/tools/browser-api.js.map +0 -1
- package/dist/tools/browser-sandbox.d.ts +0 -16
- package/dist/tools/browser-sandbox.js +0 -158
- package/dist/tools/browser-sandbox.js.map +0 -1
- package/dist/tools/browser-session.d.ts +0 -84
- package/dist/tools/browser-session.js +0 -304
- package/dist/tools/browser-session.js.map +0 -1
- package/dist/tools/browser-snapshot.d.ts +0 -19
- package/dist/tools/browser-snapshot.js +0 -109
- package/dist/tools/browser-snapshot.js.map +0 -1
- package/dist/tools/browser.d.ts +0 -11
- package/dist/tools/browser.js +0 -106
- package/dist/tools/browser.js.map +0 -1
- package/dist/tools/checklist.d.ts +0 -49
- package/dist/tools/checklist.js +0 -154
- package/dist/tools/checklist.js.map +0 -1
- package/dist/tools/compress.d.ts +0 -56
- package/dist/tools/compress.js +0 -226
- package/dist/tools/compress.js.map +0 -1
- package/dist/tools/debug.d.ts +0 -54
- package/dist/tools/debug.js +0 -230
- package/dist/tools/debug.js.map +0 -1
- package/dist/tools/document-text.d.ts +0 -6
- package/dist/tools/document-text.js +0 -154
- package/dist/tools/document-text.js.map +0 -1
- package/dist/tools/edit-diff.d.ts +0 -123
- package/dist/tools/edit-diff.js +0 -476
- package/dist/tools/edit-diff.js.map +0 -1
- package/dist/tools/edit-targets.d.ts +0 -10
- package/dist/tools/edit-targets.js +0 -31
- package/dist/tools/edit-targets.js.map +0 -1
- package/dist/tools/edit.d.ts +0 -38
- package/dist/tools/edit.js +0 -695
- package/dist/tools/edit.js.map +0 -1
- package/dist/tools/enter-plan.d.ts +0 -7
- package/dist/tools/enter-plan.js +0 -20
- package/dist/tools/enter-plan.js.map +0 -1
- package/dist/tools/exit-plan.d.ts +0 -7
- package/dist/tools/exit-plan.js +0 -51
- package/dist/tools/exit-plan.js.map +0 -1
- package/dist/tools/find.d.ts +0 -17
- package/dist/tools/find.js +0 -100
- package/dist/tools/find.js.map +0 -1
- package/dist/tools/generate-image.d.ts +0 -83
- package/dist/tools/generate-image.js +0 -625
- package/dist/tools/generate-image.js.map +0 -1
- package/dist/tools/grep-scan.d.ts +0 -96
- package/dist/tools/grep-scan.js +0 -283
- package/dist/tools/grep-scan.js.map +0 -1
- package/dist/tools/grep.d.ts +0 -48
- package/dist/tools/grep.js +0 -1013
- package/dist/tools/grep.js.map +0 -1
- package/dist/tools/html-extract.d.ts +0 -57
- package/dist/tools/html-extract.js +0 -130
- package/dist/tools/html-extract.js.map +0 -1
- package/dist/tools/index.d.ts +0 -198
- package/dist/tools/index.js +0 -216
- package/dist/tools/index.js.map +0 -1
- package/dist/tools/live-preview.d.ts +0 -23
- package/dist/tools/live-preview.js +0 -41
- package/dist/tools/live-preview.js.map +0 -1
- package/dist/tools/ls.d.ts +0 -9
- package/dist/tools/ls.js +0 -59
- package/dist/tools/ls.js.map +0 -1
- package/dist/tools/operations.d.ts +0 -86
- package/dist/tools/operations.js +0 -117
- package/dist/tools/operations.js.map +0 -1
- package/dist/tools/overflow.d.ts +0 -17
- package/dist/tools/overflow.js +0 -68
- package/dist/tools/overflow.js.map +0 -1
- package/dist/tools/path-utils.d.ts +0 -30
- package/dist/tools/path-utils.js +0 -74
- package/dist/tools/path-utils.js.map +0 -1
- package/dist/tools/pdf-extract.d.ts +0 -17
- package/dist/tools/pdf-extract.js +0 -43
- package/dist/tools/pdf-extract.js.map +0 -1
- package/dist/tools/prompt-hints.d.ts +0 -46
- package/dist/tools/prompt-hints.js +0 -171
- package/dist/tools/prompt-hints.js.map +0 -1
- package/dist/tools/read-only-bash.d.ts +0 -31
- package/dist/tools/read-only-bash.js +0 -338
- package/dist/tools/read-only-bash.js.map +0 -1
- package/dist/tools/read-tracker.d.ts +0 -43
- package/dist/tools/read-tracker.js +0 -120
- package/dist/tools/read-tracker.js.map +0 -1
- package/dist/tools/read.d.ts +0 -18
- package/dist/tools/read.js +0 -316
- package/dist/tools/read.js.map +0 -1
- package/dist/tools/redaction-guard.d.ts +0 -10
- package/dist/tools/redaction-guard.js +0 -55
- package/dist/tools/redaction-guard.js.map +0 -1
- package/dist/tools/routine-output.d.ts +0 -39
- package/dist/tools/routine-output.js +0 -281
- package/dist/tools/routine-output.js.map +0 -1
- package/dist/tools/safe-env.d.ts +0 -1
- package/dist/tools/safe-env.js +0 -79
- package/dist/tools/safe-env.js.map +0 -1
- package/dist/tools/session-stats.d.ts +0 -26
- package/dist/tools/session-stats.js +0 -51
- package/dist/tools/session-stats.js.map +0 -1
- package/dist/tools/side-web-search.d.ts +0 -34
- package/dist/tools/side-web-search.js +0 -146
- package/dist/tools/side-web-search.js.map +0 -1
- package/dist/tools/skill.d.ts +0 -12
- package/dist/tools/skill.js +0 -94
- package/dist/tools/skill.js.map +0 -1
- package/dist/tools/source-path.d.ts +0 -8
- package/dist/tools/source-path.js +0 -128
- package/dist/tools/source-path.js.map +0 -1
- package/dist/tools/steroids.d.ts +0 -44
- package/dist/tools/steroids.js +0 -356
- package/dist/tools/steroids.js.map +0 -1
- package/dist/tools/subagent-control.d.ts +0 -5
- package/dist/tools/subagent-control.js +0 -211
- package/dist/tools/subagent-control.js.map +0 -1
- package/dist/tools/subagent-shared.d.ts +0 -110
- package/dist/tools/subagent-shared.js +0 -180
- package/dist/tools/subagent-shared.js.map +0 -1
- package/dist/tools/subagent.d.ts +0 -37
- package/dist/tools/subagent.js +0 -406
- package/dist/tools/subagent.js.map +0 -1
- package/dist/tools/task-output.d.ts +0 -10
- package/dist/tools/task-output.js +0 -74
- package/dist/tools/task-output.js.map +0 -1
- package/dist/tools/task-send.d.ts +0 -11
- package/dist/tools/task-send.js +0 -36
- package/dist/tools/task-send.js.map +0 -1
- package/dist/tools/task-stop.d.ts +0 -8
- package/dist/tools/task-stop.js +0 -15
- package/dist/tools/task-stop.js.map +0 -1
- package/dist/tools/tasks.d.ts +0 -15
- package/dist/tools/tasks.js +0 -94
- package/dist/tools/tasks.js.map +0 -1
- package/dist/tools/tool-search.d.ts +0 -26
- package/dist/tools/tool-search.js +0 -81
- package/dist/tools/tool-search.js.map +0 -1
- package/dist/tools/tool-tiers.d.ts +0 -65
- package/dist/tools/tool-tiers.js +0 -121
- package/dist/tools/tool-tiers.js.map +0 -1
- package/dist/tools/truncate.d.ts +0 -39
- package/dist/tools/truncate.js +0 -242
- package/dist/tools/truncate.js.map +0 -1
- package/dist/tools/ui-adopt.d.ts +0 -16
- package/dist/tools/ui-adopt.js +0 -66
- package/dist/tools/ui-adopt.js.map +0 -1
- package/dist/tools/ui-registry.d.ts +0 -15
- package/dist/tools/ui-registry.js +0 -39
- package/dist/tools/ui-registry.js.map +0 -1
- package/dist/tools/verification-review.d.ts +0 -2
- package/dist/tools/verification-review.js +0 -41
- package/dist/tools/verification-review.js.map +0 -1
- package/dist/tools/web-fetch.d.ts +0 -52
- package/dist/tools/web-fetch.js +0 -986
- package/dist/tools/web-fetch.js.map +0 -1
- package/dist/tools/web-search.d.ts +0 -35
- package/dist/tools/web-search.js +0 -926
- package/dist/tools/web-search.js.map +0 -1
- package/dist/tools/write.d.ts +0 -16
- package/dist/tools/write.js +0 -196
- package/dist/tools/write.js.map +0 -1
- package/dist/types.d.ts +0 -44
- package/dist/types.js +0 -2
- package/dist/types.js.map +0 -1
- package/dist/utils/git.d.ts +0 -102
- package/dist/utils/git.js +0 -325
- package/dist/utils/git.js.map +0 -1
- package/dist/utils/github-ci.d.ts +0 -18
- package/dist/utils/github-ci.js +0 -138
- package/dist/utils/github-ci.js.map +0 -1
- package/dist/utils/github.d.ts +0 -19
- package/dist/utils/github.js +0 -67
- package/dist/utils/github.js.map +0 -1
- package/dist/utils/image.d.ts +0 -166
- package/dist/utils/image.js +0 -673
- package/dist/utils/image.js.map +0 -1
- package/dist/utils/open-browser.d.ts +0 -13
- package/dist/utils/open-browser.js +0 -31
- package/dist/utils/open-browser.js.map +0 -1
- package/dist/utils/plan-steps.d.ts +0 -90
- package/dist/utils/plan-steps.js +0 -209
- package/dist/utils/plan-steps.js.map +0 -1
- package/dist/utils/process.d.ts +0 -48
- package/dist/utils/process.js +0 -175
- package/dist/utils/process.js.map +0 -1
- package/dist/utils/prompt-enhancer.d.ts +0 -53
- package/dist/utils/prompt-enhancer.js +0 -178
- package/dist/utils/prompt-enhancer.js.map +0 -1
- package/dist/utils/text.d.ts +0 -61
- package/dist/utils/text.js +0 -68
- package/dist/utils/text.js.map +0 -1
- package/dist/web.d.ts +0 -5
- package/dist/web.js +0 -5
- package/dist/web.js.map +0 -1
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
# Attack Classes
|
|
2
|
-
|
|
3
|
-
What to look for, one section per audit in `audit-protocol.md` Phase 2. Each section stands alone and uses the same shape: **Fires when**, **Look for**, **Not a finding**, **Controls**. Working alone, use the selected sections as your checklist; in the fan-out variant, paste them verbatim into each child's brief so every child hunts the same way.
|
|
4
|
-
|
|
5
|
-
Every candidate must still pass the candidate gate in `audit-protocol.md` Phase 3. A lead below is a place to trace, not a finding.
|
|
6
|
-
|
|
7
|
-
## Contents
|
|
8
|
-
|
|
9
|
-
- Access control and tenant isolation
|
|
10
|
-
- Data lifecycle and derived copies
|
|
11
|
-
- Business logic, money and races
|
|
12
|
-
- Webhooks and inbound integrations
|
|
13
|
-
- Injection
|
|
14
|
-
- Authentication, sessions and recovery
|
|
15
|
-
- HTTP edge, caching and browser
|
|
16
|
-
- Secrets and exposure
|
|
17
|
-
- Supply chain
|
|
18
|
-
- CI/CD and release integrity
|
|
19
|
-
- SSRF, paths and files
|
|
20
|
-
- Cloud and infrastructure
|
|
21
|
-
- Cryptography
|
|
22
|
-
- Resource abuse and denial of wallet
|
|
23
|
-
- Agent surface
|
|
24
|
-
- Desktop, mobile and local IPC
|
|
25
|
-
|
|
26
|
-
## Access control and tenant isolation
|
|
27
|
-
|
|
28
|
-
**Fires when:** any per-user, per-tenant or role-gated data.
|
|
29
|
-
|
|
30
|
-
**Look for:**
|
|
31
|
-
- Every route to the same object: get, list, update, delete, bulk and batch endpoints, GraphQL resolvers, server actions, background jobs, admin and older API versions. One path with the check and a sibling without it is the most common real finding.
|
|
32
|
-
- Identity read from the request (body, query, header, path) instead of the session. User, tenant, role, owner or price fields accepted on write (mass assignment).
|
|
33
|
-
- Checks only in the UI, middleware or edge layer. RLS off, `using (true)`, or covering only some of select, insert, update, delete.
|
|
34
|
-
- Lookups by object ID alone where the ID is only unique within a tenant. A child object reachable without checking its parent.
|
|
35
|
-
- Policy and query disagreeing: the policy checks one field, the query filters another, or an `OR` widens the filter.
|
|
36
|
-
|
|
37
|
-
**Not a finding:** a user reading or changing their own data with their own authority; an intended admin power used by an admin.
|
|
38
|
-
|
|
39
|
-
**Controls:** `secure-defaults.md` Authorization; `platform-playbooks.md` Web & API.
|
|
40
|
-
|
|
41
|
-
## Data lifecycle and derived copies
|
|
42
|
-
|
|
43
|
-
**Fires when:** user data is copied into search, exports, caches, logs, analytics or model context, can be deleted or restored, or members can be removed.
|
|
44
|
-
|
|
45
|
-
**Look for:**
|
|
46
|
-
- Other readers of the same data: search indexes, exports and reports, analytics, logs, traces, error trackers, caches, notifications and emails, embeddings and model context. Each needs the same owner or tenant filter as the main read.
|
|
47
|
-
- Access that outlives removal: sessions, refresh tokens, API keys, share links, invites, signed URLs and queued jobs that still work after a member leaves, a role drops, or an account is deleted.
|
|
48
|
-
- Soft-deleted or archived rows still returned by search, counts, exports or joins.
|
|
49
|
-
- Import and restore that create records the user could not create through the normal path, skip validation, or overwrite other users' records.
|
|
50
|
-
- Oracles: search, filters, sorting, counts or different errors that reveal whether a record the user cannot read exists.
|
|
51
|
-
|
|
52
|
-
**Not a finding:** retention periods (`compliance-guard` owns those); copies only the owner can read.
|
|
53
|
-
|
|
54
|
-
**Controls:** `secure-defaults.md` Authorization.
|
|
55
|
-
|
|
56
|
-
## Business logic, money and races
|
|
57
|
-
|
|
58
|
-
**Fires when:** payments, credits, quotas, coupons, invites, one-time tokens, inventory, voting, or any multi-step workflow.
|
|
59
|
-
|
|
60
|
-
**Look for:**
|
|
61
|
-
- Prices, discounts, quantities, plan IDs or currency sent by the client and trusted by the server.
|
|
62
|
-
- Negative, zero, fractional, huge or non-numeric amounts; rounding and unit mismatches between steps.
|
|
63
|
-
- Check-then-act on a shared balance or one-time item without an atomic update, row lock or unique constraint: two concurrent requests redeem one coupon, spend the same credits twice, or accept one invite twice.
|
|
64
|
-
- Steps that can be skipped, repeated or reordered: replaying a success callback, calling the final step directly, a cancelled order that still delivers.
|
|
65
|
-
- Partial failure: step two fails and step one's grant or charge is never rolled back.
|
|
66
|
-
- Entitlements decided by a client flag, a success-page redirect, or a cached plan that is never re-checked.
|
|
67
|
-
|
|
68
|
-
**Not a finding:** a race with nothing shared at stake, or a window no outsider can reach. A check-then-act on money, credits, quotas or one-time items is reportable even when the window is short, because parallel requests are free.
|
|
69
|
-
|
|
70
|
-
**Controls:** `secure-defaults.md` Money, quotas & webhooks.
|
|
71
|
-
|
|
72
|
-
## Webhooks and inbound integrations
|
|
73
|
-
|
|
74
|
-
**Fires when:** the app receives webhooks, payment or OAuth callbacks, or events from another service.
|
|
75
|
-
|
|
76
|
-
**Look for:**
|
|
77
|
-
- A handler that acts without verifying the provider's signature, verifies a re-serialized body instead of the raw bytes, compares with `==`, or skips verification when the header is missing.
|
|
78
|
-
- No timestamp tolerance or event-ID dedupe, so a captured event can be replayed.
|
|
79
|
-
- Payload fields (amount, customer, status) trusted instead of re-fetching the object from the provider's API.
|
|
80
|
-
- Callback parameters that pick the account, tenant or pending transaction without binding to state the app generated.
|
|
81
|
-
- One webhook secret shared across environments, or committed.
|
|
82
|
-
|
|
83
|
-
**Not a finding:** an endpoint that only enqueues the event ID and re-fetches from the provider before acting.
|
|
84
|
-
|
|
85
|
-
**Controls:** `secure-defaults.md` Money, quotas & webhooks; `platform-playbooks.md` Web & API.
|
|
86
|
-
|
|
87
|
-
## Injection
|
|
88
|
-
|
|
89
|
-
**Fires when:** untrusted input reaches an interpreter.
|
|
90
|
-
|
|
91
|
-
**Look for:** SQL/NoSQL/LDAP/XPath built from strings, including dynamic `ORDER BY` columns and `IN` lists; shell strings and `shell: true`; user-supplied templates; `eval`, `Function`, `vm`, dynamic `import`/`require`; unsafe deserializers (`pickle`, `yaml.load`, `Marshal`, `ObjectInputStream`); XML parsed with entities on; model output reaching any of these.
|
|
92
|
-
|
|
93
|
-
**Not a finding:** framework-escaped rendering, parameterized ORM calls, and input that is a constant, build-time value or operator config.
|
|
94
|
-
|
|
95
|
-
**Controls:** `platform-playbooks.md` Web & API and Language hot zones.
|
|
96
|
-
|
|
97
|
-
## Authentication, sessions and recovery
|
|
98
|
-
|
|
99
|
-
**Fires when:** any login, session, token, OAuth/SSO, MFA or password-reset logic.
|
|
100
|
-
|
|
101
|
-
**Look for:**
|
|
102
|
-
- Token checks: algorithm read from the token, `none` accepted, `exp`/`aud`/`iss` unchecked, or a valid signature whose claims are never bound to the tenant or user being acted on.
|
|
103
|
-
- OAuth/OIDC: missing `state` or PKCE, loose redirect-URI matching, ID token audience or nonce unchecked.
|
|
104
|
-
- Account linking: a social or SSO sign-in that attaches to an existing account by matching email alone, especially an unverified one. That is account takeover with one sign-up.
|
|
105
|
-
- Reset and magic links built from the request's `Host` or `X-Forwarded-Host`, which mails the victim's token to the attacker's domain. Reset tokens that are reusable, long-lived, or survive a password change.
|
|
106
|
-
- Sessions not rotated on login or privilege change; logout or password change leaving other sessions and refresh tokens alive.
|
|
107
|
-
- MFA enrolled or removed without recent re-authentication; recovery weaker than the factor it recovers; step-up not bound to the action it guards.
|
|
108
|
-
- Enumeration: a different status, message or timing for "no such account" on login, signup, reset or invite.
|
|
109
|
-
- No rate limit on login, reset, MFA or token exchange.
|
|
110
|
-
|
|
111
|
-
**Not a finding:** a signed-in user changing their own settings, unless the design requires step-up for that action.
|
|
112
|
-
|
|
113
|
-
**Controls:** `secure-defaults.md` Authentication.
|
|
114
|
-
|
|
115
|
-
## HTTP edge, caching and browser
|
|
116
|
-
|
|
117
|
-
**Fires when:** the app renders HTML, sits behind a CDN or proxy, or authenticates with cookies.
|
|
118
|
-
|
|
119
|
-
**Look for:**
|
|
120
|
-
- Private responses a CDN or shared cache can store: authenticated pages or API responses without `Cache-Control: private` or `no-store`, cache keys that ignore cookies or `Authorization`, and "static" cache rules that match paths like `/account/x.css` (cache deception). Check framework route-level caching too, not only headers.
|
|
121
|
-
- `Host`, `X-Forwarded-For`, `X-Forwarded-Host` or `X-Forwarded-Proto` trusted from clients that are not behind a configured proxy, then used for links, redirects, rate-limit keys, IP allowlists or "is HTTPS" decisions.
|
|
122
|
-
- Cookie-authenticated state changes without CSRF protection, including login and JSON endpoints; CORS reflecting any origin with credentials; WebSockets that accept any `Origin` with cookie auth.
|
|
123
|
-
- DOM sinks fed from the URL, `postMessage` without an origin check, browser storage or third-party data; prototype pollution from deep-merging user JSON into objects used for config or checks.
|
|
124
|
-
- Tokens in `localStorage`; service workers or caches that keep one user's data after logout or account switch.
|
|
125
|
-
- A one-click damaging action that can be framed (no `frame-ancestors`).
|
|
126
|
-
|
|
127
|
-
**Not a finding:** a missing header with no reachable consequence; caching genuinely public responses.
|
|
128
|
-
|
|
129
|
-
**Controls:** `secure-defaults.md` Web response headers; `platform-playbooks.md` Web & API.
|
|
130
|
-
|
|
131
|
-
## Secrets and exposure
|
|
132
|
-
|
|
133
|
-
**Fires when:** any credential exists.
|
|
134
|
-
|
|
135
|
-
**Look for:** keys in source, git history, client bundles and source maps, public env prefixes, logs, error responses, telemetry, CI output, agent and MCP config, container layers and published packages; debug endpoints; served `.env` or `.git`.
|
|
136
|
-
|
|
137
|
-
**Not a finding:** obvious test fixtures and public sample keys. Say you saw them and checked they are not live.
|
|
138
|
-
|
|
139
|
-
**Controls:** `secure-defaults.md` Secrets.
|
|
140
|
-
|
|
141
|
-
## Supply chain
|
|
142
|
-
|
|
143
|
-
**Fires when:** any dependency manager, vendored code, editor or agent config, or MCP server.
|
|
144
|
-
|
|
145
|
-
**Look for:** dependencies that do not exist or look like squats; unpinned or mutable versions; install scripts allowed; lockfile drift; git or URL dependencies; auto-run editor and agent config; MCP servers unpinned or re-trusted after an update.
|
|
146
|
-
|
|
147
|
-
**Not a finding:** a known advisory in code that is never reached. Note it as maintenance, not a vulnerability.
|
|
148
|
-
|
|
149
|
-
**Controls:** `supply-chain.md`.
|
|
150
|
-
|
|
151
|
-
## CI/CD and release integrity
|
|
152
|
-
|
|
153
|
-
**Fires when:** any workflow, release or update pipeline.
|
|
154
|
-
|
|
155
|
-
**Look for:** untrusted code in a privileged workflow (`pull_request_target`, `workflow_run`); `${{ github.event.* }}` interpolated into `run:`; actions not pinned by SHA; broad `permissions:` or `id-token: write` outside the publish job; caches and artifacts shared between untrusted and release jobs; secrets echoed; artifacts that can be swapped between build and publish; updates that are unsigned or accept an older version.
|
|
156
|
-
|
|
157
|
-
**Not a finding:** a workflow that only runs trusted, already-merged code with read-only permissions.
|
|
158
|
-
|
|
159
|
-
**Controls:** `supply-chain.md` CI/CD and Publishing.
|
|
160
|
-
|
|
161
|
-
## SSRF, paths and files
|
|
162
|
-
|
|
163
|
-
**Fires when:** a URL, path, archive or upload comes from input.
|
|
164
|
-
|
|
165
|
-
**Look for:** server fetches of user URLs (webhook targets, link previews, imports, image proxies, OAuth metadata) without a resolved-IP check and re-validation on every redirect; path joins without a containment check after resolution; archive entries with `..`, absolute paths or symlinks; check-then-use on paths; uploads served from the app's origin.
|
|
166
|
-
|
|
167
|
-
**Not a finding:** URLs that are constants or build-time strings.
|
|
168
|
-
|
|
169
|
-
**Controls:** `platform-playbooks.md` Web & API (SSRF, File upload) and CLI & developer tooling.
|
|
170
|
-
|
|
171
|
-
## Cloud and infrastructure
|
|
172
|
-
|
|
173
|
-
**Fires when:** IaC, containers, serverless config or cloud SDK calls.
|
|
174
|
-
|
|
175
|
-
**Look for:** wildcard IAM or roles shared across services; authorization delegated to "anything inside the network"; public buckets; long-lived or unscoped presigned URLs; the legacy metadata service; admin or database ports open to the internet; privileged containers or a mounted Docker socket; secrets in plain manifests; default credentials.
|
|
176
|
-
|
|
177
|
-
**Not a finding:** a setting the repo cannot show. That is needs validation, with the console or CLI check that settles it.
|
|
178
|
-
|
|
179
|
-
**Controls:** `secure-defaults.md` Cloud, containers & infrastructure.
|
|
180
|
-
|
|
181
|
-
## Cryptography
|
|
182
|
-
|
|
183
|
-
**Fires when:** any hashing, signing, encryption or random token.
|
|
184
|
-
|
|
185
|
-
**Look for:** fast hashes for passwords; non-AEAD or ECB modes; nonce reuse; `Math.random` or a seeded PRNG for tokens; non-constant-time compares, or compares before the shape is validated; signatures unverified or verified with an algorithm taken from the input; crypto errors that fall through to success.
|
|
186
|
-
|
|
187
|
-
**Not a finding:** a weak hash used for a non-security purpose such as cache keys or ETags.
|
|
188
|
-
|
|
189
|
-
**Controls:** `secure-defaults.md` Cryptography and Failure behavior.
|
|
190
|
-
|
|
191
|
-
## Resource abuse and denial of wallet
|
|
192
|
-
|
|
193
|
-
**Fires when:** public or low-trust callers can trigger expensive work, paid APIs or model calls, file parsing, or queued jobs.
|
|
194
|
-
|
|
195
|
-
**Look for:** pre-auth work that costs far more than the request (model calls, email or SMS sends, image or PDF rendering, heavy queries); unbounded page size, batch size or GraphQL depth; decompression and archive bombs; quotas keyed on something the caller can change, or reset by a new account or API key; retries that multiply load on failure; one poison message that blocks a queue.
|
|
196
|
-
|
|
197
|
-
**Not a finding:** a missing rate limit on a cheap endpoint; slowness the caller pays for themselves.
|
|
198
|
-
|
|
199
|
-
**Controls:** `agent-surface.md` (spend caps); `platform-playbooks.md` Web & API.
|
|
200
|
-
|
|
201
|
-
## Agent surface
|
|
202
|
-
|
|
203
|
-
**Fires when:** the code calls a model, exposes tools to one, runs an agent, or serves or consumes MCP.
|
|
204
|
-
|
|
205
|
-
**Look for:** private data, untrusted content and egress in one context (the lethal trifecta); model-chosen tool arguments reaching a shell, SQL, path or URL unchecked; approvals that show intent instead of the concrete effect, or are not bound to the action that actually runs; one user's context, memory or retrieved documents reaching another; sub-agents or MCP servers inheriting the parent's credentials; tool descriptions or server identity trusted after an update; model output rendered as HTML, or markdown with remote images; loops and spend without caps.
|
|
206
|
-
|
|
207
|
-
**Not a finding:** prompt injection with no privileged tool, private data or egress behind it.
|
|
208
|
-
|
|
209
|
-
**Controls:** `agent-surface.md`.
|
|
210
|
-
|
|
211
|
-
## Desktop, mobile and local IPC
|
|
212
|
-
|
|
213
|
-
**Fires when:** a desktop or mobile app, privileged helper, updater, local server, deep link, webview bridge or IPC channel.
|
|
214
|
-
|
|
215
|
-
**Look for:**
|
|
216
|
-
- Loopback servers and IPC that accept any local process: no per-launch token, no peer-credential check, a `0.0.0.0` bind, no `Origin` or `Host` check (DNS rebinding).
|
|
217
|
-
- A caller authenticated as one app or user whose request fields then select another user, profile or capability.
|
|
218
|
-
- Privileged helpers that run a caller-chosen command, file or setting without checking it on every call.
|
|
219
|
-
- Deep links and file-open events that change state, finish sign-in or pick an account without a one-time binding to a request the app started.
|
|
220
|
-
- Webview bridges reachable from remote content or after a navigation; capability or permission files wider than the windows that need them.
|
|
221
|
-
- Updates verified after unpacking, or without pinning version and target; install and repair paths writable by a lower-privilege user.
|
|
222
|
-
- Logout or account switch leaving the previous user's tokens, caches or pending actions behind.
|
|
223
|
-
|
|
224
|
-
**Not a finding:** the same OS user harming their own data; a missing hardening flag with no reachable content behind it.
|
|
225
|
-
|
|
226
|
-
**Controls:** `platform-playbooks.md` Desktop, Mobile, and CLI & developer tooling.
|
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
# Full Review Protocol
|
|
2
|
-
|
|
3
|
-
The flow for "is this safe to ship", a hardening pass, or a requested audit. **Default: run it yourself, in the main thread.** Fan out only when SKILL.md's Scaling section says so (more than one deployable, or more ledger rows than you can read in full); see "Fan-out variant" below. For inline work, do not run this: apply the control and move on.
|
|
4
|
-
|
|
5
|
-
## Contents
|
|
6
|
-
|
|
7
|
-
- Ground rules (evidence bar, running code, how a review ends)
|
|
8
|
-
- Phase 1 Recon
|
|
9
|
-
- Phase 2 Plan the audit (coverage ledger)
|
|
10
|
-
- Fan-out variant
|
|
11
|
-
- Phase 3 Audits (hunting depth, candidate gate)
|
|
12
|
-
- Phase 3b Coverage gap pass
|
|
13
|
-
- Phase 4 False-positive filter (needs validation, exclusions)
|
|
14
|
-
- Phase 5 Report (template, writing for non-specialists)
|
|
15
|
-
- Phase 6 Ask before fixing
|
|
16
|
-
- Standards mapping
|
|
17
|
-
|
|
18
|
-
## Ground rules
|
|
19
|
-
|
|
20
|
-
**Every phase is authorized defensive review for the code owner.** The deliverable is a remediation report. No exploit code, no payloads, no attack tooling, at any phase. Describe risk at the data-flow level: where untrusted data enters, what it reaches, why it is fixable.
|
|
21
|
-
|
|
22
|
-
**Confidence bar: report only findings at ≥0.8 confidence with a concrete data-flow path.** Missing a theoretical issue is cheaper than burying a real one in noise. A real path whose deciding fact lives outside the repo is not dropped for low confidence: it goes to **Needs validation** (Phase 4).
|
|
23
|
-
|
|
24
|
-
**This protocol is stack-agnostic. Recon drives it.** Do not assume the language, the deploy target, or that an AI layer exists. Read first, decide second.
|
|
25
|
-
|
|
26
|
-
**Running code.** In the user's own project, running its tests or a small local check with dummy users and data is fine and gives `RUNTIME` evidence. For code the user did not write (a cloned third-party repo, a vendored dependency, a stranger's pull request), do not run its install scripts, builds, tests, hooks or binaries unless they are sandboxed with no network, no credentials, and writes limited to a scratch directory; otherwise stay static and put runtime questions under Needs validation. Never probe a deployed system, another person's data, or a paid API.
|
|
27
|
-
|
|
28
|
-
**How a review ends.** Exactly one of two ways: the Phase 5 report with every ledger row closed, or the report marked `Status: incomplete — <reason>` with the open rows listed under Not checked. Never stop mid-phase without saying so.
|
|
29
|
-
|
|
30
|
-
## Phase 1 — Recon
|
|
31
|
-
|
|
32
|
-
Work the **four lenses** below yourself, in order. Batch the reads and greps, since they are independent. **No vulnerabilities are flagged in this phase**: recon describes, it does not judge.
|
|
33
|
-
|
|
34
|
-
**Lens A — Stack & deployment.** Manifests, lockfiles, CI/CD configs, Dockerfiles, IaC, deploy scripts, store metadata. Produce: languages, frameworks, runtimes; deploy target (browser / server / CLI / desktop / mobile / embedded / serverless / container / contract / firmware / ML pipeline / library / SaaS / self-hosted); how it ships (registry, app store, binary, image, chart); where it runs, and whether it is multi-tenant; any CDN, proxy or edge layer in front of it.
|
|
35
|
-
|
|
36
|
-
**Lens B — Trust boundaries & sources.** Entry-point code: route handlers, server actions, argv/stdin parsing, env reads, queue consumers, cron and background jobs, WebSocket and IPC receivers, deep links and URL schemes, file and archive readers, importers, deserializers, plugin and model loaders, MCP and tool handlers, webhooks and payment callbacks. Produce a **sources table**: location (`file:line`), input shape, and who controls it: anonymous, authenticated user, another tenant, admin, another service, build-time, local user, physical.
|
|
37
|
-
|
|
38
|
-
**Lens C — Sinks.** Dangerous operations. Produce a **sinks table** with `file:line` and type: shell exec, SQL/NoSQL/LDAP/XPath, eval/Function/exec/pickle/yaml.load/Marshal/ObjectInputStream, file write, dynamic require/import, network egress, auth decisions, secret reads, balance and entitlement changes, native deserializers, contract external calls, privileged setters, child process spawn.
|
|
39
|
-
|
|
40
|
-
**Lens D — Assets & existing controls.** What must be protected, and what already protects it. Produce an **assets table** (credentials and token stores, PII stores, balances and entitlements, signing and update keys, CI secrets, model API keys, on-chain funds, session state, MCP configs, license keys) **plus a controls table**: the auth middleware, the ORM, RLS policies, CSP, sandbox, escaping layer, validation schema, webhook verifier. Also list the **derived copies** of user data (search indexes, exports, caches, analytics, logs) so Phase 3 checks them. The controls table is what stops Phase 3 from reporting forty things the framework already handles.
|
|
41
|
-
|
|
42
|
-
**Then synthesize:**
|
|
43
|
-
|
|
44
|
-
1. Assemble the four tables.
|
|
45
|
-
2. Write the **threat model**, specific to this project. Who realistically targets it, for what, and through which surface? Ground it in `threat-landscape.md`, but name concrete actors and objectives for *this* codebase: supply-chain risk to downstream users of a library; cross-tenant abuse on a SaaS; free credits on a paid AI app; a malicious repository opened by a developer tool; a hostile counterparty on a contract; a physical attacker with the device.
|
|
46
|
-
3. Note gaps recon flagged for a deeper look.
|
|
47
|
-
4. Count deployables (separately built or shipped units: web app, API, mobile app, worker, CLI, contract, infra repo). This decides Scaling.
|
|
48
|
-
|
|
49
|
-
## Phase 2 — Plan the audit
|
|
50
|
-
|
|
51
|
-
From recon, choose which audits apply. **Skip audits with no entry surface.** A static site gets no SQL audit. Firmware in Rust gets no prompt-injection audit. An ML pipeline gets deserialization. A published library weights supply chain heavily. What each audit looks for is its section in `attack-classes.md`, under the same name.
|
|
52
|
-
|
|
53
|
-
| Audit | Fires when |
|
|
54
|
-
|---|---|
|
|
55
|
-
| **Access control and tenant isolation** | any per-user, per-tenant, or role-gated data |
|
|
56
|
-
| **Data lifecycle and derived copies** | user data copied into search, exports, caches, logs or model context; deletion or restore; removable members |
|
|
57
|
-
| **Business logic, money and races** | payments, credits, quotas, coupons, invites, one-time tokens, multi-step workflows |
|
|
58
|
-
| **Webhooks and inbound integrations** | webhooks, payment or OAuth callbacks, events from another service |
|
|
59
|
-
| **Injection** | untrusted input reaches an interpreter |
|
|
60
|
-
| **Authentication, sessions and recovery** | any login, session, token, OAuth/SSO, MFA or reset logic |
|
|
61
|
-
| **HTTP edge, caching and browser** | HTML rendering, a CDN or proxy in front, cookie auth |
|
|
62
|
-
| **Secrets and exposure** | any credential exists |
|
|
63
|
-
| **Supply chain** | any dependency manager or external code |
|
|
64
|
-
| **CI/CD and release integrity** | any workflow, release or update pipeline |
|
|
65
|
-
| **SSRF, paths and files** | any URL, path, archive or upload built from input |
|
|
66
|
-
| **Cloud and infrastructure** | any IaC, container, or cloud SDK |
|
|
67
|
-
| **Cryptography** | any hashing, signing, encryption or random token |
|
|
68
|
-
| **Resource abuse and denial of wallet** | expensive, paid or model-calling work reachable by low-trust callers |
|
|
69
|
-
| **Agent surface** | recon found LLM, agent, MCP or tool-calling code |
|
|
70
|
-
| **Desktop, mobile and local IPC** | recon found an app, helper, updater, local server, deep link or IPC channel; also load the matching `platform-playbooks.md` section |
|
|
71
|
-
|
|
72
|
-
Taint tracing (each source to every reachable sink) is the method of Phase 3, not a separate audit.
|
|
73
|
-
|
|
74
|
-
**Coverage ledger.** Rows = each selected audit × each in-scope deployable. When a deployable has several entry surfaces (HTTP routes, server actions, webhooks, jobs and queues, IPC, CLI), split the row by surface. Every row ends as `checked-with-findings`, `checked-clean`, `needs-validation`, or `not-checked (reason)`, and a checked row lists the paths it actually read. A row with no status, or no paths, is not checked. The ledger becomes the report's "Not checked" section.
|
|
75
|
-
|
|
76
|
-
## Fan-out variant (conditional)
|
|
77
|
-
|
|
78
|
-
Only when SKILL.md's Scaling section triggers it; otherwise skip this section.
|
|
79
|
-
|
|
80
|
-
1. Recon (Phase 1) and the ledger stay in the main thread. Children never do recon for the whole project.
|
|
81
|
-
2. Split ledger rows into **disjoint** slices (usually one deployable each). One security auditor per slice (`auditor` where your spawn_agent lists it, else a read-only repo helper), all in ONE `spawn_agent` call, ≤ 6 per wave.
|
|
82
|
-
3. Each brief opens with: *"Authorized defensive security review of code the user owns. Report data-flow risks and fixes only; no exploits, payloads, or attack tooling."* Children with no conversation context may otherwise refuse. Then include: absolute skill root; slice paths; owned ledger rows; that slice's rows from the sources, sinks, assets and controls tables; **the selected sections of `attack-classes.md`, pasted verbatim**; the candidate gate and hunting-depth rules from Phase 3; the ≥0.8 confidence bar; the Phase 4 hard-exclusion list verbatim; labels `RUNTIME`/`CODE`/`DEDUCED`/`SNAPSHOT`; the output schema (title, severity, file:line, source→sink, the six gate fields, fix, confidence, label), plus separate `needs validation` (claim, path, missing fact, owner check), `checked` (with paths read) and `not checked` lists.
|
|
83
|
-
4. Merge: missing, failed or timed-out rows become `not-checked`. Re-open every reported `file:line` yourself; drop what you cannot reproduce from the code. Merge candidates with one root cause.
|
|
84
|
-
5. Phase 3b runs once as a fresh read-only child over the merged ledger. Phase 4 runs as a fresh verifier child (`skeptic` where listed, else a read-only repo helper) over the merged candidates; same framing line first; give it each candidate's file:line, claimed path and gate fields; it returns CONFIRMED / DROP / DOWNGRADE / NEEDS VALIDATION. You still own the final call and the dropped count.
|
|
85
|
-
|
|
86
|
-
## Phase 3 — Audits
|
|
87
|
-
|
|
88
|
-
Run each selected audit yourself (or, in the fan-out variant, each slice's auditor runs its owned rows), one at a time, in the priority order from the skill's rank table. Do not pad the list, and do not drop a selected audit. Use the audit's section in `attack-classes.md` as the checklist, and load only the control references (`platform-playbooks.md`, `supply-chain.md`, `agent-surface.md`, `secure-defaults.md`) it names.
|
|
89
|
-
|
|
90
|
-
For each audit, work from the recon tables (sources, sinks, assets, **controls**, derived copies), not from fresh greps, and:
|
|
91
|
-
|
|
92
|
-
1. **Trace data flow** source → sink. Not pattern matching. A grep hit with no path is not a finding.
|
|
93
|
-
2. **Read at depth.** Follow the input through parsing, identity, authorization, normalization, storage, derived copies and the final sink. Read the sibling paths that reach the same effect (bulk, list, export, search, older versions, retries, error paths, background jobs) and compare their checks for **equivalence**, not just presence. Compare what one component guarantees with what the next one assumes.
|
|
94
|
-
3. **Try the edges the interface accepts:** missing, empty, zero, negative, huge, duplicate, mixed encoding, stale or revoked, concurrent, out of order, partially failed.
|
|
95
|
-
4. Apply the **untrusted-input test**: is this input reachable by an untrusted party, or is it a constant, a build-time value, or operator-controlled configuration?
|
|
96
|
-
5. Check the **controls table** before flagging: does the ORM parameterize, does the template engine escape, does middleware already enforce this, does the type system make it unreachable?
|
|
97
|
-
6. Pass the **candidate gate** (below), then describe a concrete **risk scenario** at data-flow level: what input arrives, how the system processes it, what the attacker ends up holding. No payloads. If the steps cannot be described, it is not a finding.
|
|
98
|
-
7. Assign **confidence 0.0–1.0** and drop anything below 0.8, unless the only doubt is a fact outside the repo (Phase 4, Needs validation).
|
|
99
|
-
8. Record location, source→sink, gate fields, scenario, impact, CWE, and a concrete code-level fix at the last trusted decision point.
|
|
100
|
-
|
|
101
|
-
**Candidate gate.** A candidate names all six, or it is not a candidate:
|
|
102
|
-
|
|
103
|
-
1. the lower-trust **actor** (anonymous, another user, another tenant, a malicious repo, another local app);
|
|
104
|
-
2. the **input or action** they control;
|
|
105
|
-
3. the **control** that should stop them;
|
|
106
|
-
4. the **boundary** crossed;
|
|
107
|
-
5. the **affected** user, tenant or resource, which is not the actor's own;
|
|
108
|
-
6. the **result**: what they read, change, spend, run or keep.
|
|
109
|
-
|
|
110
|
-
Harm a user can only do to their own account, data or machine with their own authority is not a finding. One root cause reachable through several paths is one candidate, with the strongest path and the others listed; independent missing controls are separate candidates.
|
|
111
|
-
|
|
112
|
-
## Phase 3b — Coverage gap pass
|
|
113
|
-
|
|
114
|
-
Once, before filtering, check the ledger for gaps rather than trusting memory:
|
|
115
|
-
|
|
116
|
-
- entry points in the sources table that no row covered;
|
|
117
|
-
- sibling paths of a traced path (bulk, export, search, jobs, older versions) left unread;
|
|
118
|
-
- derived copies from Lens D that no row checked;
|
|
119
|
-
- a selected audit with no row, or a row closed without paths;
|
|
120
|
-
- earlier findings or needs-validation items (from a prior report or the project's Checklist record) that nothing re-checked.
|
|
121
|
-
|
|
122
|
-
Run the gaps you find, then mark anything still open `not-checked (reason)`. One pass, not a loop. In the fan-out variant a fresh read-only child does this pass.
|
|
123
|
-
|
|
124
|
-
## Phase 4 — False-positive filter
|
|
125
|
-
|
|
126
|
-
Switch sides. For each candidate, start from "this is a false positive" and try to kill it: re-read the actual code path (not your notes), hunt for the control you missed (middleware, ORM parameterization, framework escaping, a type that makes the path unreachable), re-check every gate field, and check whether the input is genuinely attacker-reachable rather than a constant or operator config. Each candidate ends as one of:
|
|
127
|
-
|
|
128
|
-
- **Keep**: the path survives; severity never exceeds what the path demonstrates.
|
|
129
|
-
- **Drop**: the code refutes it, or an exclusion below applies. Count it.
|
|
130
|
-
- **Downgrade**: real, but weaker than claimed.
|
|
131
|
-
- **Needs validation**: the path is real in the code, but the deciding fact lives outside the repo: a dashboard setting (RLS state, bucket policy), proxy or CDN configuration, provider behaviour, production environment, store or OS policy. It gets no severity and is not counted as a finding. Record the exact missing fact and a safe check the owner can run. Never use it for weak evidence: if the code refutes the path, drop it.
|
|
132
|
-
|
|
133
|
-
Only findings that survive your own attempt to disprove them get reported. In the fan-out variant, or for a pre-ship verdict with Critical/High findings, run this pass as a verifier child (see above) instead of only yourself.
|
|
134
|
-
|
|
135
|
-
**Hard exclusions — do not report these, even when technically real:**
|
|
136
|
-
|
|
137
|
-
- Denial of service, rate limiting, or memory exhaustion without a clear amplification primitive (exception: a missing rate limit on login, signup, password reset, or a paid/LLM endpoint is reportable)
|
|
138
|
-
- Theoretical races with no demonstrable trigger window (exception: a check-then-act on money, credits, quotas, coupons, invites or one-time tokens is reportable; parallel requests are free)
|
|
139
|
-
- Self-impact: a user harming only their own account, data or machine with their own authority
|
|
140
|
-
- Regex denial of service where the pattern is not attacker-supplied
|
|
141
|
-
- Log injection or log spoofing (cosmetic)
|
|
142
|
-
- SSRF where the URL is a constant or build-time string
|
|
143
|
-
- Environment-variable trust (the environment is operator-controlled by definition)
|
|
144
|
-
- Client-side validation "bypass" on an endpoint that revalidates server-side
|
|
145
|
-
- Framework-escaped rendering paths: only the explicit unsafe sinks (`dangerouslySetInnerHTML`, `v-html`, `bypassSecurityTrust*`, raw template filters) count
|
|
146
|
-
- Command injection in a shell script with no untrusted input path
|
|
147
|
-
- Findings in documentation, examples, or test fixtures
|
|
148
|
-
- Dev-only tooling that does not ship to users and does not process untrusted repositories
|
|
149
|
-
- Missing hardening headers or "could be improved" preferences with no demonstrated path
|
|
150
|
-
- Secrets that are obviously test fixtures or public sample keys (but say you saw them and confirmed they are not live)
|
|
151
|
-
|
|
152
|
-
## Phase 5 — Report
|
|
153
|
-
|
|
154
|
-
One report. No code edits in this phase.
|
|
155
|
-
|
|
156
|
-
**Write it for someone who has never read a CVE.**
|
|
157
|
-
|
|
158
|
-
- Lead with what an attacker gets, in plain words: "anyone who knows a user's ID can read their invoices", not "IDOR in the invoice controller".
|
|
159
|
-
- Name the file and line, then the fix, then the reason, in that order.
|
|
160
|
-
- Give the base rate honestly. Fear is not a lever; a scared user makes worse decisions and often ships nothing.
|
|
161
|
-
- Keep standards jargon (CWE, OWASP IDs) in a labelled field, not in the sentence that has to be understood.
|
|
162
|
-
- Fill "Not checked" honestly: a review that silently skips the mobile client, admin panel, or infra repo reads as complete coverage.
|
|
163
|
-
|
|
164
|
-
```
|
|
165
|
-
# Bulletproof Report — [project]
|
|
166
|
-
Date: [today] Scope: [what was reviewed] Not reviewed: [what was not]
|
|
167
|
-
Status: complete | incomplete — [reason]
|
|
168
|
-
|
|
169
|
-
## Exposure summary
|
|
170
|
-
[One paragraph: realistic exposure profile, where untrusted data enters, what an attacker would be after.]
|
|
171
|
-
|
|
172
|
-
## Threat model
|
|
173
|
-
[2–4 concrete scenarios from recon, each with actor, objective, and entry surface.]
|
|
174
|
-
|
|
175
|
-
## Sources / Sinks / Assets / Existing controls
|
|
176
|
-
[Compact tables from recon.]
|
|
177
|
-
|
|
178
|
-
## Risk matrix
|
|
179
|
-
| Severity | Count | Definition |
|
|
180
|
-
|---|---|---|
|
|
181
|
-
| Critical | N | RCE, full auth bypass, credential or key theft, cross-user data access, fund loss, shipped-artifact compromise |
|
|
182
|
-
| High | N | privilege escalation, cross-tenant access with auth, live secret exposure, unauthenticated admin surface, update-channel integrity |
|
|
183
|
-
| Medium | N | scoped disclosure, weakened crypto, partial bypass behind another control |
|
|
184
|
-
|
|
185
|
-
## Findings
|
|
186
|
-
|
|
187
|
-
### [BP-001] <title> — Critical
|
|
188
|
-
- Location: path:line
|
|
189
|
-
- Category: <slug> CWE: CWE-XXX Confidence: 0.95 Evidence: RUNTIME | CODE | DEDUCED | SNAPSHOT
|
|
190
|
-
- Reachable by: <anonymous internet / authenticated user / other tenant / local user / malicious repo / build system>
|
|
191
|
-
- Boundary: <control that should stop it> → <whose data or resource is affected>
|
|
192
|
-
- Source → Sink: <`POST /api/invoice` `body.id` → `db.query` string concat>
|
|
193
|
-
- Risk scenario (data-flow level, no payloads):
|
|
194
|
-
1. Untrusted input of <shape> reaches <source>
|
|
195
|
-
2. It is processed as <what>, with <no/ineffective> validation at <where>
|
|
196
|
-
3. Result: <what the attacker holds>
|
|
197
|
-
- Also reachable via: <sibling paths with the same root cause, if any>
|
|
198
|
-
- Impact: <blast radius: whose data, how many, what spreads>
|
|
199
|
-
- Fix: <concrete, code-level, at the chokepoint>
|
|
200
|
-
- Verify: <the test or command that proves the fix>
|
|
201
|
-
|
|
202
|
-
[…ordered Critical → High → Medium…]
|
|
203
|
-
|
|
204
|
-
## Needs validation
|
|
205
|
-
[No severity. For each: the claim in plain words, the code path (path:line), the exact fact the repo cannot show, and a safe check the owner can run (a dashboard setting, a header on a real response, a console command).]
|
|
206
|
-
|
|
207
|
-
## What was not flagged
|
|
208
|
-
[Which audits returned zero findings, how many candidates the filter dropped and why. Show the work, not only the survivors.]
|
|
209
|
-
|
|
210
|
-
## Not checked
|
|
211
|
-
[Ledger rows not checked, with reasons; surfaces, repos, or components outside this pass.]
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
## Phase 6 — Ask before fixing
|
|
215
|
-
|
|
216
|
-
After the report, ask which findings to fix — all Critical and High, specific IDs, a category, or none. **Do not start fixing until the user picks.**
|
|
217
|
-
|
|
218
|
-
When the user selects, do not fix directly in one pass. Add one task per finding (or per tightly coupled group) with the `tasks` tool, ordered by severity, exploitability and dependency. Each task needs a short title and a standalone prompt containing: the finding ID, the risk scenario, the affected files and anchors, the concrete remediation, an instruction to check security-sensitive implementation details against authoritative documentation before editing, the project's verification commands, and an instruction to re-check the finished fix against authoritative documentation before completing. Then tell the user where to find the task list, and do not begin executing unless they say so.
|
|
219
|
-
|
|
220
|
-
If a Critical finding involves an exposed live credential, do not wait for the fix queue: tell the user to rotate it now, in the first line of the report.
|
|
221
|
-
|
|
222
|
-
## Standards mapping
|
|
223
|
-
|
|
224
|
-
Cite these in the `Category`/`CWE` fields, not in prose. Re-verified 27 Nov 2026; re-verify before quoting as current.
|
|
225
|
-
|
|
226
|
-
- **OWASP Top 10:2025** (final) — A01 Broken Access Control (SSRF folded in), A02 Security Misconfiguration, A03 Software Supply Chain Failures, A04 Cryptographic Failures, A05 Injection, A06 Insecure Design, A07 Authentication Failures, A08 Software or Data Integrity Failures, A09 Security Logging & Alerting Failures, A10 Mishandling of Exceptional Conditions. Note the renumbering: A03 is supply chain now, not injection.
|
|
227
|
-
- **CWE Top 25 (2025 edition)**, top ten in order — CWE-79 XSS, CWE-89 SQLi, CWE-352 CSRF, CWE-862 Missing Authorization, CWE-787 Out-of-bounds Write, CWE-22 Path Traversal, CWE-416 Use After Free, CWE-125 Out-of-bounds Read, CWE-78 OS Command Injection, CWE-94 Code Injection.
|
|
228
|
-
- **OWASP API Security Top 10 (2023, still current)** — API1 BOLA, API2 Broken Authentication, API3 BOPLA, API4 Unrestricted Resource Consumption, API5 Broken Function Level Authorization, API6 Unrestricted Access to Sensitive Business Flows, API7 SSRF, API8 Misconfiguration, API9 Improper Inventory Management, API10 Unsafe Consumption of APIs.
|
|
229
|
-
- **OWASP ASVS 5.0.0** (May 2025) — ~350 requirements, cumulative L1/L2/L3. Requirement IDs were renumbered from 4.x; do not cite a 4.x ID as 5.0.
|
|
230
|
-
- **OWASP Top 10 for LLM Applications 2026** — LLM01:2026 Prompt Injection … LLM10:2026 Improper Output Handling (renumbered from 2025; cite IDs with the year).
|
|
231
|
-
- **OWASP Top 10 for Agentic Applications (2026)** — ASI01 Agent Goal Hijack, ASI02 Tool Misuse and Exploitation, ASI03 Identity and Privilege Abuse, ASI04 Agentic Supply Chain Vulnerabilities, ASI05 Unexpected Code Execution, ASI06 Memory and Context Poisoning, ASI07 Insecure Inter-Agent Communication, ASI08 Cascading Failures, ASI09 Human-Agent Trust Exploitation, ASI10 Rogue Agents (exact titles not re-read from OWASP; cite by ID).
|
|
232
|
-
- **OWASP MASVS v2.1.0** — eight categories (STORAGE, CRYPTO, AUTH, NETWORK, PLATFORM, CODE, RESILIENCE, PRIVACY). **There are no L1/L2 levels since v2.0.0**; cite MASTG test IDs instead.
|