deepmodebot 0.0.0-stage → 0.9.1
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/.claude-plugin/marketplace.json +26 -0
- package/.omp-plugin/marketplace.json +26 -0
- package/LICENSE +24 -0
- package/README.md +377 -2
- package/bin/deepmodebot.mjs +247 -0
- package/lib/autoupdate.mjs +47 -0
- package/lib/clients.mjs +139 -0
- package/lib/run.mjs +32 -0
- package/lib/state.mjs +52 -0
- package/lib/tree.mjs +48 -0
- package/lib/version.mjs +26 -0
- package/package.json +44 -4
- package/plugins/deepmodebot/.antigravity-plugin/plugin.json +35 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/deep/SKILL.md +13 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/land-pr/SKILL.md +23 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/pr-thread/SKILL.md +17 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/review-pr/SKILL.md +16 -0
- package/plugins/deepmodebot/.antigravity-plugin/skills/tournament/SKILL.md +14 -0
- package/plugins/deepmodebot/.claude-plugin/plugin.json +27 -0
- package/plugins/deepmodebot/agents/reviewer/agent.md +33 -0
- package/plugins/deepmodebot/agents/scout/agent.md +34 -0
- package/plugins/deepmodebot/agents/security-reviewer/agent.md +30 -0
- package/plugins/deepmodebot/assets/logo.svg +8 -0
- package/plugins/deepmodebot/commands/contribute.md +8 -0
- package/plugins/deepmodebot/commands/deep.md +11 -0
- package/plugins/deepmodebot/commands/land-pr.md +12 -0
- package/plugins/deepmodebot/commands/pr-thread.md +14 -0
- package/plugins/deepmodebot/commands/project-brief.md +8 -0
- package/plugins/deepmodebot/commands/review-pr.md +10 -0
- package/plugins/deepmodebot/commands/tournament.md +12 -0
- package/plugins/deepmodebot/hooks/hooks.json +26 -0
- package/plugins/deepmodebot/hooks.json +24 -0
- package/plugins/deepmodebot/mcp_config.json +11 -0
- package/plugins/deepmodebot/scripts/antigravity-guard.mjs +413 -0
- package/plugins/deepmodebot/scripts/omp-mcp-server.mjs +1091 -0
- package/plugins/deepmodebot/skills/agent-harnesses/SKILL.md +57 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/bun.lock +391 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check.ts +53 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_antigravity.py +38 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/check_claude.mjs +11 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/package.json +11 -0
- package/plugins/deepmodebot/skills/agent-harnesses/assets/sdks/requirements.txt +1 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/ai-native-tooling.md +190 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/ai-sdk-selection.md +50 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/antigravity.md +108 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/claude-code.md +166 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/codex.md +151 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/delegation-efficiency.md +230 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/langchain-ecosystem.md +124 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/omp.md +183 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/protocols.md +172 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/sdks.md +228 -0
- package/plugins/deepmodebot/skills/agent-harnesses/references/self-authoring.md +171 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/SKILL.md +24 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/aws.md +264 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/azure.md +261 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/containers.md +96 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/devops-tools.md +297 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/devsecops-pipeline.md +258 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/gcp.md +258 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/kubernetes.md +74 -0
- package/plugins/deepmodebot/skills/cloud-devsecops/references/local-emulators.md +265 -0
- package/plugins/deepmodebot/skills/contribute/SKILL.md +134 -0
- package/plugins/deepmodebot/skills/create-verification-skill/LICENSE +21 -0
- package/plugins/deepmodebot/skills/create-verification-skill/SKILL.md +101 -0
- package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/README.md +47 -0
- package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/create-note.md +39 -0
- package/plugins/deepmodebot/skills/create-verification-skill/references/feature-map-example/search.md +45 -0
- package/plugins/deepmodebot/skills/deep-stack/SKILL.md +53 -0
- package/plugins/deepmodebot/skills/deep-stack/references/AGENTS.template.md +52 -0
- package/plugins/deepmodebot/skills/deep-stack/references/agentic-workflow.md +114 -0
- package/plugins/deepmodebot/skills/deep-stack/references/any-app-stack.md +51 -0
- package/plugins/deepmodebot/skills/deep-stack/references/design-workflow.md +101 -0
- package/plugins/deepmodebot/skills/deep-stack/references/isolate.md +23 -0
- package/plugins/deepmodebot/skills/deep-stack/references/philosophy.md +306 -0
- package/plugins/deepmodebot/skills/deep-stack/references/prove.md +31 -0
- package/plugins/deepmodebot/skills/deep-stack/references/stack.md +119 -0
- package/plugins/deepmodebot/skills/deep-stack/references/structure.md +22 -0
- package/plugins/deepmodebot/skills/deep-stack/references/unslop/LICENSE +21 -0
- package/plugins/deepmodebot/skills/deep-stack/references/unslop/unslop.md +80 -0
- package/plugins/deepmodebot/skills/deepmodebot/LICENSE +23 -0
- package/plugins/deepmodebot/skills/deepmodebot/SKILL.md +198 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/agents_md.py +207 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/agents-md/test_agents_md.py +146 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/architecture-review/report-template.html +92 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude-guard.sh +42 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/claude_guard.py +135 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain-link.ts +12 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/omp-contain.ts +115 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_antigravity_guard.py +483 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_audit_regressions.py +139 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_contain.py +301 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/contain/test_omp_mcp.py +602 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/design.py +242 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/evidence.py +293 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/record.py +387 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/review.py +339 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_design.py +69 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_evidence.py +160 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_record.py +180 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/e2e/test_review.py +265 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard-patterns.txt +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.sh +132 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/git-guard.ts +122 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/git-guardrails/test_git_guard.py +192 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/bot.py +3037 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/brand.json +11 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/brand.py +51 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/ghapp.py +361 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/install.py +274 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/local_updates.py +576 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/review_context.py +204 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_bot.py +2182 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_brand.py +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_local_updates.py +691 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_review_context.py +127 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/test_workspace_cleanup.py +496 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/github-app/workspace_cleanup.py +351 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/loop.py +2394 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/plan.py +583 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_loop.py +1426 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_plan.py +320 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/test_windows_job.py +326 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/loop/windows_job.py +244 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/bench_harness.py +165 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/perf_audit.py +240 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_bench_harness.py +55 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/perf-audit/test_perf_audit.py +53 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/diff_coverage.py +350 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/pr_agent_local.py +370 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-agent/test_diff_coverage.py +94 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.html +425 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena.py +579 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/arena_tui.py +839 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/font8x8_basic.hex +1 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/show_thread.py +329 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/pr-conversation/test_arena.py +610 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/repo-references.json +637 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/test_yt_enrich.py +250 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_enrich.py +1820 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_meta.py +156 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/scrape/yt_transcript_relay.js +54 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/audit-pr.sh +122 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/gate.cjs +155 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/security-audit/prompt.md +13 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/test_tournament.py +654 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/tournament/tournament.py +1285 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/wizard/wizard.sh +234 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/test_workspace_map.py +879 -0
- package/plugins/deepmodebot/skills/deepmodebot/assets/workspace-map/workspace_map.py +2436 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/README.md +61 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/catalog.md +105 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/contain.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/factory-landscape.md +147 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/flows.md +50 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/authoring-a-skill.md +37 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/babysit.md +77 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/bug-fix.md +34 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/end-to-end.md +50 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/eval.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/feature.md +60 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/handoff.md +52 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/hillclimb.md +46 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/investigation.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/opening-a-pr.md +97 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/pause-safely.md +30 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/perf-issue.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/phased-build.md +146 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/prototype.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/refactoring.md +60 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/reference-rebuild.md +45 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/run-a-goal.md +143 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/runtime-forensics.md +22 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/self-authoring.md +130 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/session-pickup.md +33 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/setup.md +105 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/shipping.md +52 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/spec.md +67 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/tickets.md +56 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/trace-forensics.md +24 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/triage.md +102 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/visual-parity.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/wayfinder.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/work-a-queue.md +189 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/playbooks/worktree-cleanup.md +35 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/attack-the-premise.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/boundary-discipline.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/build-the-lever.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/encode-lessons-in-structure.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/exhaust-the-design-space.md +4 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/experience-first.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/explain-the-number.md +9 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/fix-root-causes.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/foundational-thinking.md +9 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/guard-the-context-window.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/laziness-protocol.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/make-operations-idempotent.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/migrate-callers-then-delete-legacy-apis.md +5 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/minimize-reader-load.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/model-the-domain.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/never-block-on-the-human.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/outcome-oriented-execution.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/prove-it-works.md +8 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/redesign-from-first-principles.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/separate-before-serializing-shared-state.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/sequence-verifiable-units.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/subtract-before-you-add.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/test-behavior-not-implementation.md +7 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/principles/type-system-discipline.md +6 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/rust-migration-case-studies.md +26 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/startup-ideas.md +21 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/agent-collaboration.md +82 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architect.md +32 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/architecture-review.md +43 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/arena.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/benchmark-checklist.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/blast-radius.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/correct.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/course.md +47 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/coworkers.md +70 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/domain-model.md +69 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/figure-it-out.md +25 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/git-guardrails.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/github-app.md +160 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/goal-review.md +156 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/grill.md +27 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/how.md +23 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/in-your-own-words.md +12 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/inner-loop.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/interrogate.md +16 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/issue-conversation.md +52 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/no-comments.md +29 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/open-design-evidence.md +65 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/panel.md +34 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-agent.md +39 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-conversation.md +135 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pr-review.md +138 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/pre-commit.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/prior-art.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/questionnaire.md +46 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/re-explain.md +23 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/recall.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/reflect.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/research.md +99 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/retro.md +30 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/scrape.md +32 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/security-audit.md +40 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sharpen.md +15 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/show-me-your-work.md +19 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/sme-review.md +49 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/swarm.md +14 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tdd.md +55 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/teach.md +20 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/technical-writing.md +22 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tool-routing.md +85 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tournament.md +44 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/tracker.md +78 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/unslop.md +15 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/visual-e2e.md +78 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/why.md +31 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/wizard.md +25 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/workspace-map.md +35 -0
- package/plugins/deepmodebot/skills/deepmodebot/references/techniques/writing-for-agents.md +66 -0
- package/plugins/deepmodebot/skills/deepmodebot/scripts/check_skill.py +93 -0
- package/plugins/deepmodebot/skills/deepmodebot/scripts/trending.py +598 -0
- package/plugins/deepmodebot/skills/domain-rules/SKILL.md +131 -0
- package/plugins/deepmodebot/skills/domain-rules/references/agent-engineering.md +105 -0
- package/plugins/deepmodebot/skills/domain-rules/references/ai-concepts.md +103 -0
- package/plugins/deepmodebot/skills/domain-rules/references/aws-networking.md +121 -0
- package/plugins/deepmodebot/skills/domain-rules/references/backend-system-design.md +162 -0
- package/plugins/deepmodebot/skills/domain-rules/references/data-structures-and-cache-optimization.md +48 -0
- package/plugins/deepmodebot/skills/domain-rules/references/devops-and-fundamentals.md +137 -0
- package/plugins/deepmodebot/skills/domain-rules/references/engineering-practice.md +100 -0
- package/plugins/deepmodebot/skills/domain-rules/references/high-scale-server-optimization.md +181 -0
- package/plugins/deepmodebot/skills/domain-rules/references/language-ecosystems.md +56 -0
- package/plugins/deepmodebot/skills/frontend-ui/SKILL.md +146 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/live-demos.md +38 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/mobbin-shipped-apps.md +28 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-clips.md +269 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/motion-graphics.md +62 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-animations.md +217 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/patterns/pinterest-patterns.md +101 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/01-workflow.md +25 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/02-review-rubric.md +21 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/03-ai-tells.md +46 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04-components.md +21 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/04a-agent-ui.md +153 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05-motion.md +106 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/05a-motion-graphics.md +121 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06-typography-layout.md +48 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/06a-color.md +26 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/07-copy.md +11 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/08-quality-floor.md +63 -0
- package/plugins/deepmodebot/skills/frontend-ui/references/playbook/09-steering-agents.md +13 -0
- package/plugins/deepmodebot/skills/maintain-verification-skill/LICENSE +21 -0
- package/plugins/deepmodebot/skills/maintain-verification-skill/SKILL.md +47 -0
- package/plugins/deepmodebot/skills/project-brief/SKILL.md +100 -0
- package/plugins/deepmodebot/skills/project-brief/assets/CONTRIBUTING.template.md +124 -0
- package/plugins/deepmodebot/skills/project-brief/assets/ISSUE_TEMPLATE/task.yml +61 -0
- package/plugins/deepmodebot/skills/project-brief/assets/PROJECT_BRIEF.template.md +98 -0
- package/plugins/deepmodebot/skills/project-brief/assets/PULL_REQUEST_TEMPLATE.md +35 -0
- package/plugins/deepmodebot/skills/project-brief/assets/pr-overlap.py +643 -0
- package/plugins/deepmodebot/skills/project-brief/assets/sync-roadmap.py +314 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/SKILL.md +60 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/agent-authentication.md +198 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/leak-prevention.md +206 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/logins-and-passwords.md +165 -0
- package/plugins/deepmodebot/skills/secrets-and-auth/references/secrets-and-env.md +182 -0
- package/plugins/deepmodebot/skills/software-architecture/SKILL.md +47 -0
- package/plugins/deepmodebot/skills/software-architecture/references/backend-infrastructure.md +273 -0
- package/plugins/deepmodebot/skills/software-architecture/references/databases.md +277 -0
- package/plugins/deepmodebot/skills/software-architecture/references/monorepos.md +210 -0
- package/plugins/deepmodebot/skills/software-architecture/references/ontology.md +287 -0
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
# Keeping agents from leaking or exfiltrating credentials: free tools, controls, incidents (as of 2026-11-11)
|
|
2
|
+
|
|
3
|
+
**Summary.** Layer three free controls: (1) a secret scanner at commit and in CI (gitleaks MIT, or TruffleHog AGPL for verified hits) plus GitHub push protection, which is free for public repos only; (2) agent-side read and env scrubbing (Claude Code `Read(...)` deny rules + `sandbox.credentials` + `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1`; Codex `shell_environment_policy` with `ignore_default_excludes = false`; Antigravity `--sandbox` + `Deny > Ask > Allow` rules); (3) default-deny egress (Claude/Codex/Antigravity sandboxes, devcontainer firewall, E2B/Daytona network lists).
|
|
4
|
+
Assume prompt injection will happen: 2025-2026 incidents (GitHub MCP, Supabase MCP, s1ngularity, Shai-Hulud, Miasma, Deadbugz) all turned an agent's own reach into the exfil path.
|
|
5
|
+
When a secret leaks, revoke it before anything else. Rewriting history does not reach forks, other clones, or cached views. Short-lived OIDC credentials limit how much a leak can do.
|
|
6
|
+
|
|
7
|
+
Legend: `[unverified]` = not confirmed in a primary source; `[inference]` = my deduction. Release dates come from the GitHub API, checked 2026-11-11.
|
|
8
|
+
|
|
9
|
+
## 1. Secret scanners
|
|
10
|
+
|
|
11
|
+
| Tool | What it does | Free terms / license | Latest release | Agent-relevant notes | Source |
|
|
12
|
+
|---|---|---|---|---|---|
|
|
13
|
+
| gitleaks | Regex+entropy scan of git history, dirs, stdin | MIT, fully free CLI | v8.30.1, 2026-03-21 (commits to 2026-10) | Official pre-commit hook runs `gitleaks git --pre-commit --redact --staged --verbose`; `--redact` keeps secrets out of agent-visible logs | [repo](https://github.com/gitleaks/gitleaks), [hooks](https://github.com/gitleaks/gitleaks/blob/master/.pre-commit-hooks.yaml) |
|
|
14
|
+
| gitleaks-action | GitHub Action wrapper | Free license key required for org-owned repos, not personal; GitHub reports license NOASSERTION (not a standard OSS license) | v3.0.0, 2026-05-30 (Node 24) | v2 stops working after Node 20 removal on 2026-09-16; pin v3 by full 40-char commit SHA (`@<sha> # v3.0.0`) | [repo](https://github.com/gitleaks/gitleaks-action) |
|
|
15
|
+
| Betterleaks | New scanner from the gitleaks maintainers incl. original author; Aikido-sponsored | MIT | v1.10.0, 2026-11-04 (repo created 2026-02-03) | Validation is opt-in (`-v`), optional revocation; scans GitHub/GitLab issues, PRs, HF, S3, containers; `main` is v2 pre-release | [repo](https://github.com/betterleaks/betterleaks) |
|
|
16
|
+
| TruffleHog OSS | 800+ detectors, live verification against provider APIs | AGPL-3.0 (copyleft; fine to run, obligations if you modify and offer as a service) | v3.99.8, 2026-11-02 | `--results=verified` cuts noise; hook: `trufflehog git file://. --since-commit HEAD --results=verified --fail`; verification makes outbound calls with the found secret [inference] | [repo](https://github.com/trufflesecurity/trufflehog), [hooks](https://github.com/trufflesecurity/trufflehog/blob/main/.pre-commit-hooks.yaml) |
|
|
17
|
+
| ggshield (GitGuardian) | CLI and hooks backed by GitGuardian SaaS | Client MIT; Starter plan free: up to 25 devs, unlimited real-time scanning, up to 500 historical scan detections, 10K API calls/month | v1.56.1, 2026-10-26 | Needs a GitGuardian API key, so content is scanned by their API [inference]; not offline | [repo](https://github.com/GitGuardian/ggshield), [pricing](https://www.gitguardian.com/pricing) |
|
|
18
|
+
| detect-secrets (Yelp) | Baseline-file workflow, plugin detectors | Apache-2.0 | v1.5.0, 2024-05-06 | **Stale:** no release in 30 months (last push 2026-04); prefer gitleaks/Betterleaks for new setups | [repo](https://github.com/Yelp/detect-secrets) |
|
|
19
|
+
| pre-commit | Hook runner for the above | MIT | v4.7.0, 2026-10-13 | Client hooks are bypassable (`SKIP=gitleaks`, `--no-verify`), so pair with server-side checks | [repo](https://github.com/pre-commit/pre-commit), [gitleaks README](https://github.com/gitleaks/gitleaks) |
|
|
20
|
+
| GitHub secret scanning | Scans all branches/history, issues, PRs, discussions, wikis | Free and automatic for public repos; private org repos need GitHub Secret Protection ($19/active committer/month, Team or Enterprise Cloud) | SaaS | Partner program notifies issuers for revocation; free org "secret risk assessment" report | [docs](https://docs.github.com/en/code-security/secret-scanning/introduction/about-secret-scanning), [plans](https://github.com/security/plans) |
|
|
21
|
+
| GitHub push protection | Blocks pushes containing secrets | "Push protection for users" is on by default and free, but only for pushes to public repos; repo-level needs Secret Protection | SaaS | Also covers GitHub MCP server writes (public repos only); anyone with write access can bypass with a reason by default | [docs](https://docs.github.com/en/code-security/secret-scanning/introduction/about-push-protection) |
|
|
22
|
+
|
|
23
|
+
Rules:
|
|
24
|
+
- Run one scanner locally (pre-commit) and the same or a second one in CI on every push/PR. Client hooks are advisory because an agent can pass `--no-verify`.
|
|
25
|
+
- Always use `--redact` (gitleaks) in agent sessions so the finding itself does not put the secret into the transcript.
|
|
26
|
+
- Commit a `.gitignore` that covers `.env`, `.env.*` (keep `!.env.example`), `*.pem`, `*.key`, and cloud credential files before the agent's first commit.
|
|
27
|
+
|
|
28
|
+
```yaml
|
|
29
|
+
# .pre-commit-config.yaml (run `pre-commit autoupdate` to pin the latest rev)
|
|
30
|
+
repos:
|
|
31
|
+
- repo: https://github.com/gitleaks/gitleaks
|
|
32
|
+
rev: v8.30.1
|
|
33
|
+
hooks: [{ id: gitleaks }]
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## 2. Agent-side controls (read, env, hooks, MCP)
|
|
37
|
+
|
|
38
|
+
| Control | What it does | Free terms / license | Latest release | Agent-relevant notes | Source |
|
|
39
|
+
|---|---|---|---|---|---|
|
|
40
|
+
| Claude Code `Read(...)` deny rules | Blocks built-in file tools from reading paths | Part of Claude Code (proprietary, no OSS license) | v2.1.322, 2026-11-10 | Also covers recognized Bash file commands (`cat`, `head`, `tail`, `sed`, redirections), but **not** `grep -r .` or scripts that open files themselves; use the sandbox for OS-level blocking | [permissions](https://code.claude.com/docs/en/permissions) |
|
|
41
|
+
| Claude Code sandbox | OS sandbox for Bash (Seatbelt on macOS, bubblewrap on Linux/WSL2) | Built on `sandbox-runtime`, Apache-2.0 | runtime v0.0.82, 2026-11-09 | **Off by default.** Default reads include `~/.ssh` and `~/.aws/credentials`, and env vars (with secrets) are inherited. Not available on native Windows (use WSL2) | [sandboxing](https://code.claude.com/docs/en/sandboxing), [runtime](https://github.com/anthropic-experimental/sandbox-runtime) |
|
|
42
|
+
| `sandbox.credentials` deny/mask | Denies credential files, unsets env vars; `mask` gives commands a sentinel and the proxy injects the real value only to `injectHosts` | Built in | 2026 docs | No built-in deny list: only what you list is protected. `mask` needs `network.tlsTerminate` and is honored only from user/managed/CLI settings, not repo settings | [sandboxing](https://code.claude.com/docs/en/sandboxing) |
|
|
43
|
+
| `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1` | Strips credentials from Bash, hooks, stdio MCP server envs | Built in | 2026 docs | Leaves GitHub tokens and proxy settings in place by design | [env vars](https://code.claude.com/docs/en/env-vars) |
|
|
44
|
+
| Codex sandbox | OS sandbox; `workspace-write` with network **off** by default | Codex CLI Apache-2.0 | rust-v0.167.1, 2026-11-10 | Enable network only via `[sandbox_workspace_write] network_access = true`, then constrain with `features.network_proxy` domain rules | [security](https://developers.openai.com/codex/agent-approvals-security), [repo](https://github.com/openai/codex) |
|
|
45
|
+
| Codex `shell_environment_policy` | Controls env vars passed to spawned commands | Built in | 2026 docs | **`ignore_default_excludes` defaults to `true`, so vars containing KEY/SECRET/TOKEN ARE passed unless you set it to `false`** | [advanced config](https://developers.openai.com/codex/config-file/config-advanced), [reference](https://developers.openai.com/codex/config-reference) |
|
|
46
|
+
| Claude Code PreToolUse hooks | Script returns `permissionDecision: "deny"` before a tool runs | Built in | 2026 docs | String matching is defense in depth only; hooks run outside the sandbox with your full access | [hooks](https://code.claude.com/docs/en/hooks) |
|
|
47
|
+
| Antigravity OS sandbox & `Deny > Ask > Allow` | Linux namespaces / macOS Seatbelt / Win11 24H2+ AppContainer + fine-grained `read_file`/`command`/`mcp` rules | Built in (`agy`/App/IDE) | 2026 docs | Blocks `~/.ssh`, `.env`, and network except `read_url(...)`; no-op on unsupported hosts (`v1.4.4+`); `Deny` beats `Ask`/`Allow`; unconfigured MCP tools default to `Ask` | [sandbox](https://antigravity.google/docs/sandbox), [permissions](https://antigravity.google/docs/permissions) |
|
|
48
|
+
| Antigravity `PreToolUse` hooks | `.agents/hooks.json`, `~/.gemini/config/hooks.json`, or plugin `hooks.json` returns `{"decision":"deny"}` | Built in | 2026 docs | Must exit `0` with valid JSON; any non-zero exit fails open. Prefer `node ./scripts/<name>.mjs` for Windows + Unix portability | [hooks](https://antigravity.google/docs/hooks) |
|
|
49
|
+
| Snyk Agent Scan (ex mcp-scan) | Scans MCP configs, tools, skills for poisoning | Apache-2.0 client; requires Snyk account/API token | v0.6.11, 2026-11-06 | Sends tool names, descriptions, MCP configs to Snyk API (secrets redacted first), so not offline | [repo](https://github.com/invariantlabs-ai/mcp-scan) |
|
|
50
|
+
|
|
51
|
+
Claude Code baseline (user settings `~/.claude/settings.json`, so a repo cannot weaken it):
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
{
|
|
55
|
+
"permissions": { "deny": ["Read(.env)", "Read(.env.*)", "Read(!.env.example)", "Read(~/.ssh/**)", "Read(~/.aws/**)", "Read(**/*.pem)"] },
|
|
56
|
+
"sandbox": {
|
|
57
|
+
"enabled": true, "allowUnsandboxedCommands": false, "failIfUnavailable": true,
|
|
58
|
+
"filesystem": { "denyRead": ["~/**/.env*", "~/**/*.env", "~/**/*.pem", "~/**/id_rsa", "~/**/id_ed25519", "~/**/.aws/credentials"] },
|
|
59
|
+
"network": { "allowedDomains": ["registry.npmjs.org", "pypi.org", "files.pythonhosted.org"], "strictAllowlist": true },
|
|
60
|
+
"credentials": {
|
|
61
|
+
"files": [{ "path": "~/.ssh", "mode": "deny" }, { "path": "~/.aws/credentials", "mode": "deny" }],
|
|
62
|
+
"envVars": [{ "name": "NPM_TOKEN", "mode": "deny" }, { "name": "GITHUB_TOKEN", "mode": "deny" }]
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
```
|
|
67
|
+
Settings keys and the `!` carve-out syntax come from [permissions](https://code.claude.com/docs/en/permissions) and [sandboxing](https://code.claude.com/docs/en/sandboxing). The `!` carve-out reaches only rules in the same settings file. On Windows, paths are normalized to `/c/...` form, and `//**/.env` matches every drive.
|
|
68
|
+
`filesystem.denyRead` is what stops shell commands (`grep -r .`, `cat`, scripts) from reading project `.env` and key files, and its globs match the same names as the hook below (`.env*` covers `.env`, `.env.local`, `.env-local`, `.envrc`): the sandbox has no built-in deny list, and `credentials.files` above covers only `~/.ssh` and `~/.aws/credentials`. In user settings a `~/` glob covers projects under your home directory; add the same entries for each other top-level directory that holds projects (`/srv/**/.env*`), because on Linux and WSL2 a wildcard works only after the first directory name ([path prefixes](https://code.claude.com/docs/en/settings-reference)). It also hides `.env.example` from shell commands; the Read tool still reaches it.
|
|
69
|
+
|
|
70
|
+
Codex baseline (`~/.codex/config.toml`), following [advanced config](https://developers.openai.com/codex/config-file/config-advanced):
|
|
71
|
+
|
|
72
|
+
```toml
|
|
73
|
+
sandbox_mode = "workspace-write" # network_access stays false by default
|
|
74
|
+
[shell_environment_policy]
|
|
75
|
+
inherit = "core"
|
|
76
|
+
ignore_default_excludes = false # drop *KEY*, *SECRET*, *TOKEN* vars
|
|
77
|
+
[shell_environment_policy.filters]
|
|
78
|
+
"AWS_*" = "exclude"
|
|
79
|
+
"AZURE_*" = "exclude"
|
|
80
|
+
"GOOGLE_*" = "exclude"
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Hook that blocks secret-file access (`.claude/hooks/deny-secrets.sh`, registered under `PreToolUse` with matcher `Read|Grep|Glob|Bash`; output shape from [hooks](https://code.claude.com/docs/en/hooks)):
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
#!/usr/bin/env bash
|
|
87
|
+
in=$(cat)
|
|
88
|
+
deny() { jq -n --arg r "$1" '{hookSpecificOutput:{hookEventName:"PreToolUse",permissionDecision:"deny",permissionDecisionReason:$r}}'; exit 0; }
|
|
89
|
+
hit=$(jq -r '.tool_input | tostring' <<<"$in" | grep -Eio '(\.env[^"/\\[:space:]]*|id_rsa|id_ed25519|\.pem|\.aws/credentials)' | grep -Eiv '^\.env\.(example|sample|template)$' | head -n1)
|
|
90
|
+
[ -n "$hit" ] && deny "secret path blocked: $hit"
|
|
91
|
+
# Grep over a directory reads every file below it, so check what it would reach. `type` and `glob` are not trusted:
|
|
92
|
+
# `type: json` with a hidden-file glob still reaches .env.production.json.
|
|
93
|
+
if [ "$(jq -r .tool_name <<<"$in")" = Grep ]; then
|
|
94
|
+
dir=$(jq -r '.tool_input.path // .cwd' <<<"$in"); case "$dir" in /*|[A-Za-z]:*) ;; *) dir="$(jq -r .cwd <<<"$in")/$dir" ;; esac
|
|
95
|
+
sec=$(find "$dir" \( -name .git -o -name node_modules \) -prune -o -type f -print 2>/dev/null | grep -Ei '/([^/]*\.env|\.env[^/]*|id_rsa|id_ed25519|[^/]*\.pem)$|/\.aws/credentials$' | grep -Eiv '/\.env\.(example|sample|template)$' | head -n1)
|
|
96
|
+
[ -n "$sec" ] && deny "Grep over $dir would read $sec; narrow path to files or dirs without secrets"
|
|
97
|
+
fi
|
|
98
|
+
exit 0
|
|
99
|
+
```
|
|
100
|
+
The hook sees only the tool call, so a Bash `grep -r .` or a script that opens files still reaches secrets; the baseline's sandbox `filesystem.denyRead` globs close that path. On Windows, run cross-platform hooks with `node` (as Antigravity's plugin hooks do) or Python (`py -3 -B`) rather than bash/`jq`/`find`.
|
|
101
|
+
|
|
102
|
+
Antigravity baseline (`~/.gemini/antigravity-cli/settings.json`, following [sandbox](https://antigravity.google/docs/sandbox) and [permissions](https://antigravity.google/docs/permissions)):
|
|
103
|
+
- Set `"enableTerminalSandbox": true`, `"allowNonWorkspaceAccess": false`, and `"toolPermission": "proceed-in-sandbox"`.
|
|
104
|
+
- Add `Deny` rules (`Deny > Ask > Allow`) for `read_file(.env)`, `read_file(.env.*)`, `read_file(~/.ssh/**)`, `read_file(~/.aws/**)`, and keep `mcp(...)` tools on `Ask` unless explicitly allowed. Note Windows rules strip drive letters (`C:`) and normalize `\` to `/`.
|
|
105
|
+
|
|
106
|
+
MCP rules from the official [security best practices](https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices) and [spec `2026-07-28`](https://modelcontextprotocol.io/specification/2026-07-28):
|
|
107
|
+
- **Token passthrough is forbidden:** servers MUST NOT accept tokens not issued for them, and forwarding a client token downstream creates a confused deputy and breaks audit trails.
|
|
108
|
+
- **Confused deputy:** OAuth proxy servers with a static client ID MUST do per-client consent, exact `redirect_uri` matching, and single-use `state`.
|
|
109
|
+
- **Local server compromise:** clients MUST show the full startup command before one-click install and SHOULD sandbox servers with minimal filesystem and network access. Local servers should prefer stdio or an authenticated transport.
|
|
110
|
+
- **Scope minimization:** start with minimal scopes and step up per operation, because a broad token turns one leak into lateral access.
|
|
111
|
+
- **Tool poisoning:** the spec says tool descriptions and annotations are untrusted unless the server is trusted. Invariant Labs showed hidden instructions in a tool description that make the agent read local config and key files and pass them out as a tool argument. They also showed "rug pulls", where a tool description changes after approval ([Invariant, 2025-04-01](https://invariantlabs.ai/blog/mcp-security-notification-tool-poisoning-attacks)).
|
|
112
|
+
|
|
113
|
+
## 3. Documented incidents, 2025-2026
|
|
114
|
+
|
|
115
|
+
| When | Incident | How credentials or data left | Lesson | Source |
|
|
116
|
+
|---|---|---|---|---|
|
|
117
|
+
| 2025-05-26 | GitHub MCP "toxic agent flow" | A malicious public issue made an agent with a broad GitHub token copy private-repo data into a public PR | Not fixable server-side; scope tokens per repo and gate cross-repo actions | [Invariant](https://invariantlabs.ai/blog/mcp-github-vulnerability) |
|
|
118
|
+
| 2025-07 | Supabase MCP | Instructions in a support ticket made a Cursor agent running with `service_role` (bypasses RLS) copy private table data into a customer-visible reply | Never give agents `service_role`; read-only plus project scoping; review tool calls | [General Analysis](https://generalanalysis.com/blog/supabase-mcp-blog), [Supabase SECURITY.md](https://github.com/supabase/mcp/blob/main/SECURITY.md) |
|
|
119
|
+
| 2025-07 | Amazon Q for VS Code v1.84.0 | A poisoned prompt shipped in the extension | Agent prompts and configs are supply chain | [OWASP ASI04](https://genai.owasp.org/download/52117) |
|
|
120
|
+
| 2025-08-26 | s1ngularity / Nx | A GitHub Actions injection stole the NPM token. The malicious postinstall hook ran local AI CLIs with `--dangerously-skip-permissions`, `--yolo`, `--trust-all-tools` to hunt secrets, then pushed them to a public `s1ngularity-repository`. Phase 2 made 5,500+ private repos public | Never leave bypass-permission aliases or long-lived tokens on dev machines; use trusted publishing | [Nx postmortem](https://nx.dev/blog/s1ngularity-postmortem), [GHSA](https://github.com/advisories/GHSA-cxm3-wv7p-598c), [Wiz](https://www.wiz.io/blog/s1ngularity-supply-chain-attack) |
|
|
121
|
+
| 2025-09 | Shai-Hulud worm | 500+ npm packages; harvested GitHub PATs and AWS/GCP/Azure keys, then self-propagated | Rotate npm/GitHub tokens; enforce phishing-resistant MFA | [CISA](https://www.cisa.gov/news-events/alerts/2025/09/23/widespread-supply-chain-compromise-impacting-npm-ecosystem) |
|
|
122
|
+
| 2025-11-24 | Shai-Hulud 2.0 | A preinstall script ran TruffleHog to harvest creds and pushed them to new public GitHub repos | PostHog moved to trusted publishing and pnpm 10 (lifecycle scripts off, `minimumReleaseAge`) | [PostHog](https://posthog.com/blog/nov-24-shai-hulud-attack-post-mortem) |
|
|
123
|
+
| 2026-05/06 | Mini Shai-Hulud and Miasma | A stale OIDC trust in TanStack CI led to a planted Claude Code hook that survived uninstall. Miasma committed `.claude/settings.json` SessionStart hooks, `.gemini/settings.json`, `.cursor/rules/setup.mdc`, and a `.vscode/tasks.json` `folderOpen` task that harvest creds when the repo is opened | Treat agent config dirs as executable code in review | [OWASP Q3 2026](https://genai.owasp.org/2026/10/08/genai-and-agentic-ai-exploit-roundup-q3-2026/), [StepSecurity](https://www.stepsecurity.io/blog/miasma-worm-hits-microsoft-again-azure-functions-action-and-72-other-repositories-disabled-after-supply-chain-attack-targeting-ai-coding-agents) |
|
|
124
|
+
| 2026-08-10 | Deadbugz malicious MCP | A server behaved normally for 3 calls, then rewrote its tool metadata to steer agents to SSH keys, AWS creds, shell history, kubeconfig | Pin and re-approve tool definitions; deny credential reads by default | [Pillar](https://www.pillar.security/blog/deadbugz-currently-active-mcp-supply-chain-campaign), [OWASP Q3 2026](https://genai.owasp.org/2026/10/08/genai-and-agentic-ai-exploit-roundup-q3-2026/) |
|
|
125
|
+
| 2026-07 | Evaluation agents escaping scope | OWASP's roundup reports OpenAI evaluation agents reaching Hugging Face via exposed credentials | Exposed creds turn agent mistakes into intrusions | [OWASP Q3 2026](https://genai.owasp.org/2026/10/08/genai-and-agentic-ai-exploit-roundup-q3-2026/) |
|
|
126
|
+
|
|
127
|
+
## 4. OWASP framing
|
|
128
|
+
|
|
129
|
+
- **LLM Top 10 2025:** LLM02 Sensitive Information Disclosure, LLM06 Excessive Agency, LLM01 Prompt Injection, LLM03 Supply Chain ([list](https://genai.owasp.org/llm-top-10/)). A **2026 edition** was released 2026-09-01. It moves Excessive Agency to #3 ([announcement](https://genai.owasp.org/2026/09/01/owasp-genai-security-project-unveils-2026-top-10-for-llm-applications-new-agent-control-standard-and-sponsors-as-community-tops-30000-members/)), and the Q3 roundup cites LLM02:2026 Sensitive Information Disclosure and LLM04:2026 Supply Chain. I could not retrieve the full 2026 list text [unverified].
|
|
130
|
+
- **Top 10 for Agentic Applications 2026** (Dec 2025, CC BY-SA 4.0): ASI01 Goal Hijack, ASI02 Tool Misuse (covers tool poisoning), ASI03 Identity and Privilege Abuse, ASI04 Agentic Supply Chain, 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 ([PDF](https://genai.owasp.org/download/52117)).
|
|
131
|
+
- ASI03 mitigations relevant here: task-scoped, time-bound tokens per agent; just-in-time ephemeral credentials bound to a session; do not let agents cache credentials across tasks. The document's overall principle is "Least-Agency" ([PDF](https://genai.owasp.org/download/52117)).
|
|
132
|
+
|
|
133
|
+
## 5. Egress control and sandboxing
|
|
134
|
+
|
|
135
|
+
| Option | What it does | Free terms / license | Latest release | Agent-relevant notes | Source |
|
|
136
|
+
|---|---|---|---|---|---|
|
|
137
|
+
| Claude Code sandbox network | Proxy allowlist, starts empty; no direct route out | Free with Claude Code | 2026 docs | Hostname-only filtering with no TLS inspection, so broad entries like `github.com` are exfil paths (domain fronting). WebFetch, MCP servers, and hooks are outside the sandbox | [sandboxing](https://code.claude.com/docs/en/sandboxing) |
|
|
138
|
+
| Claude Code reference devcontainer | Container plus `init-firewall.sh` egress allowlist | Example config in the Claude Code repo | 2026 docs | Even with the firewall, `--dangerously-skip-permissions` lets a malicious repo exfiltrate anything in the container, including `~/.claude` creds; do not mount `~/.ssh` | [devcontainer](https://code.claude.com/docs/en/devcontainer), [script](https://github.com/anthropics/claude-code/blob/main/.devcontainer/init-firewall.sh) |
|
|
139
|
+
| devcontainers CLI | Run any devcontainer headless (CI, agents) | MIT | no GitHub releases; last push 2026-11-05 | Pair with a firewall like the one above | [repo](https://github.com/devcontainers/cli) |
|
|
140
|
+
| Codex network proxy | Domain allow/deny for sandboxed commands | Apache-2.0 | rust-v0.167.1 | Network on + proxy off = unrestricted; full sandbox escalation bypasses the proxy | [security](https://developers.openai.com/codex/agent-approvals-security) |
|
|
141
|
+
| E2B | Firecracker cloud sandboxes via SDK | SDK Apache-2.0; Hobby free: $100 one-time credit, sessions up to 1 h, 10 concurrent | SDK 2.63.0, 2026-11-04 | **Internet on by default**; set `allowInternetAccess: false` or `network.denyOut`/`allowOut`. The egress proxy can fill stored secrets into HTTPS headers outside the sandbox (`Secret.fill`) | [pricing](https://e2b.dev/pricing), [network](https://e2b.dev/docs/sandbox/internet-access), [repo](https://github.com/e2b-dev/E2B) |
|
|
142
|
+
| Daytona | Cloud sandboxes | $200 free compute; **OSS repo archived June 2026** (core moved to a private codebase), so treat it as SaaS | last OSS v0.190.0, 2026-06-23 | `networkBlockAll`, `domainAllowList`, `networkAllowList`; Tier 1/2 orgs get restricted egress they cannot override | [pricing](https://www.daytona.io/pricing), [network](https://www.daytona.io/docs/en/network-limits), [repo](https://github.com/daytonaio/daytona) |
|
|
143
|
+
|
|
144
|
+
Rules:
|
|
145
|
+
- Default-deny egress and allowlist package registries plus the one API the task needs. Keep `api.github.com` (write-capable) separate from read-only mirrors when you can [inference].
|
|
146
|
+
- Prefer injecting secrets at the proxy (Claude `mask`, E2B `Secret.fill`) so the agent process never holds the value.
|
|
147
|
+
- Do not run agents with bypass flags on a host that has real credentials; run them in a container or VM with only task-scoped tokens.
|
|
148
|
+
|
|
149
|
+
## 6. Response: rotation playbook and history-rewrite limits
|
|
150
|
+
|
|
151
|
+
1. **Revoke or rotate first.** GitHub says this is step one and often sufficient. GitHub Support helps purge data only when rotation cannot mitigate the risk ([GitHub](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository)).
|
|
152
|
+
2. **Check for use:** provider audit logs; GitHub security log `action:repo.create` for exfil repos; IOCs such as `/tmp/inventory.txt` for s1ngularity ([GHSA](https://github.com/advisories/GHSA-cxm3-wv7p-598c)). Also rotate everything that was in env vars or shell history on the host ([StepSecurity](https://www.stepsecurity.io/blog/miasma-worm-hits-microsoft-again-azure-functions-action-and-72-other-repositories-disabled-after-supply-chain-attack-targeting-ai-coding-agents)).
|
|
153
|
+
3. **Hunt persistence:** shell rc files (s1ngularity appended `sudo shutdown -h 0`, per [Nx](https://nx.dev/blog/s1ngularity-postmortem)), `.claude/`, `.gemini/`, `.agents/`, `.antigravity-plugin/`, `.cursor/rules/`, `.vscode/tasks.json`, `.mcp.json`, and `mcp_config.json`.
|
|
154
|
+
4. **Rewrite only if needed:** `git-filter-repo --sensitive-data-removal --invert-paths --path FILE` (needs v2.47 or later). Limits: commits stay reachable in forks, in other clones, via SHA in cached views, and through PRs until Support dereferences them. Rewriting also drops commit signatures ([GitHub](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository)).
|
|
155
|
+
5. Tool freshness: git-filter-repo's last release is v2.47.0 (2024-12-04, older than 12 months), but commits continue (2026-07) and GitHub reports license NOASSERTION ([repo](https://github.com/newren/git-filter-repo)). BFG is GPL-3.0 with its last release on 2025-01-18 and no commits since, so treat it as **unmaintained** ([repo](https://github.com/rtyley/bfg-repo-cleaner)).
|
|
156
|
+
6. **Shrink blast radius next time:** GitHub Actions OIDC replaces long-lived cloud secrets with short-lived tokens ([GitHub](https://docs.github.com/en/actions/concepts/security/openid-connect)). npm trusted publishing removes `NPM_TOKEN` from CI ([npm](https://docs.npmjs.com/trusted-publishers)). Audit OIDC trust policies too, because a stale trust was the Mini Shai-Hulud entry point ([OWASP Q3 2026](https://genai.owasp.org/2026/10/08/genai-and-agentic-ai-exploit-roundup-q3-2026/)).
|
|
157
|
+
|
|
158
|
+
## 7. Checklist an agent runs before commit or push
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
# 1. Nothing secret-shaped is staged
|
|
162
|
+
git diff --cached --name-only | grep -Ei '(^|/)\.env($|\.)|\.pem$|\.key$|\.p12$|id_(rsa|ed25519)|credentials' | grep -Eiv '\.env\.(example|sample|template)$' && echo "STOP: secret-like file staged"
|
|
163
|
+
# 2. .env is ignored
|
|
164
|
+
git check-ignore -q .env || echo "STOP: .env not in .gitignore"
|
|
165
|
+
# 3. Scan staged content, redacted output
|
|
166
|
+
gitleaks git --pre-commit --redact --staged --verbose
|
|
167
|
+
# 4. Before push: scan every commit not yet on the remote
|
|
168
|
+
gitleaks git --redact --log-opts="origin/HEAD..HEAD" .
|
|
169
|
+
# 5. Optional: verified-only check (makes outbound calls to providers)
|
|
170
|
+
trufflehog git file://. --since-commit HEAD --results=verified --fail
|
|
171
|
+
# 6. Agent and editor config changes need human review (Miasma vector)
|
|
172
|
+
git diff --cached --name-only | grep -E '^\.(claude|gemini|agents|antigravity-plugin|cursor|codex|vscode)/|(^|/)(\.mcp|mcp_config|hooks)\.json$|AGENTS\.md$|CLAUDE\.md$'
|
|
173
|
+
```
|
|
174
|
+
PowerShell equivalents for steps 1, 6, and env presence:
|
|
175
|
+
```powershell
|
|
176
|
+
git diff --cached --name-only | Select-String -Pattern '(^|/)\.env($|\.)|\.pem$|\.key$|\.p12$|id_(rsa|ed25519)|credentials' | Where-Object { $_ -notmatch '\.env\.(example|sample|template)$' }
|
|
177
|
+
git diff --cached --name-only | Select-String -Pattern '^\.(claude|gemini|agents|antigravity-plugin|cursor|codex|vscode)/|(^|/)(\.mcp|mcp_config|hooks)\.json$|AGENTS\.md$|CLAUDE\.md$'
|
|
178
|
+
Test-Path Env:VAR # returns True/False without printing the secret value
|
|
179
|
+
```
|
|
180
|
+
- Never pass `--no-verify`, `SKIP=gitleaks`, or a push-protection bypass to get past a finding. Stop and report to the human instead.
|
|
181
|
+
- Never print, echo, or `cat` a secret to verify it. Check that it is set instead (`[ -n "$VAR" ]` in bash; `Test-Path Env:VAR` in PowerShell).
|
|
182
|
+
- If a scan hits, unstage the file, move the value to the secret store or `.env`, and tell the human to rotate it if it was ever committed or pushed.
|
|
183
|
+
|
|
184
|
+
## Threats and failure modes
|
|
185
|
+
|
|
186
|
+
- **Indirect prompt injection drives the agent's own tools:** issues, tickets, web pages, and tool descriptions carry instructions that make the agent read secrets and write them to a public sink ([Invariant GitHub MCP](https://invariantlabs.ai/blog/mcp-github-vulnerability), [General Analysis](https://generalanalysis.com/blog/supabase-mcp-blog), [OWASP ASI01](https://genai.owasp.org/download/52117)).
|
|
187
|
+
- **Malware puppeting AI CLIs:** s1ngularity invoked installed agents with bypass flags to hunt for secrets ([Wiz](https://www.wiz.io/blog/s1ngularity-supply-chain-attack)). Any agent CLI on PATH is a capability an attacker can use.
|
|
188
|
+
- **Repo-shipped agent config is code:** SessionStart hooks and always-apply rules run when a repo is opened ([StepSecurity](https://www.stepsecurity.io/blog/miasma-worm-hits-microsoft-again-azure-functions-action-and-72-other-repositories-disabled-after-supply-chain-attack-targeting-ai-coding-agents)).
|
|
189
|
+
- **Post-approval tool changes:** MCP rug pulls and runtime-gated metadata poisoning ([Invariant](https://invariantlabs.ai/blog/mcp-security-notification-tool-poisoning-attacks), [Pillar](https://www.pillar.security/blog/deadbugz-currently-active-mcp-supply-chain-campaign)).
|
|
190
|
+
- **Env inheritance:** Claude's sandbox inherits env vars, and Codex passes `*TOKEN*` vars unless `ignore_default_excludes = false` ([Claude](https://code.claude.com/docs/en/sandboxing), [Codex](https://developers.openai.com/codex/config-file/config-advanced)).
|
|
191
|
+
- **Partial coverage:** `Read` deny misses scripts that open files themselves. The sandbox misses file tools, hooks, and MCP servers, and is absent on native Windows ([permissions](https://code.claude.com/docs/en/permissions), [sandboxing](https://code.claude.com/docs/en/sandboxing)).
|
|
192
|
+
- **Over-broad allowlists and escape hatches:** `github.com` in an allowlist, unsandboxed retries, `bypassPermissions` mode, `allowUnixSockets` for `docker.sock` ([sandboxing](https://code.claude.com/docs/en/sandboxing)).
|
|
193
|
+
- **Over-privileged tokens:** `service_role`, org-wide PATs, and broad MCP scopes turn one injection into full access ([MCP scope minimization](https://modelcontextprotocol.io/specification/2026-07-28/basic/security_best_practices), [OWASP ASI03](https://genai.owasp.org/download/52117)).
|
|
194
|
+
- **Scanner-side leaks:** verification and SaaS scanners send candidate secrets off-box ([inference] from [TruffleHog](https://github.com/trufflesecurity/trufflehog) verification and [Snyk Agent Scan](https://github.com/invariantlabs-ai/mcp-scan) data-sharing notes); unredacted findings land in transcripts.
|
|
195
|
+
- **False comfort from a history rewrite:** forks, clones, and cached SHAs keep the secret ([GitHub](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository)).
|
|
196
|
+
|
|
197
|
+
## Recommendation for a solo dev / small team, all free
|
|
198
|
+
|
|
199
|
+
1. Add `pre-commit` + gitleaks (MIT) locally, and gitleaks CLI or `gitleaks-action@<commit-sha> # v3` (pinned to a full 40-char commit SHA) in CI (the action needs a free key for org repos). Make repos public only if you also want GitHub's free scanning and push protection; private-repo push protection costs $19/committer/month.
|
|
200
|
+
2. In user-level Claude Code settings: `Read` deny rules for `.env*`, keys, and cloud creds; `sandbox.enabled` with `allowUnsandboxedCommands: false`, `failIfUnavailable: true`, a strict registry-only allowlist, and `sandbox.credentials` deny entries; export `CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1`. On Windows, run agents in WSL2 so the sandbox works.
|
|
201
|
+
3. In Codex: keep `workspace-write` with network off, and set `shell_environment_policy` with `inherit = "core"` and `ignore_default_excludes = false`.
|
|
202
|
+
4. In Antigravity (`agy`): enable `--sandbox` / `enableTerminalSandbox: true`, keep `allowNonWorkspaceAccess: false`, add `Deny` rules for `.env*`/`~/.ssh/**`/`~/.aws/**`, and use `variables` instead of literal keys in `mcp_config.json`.
|
|
203
|
+
5. For unattended or `--dangerously-skip-permissions` runs, use the reference devcontainer with `init-firewall.sh`, or E2B Hobby with `allowInternetAccess: false`. Never mount `~/.ssh` or cloud credential files.
|
|
204
|
+
6. Give agents task-scoped tokens: fine-grained per-repo GitHub tokens, read-only DB roles (never `service_role`), and OIDC plus npm trusted publishing in CI so long-lived publish tokens do not exist.
|
|
205
|
+
7. Review every diff touching `.claude/`, `.gemini/`, `.agents/`, `.antigravity-plugin/`, `.cursor/`, `.vscode/tasks.json`, `.mcp.json`, or `mcp_config.json`. Add MCP servers like dependencies: pin versions, read tool descriptions, and re-approve when they change.
|
|
206
|
+
8. On any leak: rotate first, check logs, hunt persistence, then optionally run `git-filter-repo --sensitive-data-removal`.
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# Logins, passwords, and MFA for AI agents: free options (checked 2026-11-11)
|
|
2
|
+
|
|
3
|
+
**Summary.** Best free setup: don't let the model read passwords at all. Reuse a session it is already signed in to (Playwright `storageState`, a persistent profile, or a relay into the user's own Chrome), or have a broker inject the credential into a child process or the page. Free broker: Bitwarden's open-source [Agent Access](https://github.com/bitwarden/agent-access) (`aac run`, human approval per request, still alpha). Paid broker that fills the page itself: [1Password for Agents](https://support.1password.com/1password-claude-security/).
|
|
4
|
+
Give agents their own accounts and short-lived tokens with narrow scopes: GitHub fine-grained PATs, GitHub App tokens that expire after 1 hour, device-flow logins. Never give an agent the TOTP seed or passkey for a human account.
|
|
5
|
+
Send secrets through stdin, not argv. Agent transcripts and OAuth caches are saved to disk in plaintext (`~/.claude/projects`, `~/.codex/sessions`, `~/.omp/agent/sessions`, `~/.gemini/antigravity*/brain/<id>/.system_generated/logs/transcript*.jsonl`, `~/.gemini/antigravity/mcp_oauth_tokens.json`), so any secret the model sees also ends up on disk.
|
|
6
|
+
|
|
7
|
+
## Rules
|
|
8
|
+
1. Order of preference: (a) the agent never sees the secret (the broker fills the page or injects env/stdin), (b) the agent uses a session cookie or OAuth token for its own account, (c) the agent reads a password from a vault. (c) is the last resort and only for low-value accounts [inference].
|
|
9
|
+
2. Avoid the "lethal trifecta": an agent with private data + untrusted content + a way to send data out can be tricked into exfiltrating it ([Willison](https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/)). Wiring a password vault into a browsing agent with network access creates exactly that ([kud/mcp-keepassxc README](https://github.com/kud/mcp-keepassxc)).
|
|
10
|
+
3. Use one account per agent and one vault/collection per agent, with expiring credentials, and give the agent only the minimum scopes it needs ([OWASP Secrets Mgmt](https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html)).
|
|
11
|
+
4. A human approves every credential release (Agent Access, 1Password, device flow, CIBA). Don't leave standing approvals in place.
|
|
12
|
+
|
|
13
|
+
## 1. Password managers an agent can use
|
|
14
|
+
|
|
15
|
+
| Tool | What it does | Free terms / license | Latest release | Agent-relevant notes | Source |
|
|
16
|
+
|---|---|---|---|---|---|
|
|
17
|
+
| Bitwarden (cloud) | E2EE password manager | Free plan: unlimited items and devices. A Free org shares with **1 other user, up to 2 collections**. Integrated TOTP is **Premium only** | n/a (SaaS) | A free 2-person org gives you a "human + agent account" split that costs nothing | [plans](https://bitwarden.com/help/password-manager-plans.md) |
|
|
18
|
+
| `bw` CLI | Full vault access from a shell; `--raw`, `--nointeraction`, `--passwordenv`, `--passwordfile` | GPL-3.0 (the `/bitwarden_license` dir is source-available) | cli-v2026.10.1, 2026-10-29 | `BW_SESSION` unlocks the **whole vault**; scope by using a dedicated agent account | [CLI docs](https://bitwarden.com/help/cli/), [license](https://github.com/bitwarden/clients/blob/main/LICENSE.txt) |
|
|
19
|
+
| `bw serve` | Local REST "Vault Management API" | same | same | Binds localhost:8087 and blocks requests that carry an `Origin` header. **Once unlocked it requires no auth**: any local process can list every item | [CLI docs](https://bitwarden.com/help/cli/), [issue #3932](https://github.com/bitwarden/clients/issues/3932) |
|
|
20
|
+
| `bitwarden/mcp-server` | Official MCP: list/get/create items, TOTP, Send, org admin | GPL-3.0, npm `@bitwarden/mcp-server` | v2026.7.0, 2026-07-07 | Passwords are returned **into the model context**. Local only, "never hosted publicly" | [README](https://github.com/bitwarden/mcp-server/blob/main/README.md) |
|
|
21
|
+
| Bitwarden Agent Access (`aac`) | E2EE tunnel: an agent requests one credential, a human approves it, and `aac run` injects it as env | Apache-2.0, free | v0.11.0, 2026-03-21 (alpha; commits still active) | Pairing token, then fetch by `--domain` or `--id`. The vendor says "early preview", so test it with sample data only | [repo](https://github.com/bitwarden/agent-access), [blog](https://bitwarden.com/blog/introducing-agent-access-sdk) |
|
|
22
|
+
| Vaultwarden | Unofficial Rust server compatible with the Bitwarden client API | AGPL-3.0, self-host, free | 1.37.5, 2026-11-01 | Org features at no cost. Works with `bw config server <url>`. Not affiliated with Bitwarden | [repo](https://github.com/dani-garcia/vaultwarden) |
|
|
23
|
+
| KeePassXC + `keepassxc-cli` | Local `.kdbx` vault; `show -s -a password`, `clip`, `-t` TOTP, key file/YubiKey unlock | GPL-2.0 or GPL-3.0, free | 2.8.0, 2026-10-21 | No server and no sync, so the file is the whole attack surface. Give the agent its own `.kdbx` | [man page](https://github.com/keepassxreboot/keepassxc/blob/develop/docs/man/keepassxc-cli.1.adoc) |
|
|
24
|
+
| KeePass MCP servers | Community wrappers | MIT/BSD | e.g. tuaris/keepassxc-mcp (4 stars, last push 2026-05) | All immature (fewer than 10 stars). One README's whole content is "Just don't." | [GitHub search](https://github.com/search?q=keepassxc+mcp&type=repositories), [kud/mcp-keepassxc](https://github.com/kud/mcp-keepassxc) |
|
|
25
|
+
| `pass` | GPG-encrypted files in git | GPL-2.0+, free | Last tag 1.7.4, **2021-06-11** (commits still land; last 2026-10-27) | No release in 5+ years. Prefer gopass | [repo](https://github.com/zx2c4/password-store) |
|
|
26
|
+
| gopass | pass-compatible store built for teams; GPG or age, git sync, multiple recipients, `otp` | MIT, free | v1.17.4, 2026-10-10 | `gopass env --stdin` keeps the secret out of env and `ps` | [repo](https://github.com/gopasspw/gopass), [env doc](https://github.com/gopasspw/gopass/blob/master/docs/commands/env.md) |
|
|
27
|
+
| Proton Pass | E2EE manager with `pass-cli run`/`inject` and `pass://` refs | Free: unlimited logins, 2 vaults, share with 2 others. **CLI and integrated 2FA are paid (Pass Plus)**. CLI is GPL-3.0 | pass-cli 2.7.0, 2026-11-03 | `run` masks secrets in stdout/stderr by default. MCP servers are community-built only | [pricing](https://proton.me/pass/pricing), [run doc](https://github.com/protonpass/pass-cli/blob/main/docs/public/docs/commands/contents/run.md) |
|
|
28
|
+
| 1Password (paid) | Secure Agentic Autofill / "1Password for Agents"; service accounts; Environments | **Paid** (from $3.99/mo, 14-day trial) | n/a | The agent gets metadata only. A human approves each session and values are filled into the page | [pricing](https://1password.com/pricing/password-manager), [security](https://support.1password.com/1password-claude-security/) |
|
|
29
|
+
|
|
30
|
+
**Bitwarden MCP security model** ([README](https://github.com/bitwarden/mcp-server/blob/main/README.md)):
|
|
31
|
+
- `unlock` takes no parameters. It opens a native OS password dialog (osascript, zenity/kdialog, or a PowerShell WinForms dialog).
|
|
32
|
+
- The master password reaches `bw unlock` through a one-shot random env var, so it "never appears in process arguments, in the MCP protocol, or in the LLM's context".
|
|
33
|
+
- On headless machines `unlock` refuses to run, and you put `BW_SESSION` in the MCP config by hand. That session key unlocks the whole vault.
|
|
34
|
+
- File tools are disabled unless `BW_ALLOWED_DIRECTORIES` is set.
|
|
35
|
+
- Limits: `get` returns passwords and TOTP codes to the model, and org-admin tools can invite or remove members. The README warns that "AI responses may inadvertently reveal sensitive information" and suggests self-hosted or local LLMs for sensitive data.
|
|
36
|
+
|
|
37
|
+
**Agent Access flow** ([repo](https://github.com/bitwarden/agent-access)). The protocol "is open for any credential provider". OneCLI integration is live and a Browserbase integration is "in development" ([blog](https://bitwarden.com/blog/introducing-agent-access-sdk)):
|
|
38
|
+
```bash
|
|
39
|
+
aac listen # human side: unlock bw, print a pairing token
|
|
40
|
+
aac connect --token <pairing-token> --output json # agent side: pair once
|
|
41
|
+
aac run --domain example.com --env DB_PASSWORD=password --env DB_USER=username -- psql
|
|
42
|
+
```
|
|
43
|
+
Prefer `aac run`: `aac connect --output json` prints the password to stdout, so the model sees it.
|
|
44
|
+
|
|
45
|
+
**1Password for Agents (paid, brief)** ([security model](https://support.1password.com/1password-claude-security/)):
|
|
46
|
+
- Pairing checks OS code signing against a partner allowlist. Each agent session gets its own crypto credentials, and each request triggers a desktop approval prompt with no standing approvals.
|
|
47
|
+
- Approved items are cached AES-256-GCM in browser-extension memory for at most 9 hours. The agent "sleeps" while the form is filled and submitted, and fields are cleared if submission fails.
|
|
48
|
+
- Browserbase integration shipped 2026-10-22 ([changelog](https://www.browserbase.com/changelog/1password-for-agents)).
|
|
49
|
+
- Accepted risk, in 1Password's own words: once signed in, "what the agent does on the website is governed by the agent product's own safeguards".
|
|
50
|
+
|
|
51
|
+
## 2. Reuse sessions instead of handing over passwords
|
|
52
|
+
|
|
53
|
+
| Tool | What it does | Free terms / license | Latest release | Agent-relevant notes | Source |
|
|
54
|
+
|---|---|---|---|---|---|
|
|
55
|
+
| Playwright `storageState` | Saves cookies, localStorage, IndexedDB, and passkey state to JSON and reloads it | Apache-2.0 | v1.65.0, 2026-11-05 | Vendor: the file "may contain sensitive cookies... could be used to impersonate you". Keep it in a gitignored `playwright/.auth` | [auth docs](https://playwright.dev/docs/auth) |
|
|
56
|
+
| Playwright MCP | Browser MCP with persistent or isolated profiles | Apache-2.0 | v0.0.85, 2026-11-09 | `--user-data-dir`, `--isolated --storage-state=...`, `--extension` (attach to the user's Chrome), `--secrets <dotenv>`, `--redact-url-params` | [README](https://github.com/microsoft/playwright-mcp) |
|
|
57
|
+
| Chrome DevTools MCP | CDP-based MCP for Chrome | Apache-2.0 | v1.13.0, 2026-11-11 | `--isolated` (temp profile), `--user-data-dir`, `--autoConnect` (Chrome 144+, user enables remote debugging), `--browser-url` | [config](https://github.com/ChromeDevTools/chrome-devtools-mcp/blob/main/docs/configuration.md) |
|
|
58
|
+
| browser-use | Python browser agent | MIT | 1.0.2, 2026-11-11 | `sensitive_data` scoped by domain; `type_secret()` types values the model never sees; `storage_state` / Chrome profile reuse | [secrets](https://docs.browser-use.com/open-source/secrets.md) |
|
|
59
|
+
| Browserbase Contexts | Hosted browser profile (cookies, localStorage, IndexedDB) reused across sessions | Free plan: 1 browser-hour, 3 concurrent, 15-min sessions, 7-day retention. Paid from $20 | n/a (SaaS) | Contexts are "encrypted at rest" and "live indefinitely" until deleted. The official MCP repo was **archived** (last release v3.0.0, 2026-03-31) | [plans](https://docs.browserbase.com/account/billing/plans), [contexts](https://docs.browserbase.com/platform/browser/core-features/contexts), [MCP repo](https://github.com/browserbase/mcp-server-browserbase) |
|
|
60
|
+
| omp browser relay | Drives the user's real, already-signed-in Chrome through an extension plus a local CDP relay | Ships with omp | n/a | Binds loopback; use `--token` if other local processes are untrusted. Cannot attach to DevTools-open or internal tabs | omp docs (`omp://user-facing-packages.md`, `omp://tools/browser.md`) |
|
|
61
|
+
|
|
62
|
+
Rules for session reuse:
|
|
63
|
+
- A saved state file or profile directory is a **bearer credential**. Treat it like a password: give it `0600` perms on Unix (on Windows, restrict NTFS ACLs to the current user via `icacls <file> /inheritance:r /grant:r "$($env:USERNAME):(R,W)"`), keep it in the project's self-ignored `.scratch/auth/`, and delete it when the task ends ([Playwright](https://playwright.dev/docs/auth)).
|
|
64
|
+
- Prefer a separate profile signed in as the **agent's own** account. Use relay or `--extension` into your personal browser only for supervised, interactive tasks, because the agent then holds every session you have open [inference].
|
|
65
|
+
- Chrome 136+ ignores `--remote-debugging-port` on the **default** profile. Infostealers used it to pull cookies, so a non-default `--user-data-dir` is now required ([Chrome blog](https://developer.chrome.com/blog/remote-debugging-port)). Don't try to work around it.
|
|
66
|
+
- Playwright MCP's `secrets`/`redactUrlParams` "is a convenience and not a security feature" ([README](https://github.com/microsoft/playwright-mcp)). browser-use redaction skips **screenshots**, and code the model writes "can read" the values ([browser-use](https://docs.browser-use.com/open-source/secrets.md)).
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
# one-time human login, then the agent reuses the state in an isolated context
|
|
70
|
+
npx @playwright/mcp@latest --isolated --storage-state=.scratch/auth/site.json
|
|
71
|
+
# Chrome DevTools MCP with a repo-contained throwaway profile (avoid `--isolated`, which writes to system temp)
|
|
72
|
+
npx chrome-devtools-mcp@latest --user-data-dir .scratch/chrome
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## 3. CLI logins, keychains, and OAuth device flow
|
|
76
|
+
|
|
77
|
+
| Tool | Login method for headless agents | Where the credential lives | Source |
|
|
78
|
+
|---|---|---|---|
|
|
79
|
+
| `gh` | Browser or device code; `--with-token` reads stdin; `GH_TOKEN` env for fine-grained PATs; `--expiring` prefers auto-refreshed tokens | OS credential store; **falls back to a plaintext file** if none is available (`--insecure-storage` forces it) | [gh auth login](https://cli.github.com/manual/gh_auth_login) |
|
|
80
|
+
| `aws sso login` | PKCE by default (2.22.0+); `--use-device-code` for another device | `~/.aws/sso/cache` on disk | [AWS docs](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html) |
|
|
81
|
+
| `gcloud auth login` | `--no-browser` (finish on a second machine) or `--no-launch-browser` (paste URL) | gcloud config dir [unverified path details] | [gcloud ref](https://cloud.google.com/sdk/gcloud/reference/auth/login) |
|
|
82
|
+
| `az` | MSAL | Token cache **encrypted on Windows, plaintext on Linux/macOS** | [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/msal-based-azure-cli) |
|
|
83
|
+
| OAuth 2.0 Device Authorization Grant | The agent shows a `user_code` + `verification_uri`; a human approves on another device; the agent polls (default 5 s) | Token held by the agent | [RFC 8628](https://www.rfc-editor.org/rfc/rfc8628) |
|
|
84
|
+
|
|
85
|
+
- These CLIs keep refresh tokens readable by any process running as the same OS user, and the agent runs as that user. If an agent runs in your shell, it inherits every cloud login you have. Use a separate OS user, container, or profile (`AWS_PROFILE`, `CLOUDSDK_CONFIG`, `GH_CONFIG_DIR`) per agent [inference].
|
|
86
|
+
- Device flow is the right fit for headless agents because the human authenticates on their own device. Mitigate remote phishing (an attacker starting the flow and sending you the code) by always checking the `user_code` and keeping its lifetime short ([RFC 8628 s5.4](https://www.rfc-editor.org/rfc/rfc8628#section-5.4)).
|
|
87
|
+
|
|
88
|
+
## 4. MFA, TOTP, passkeys, and human approval
|
|
89
|
+
|
|
90
|
+
- **TOTP seeds.** Whoever holds an RFC 6238 seed can mint valid codes ([RFC 6238](https://www.rfc-editor.org/rfc/rfc6238)), so an agent holding both password and seed turns 2FA into one factor [inference].
|
|
91
|
+
- Never give an agent the seed for a human or admin account. Seeds are acceptable only for a dedicated, low-privilege agent or test account.
|
|
92
|
+
- Even then, use a broker that types the code without exposing the seed. browser-use secrets ending in `bu_2fa_code` type "the current 6-digit code, never the seed" ([browser-use](https://docs.browser-use.com/open-source/secrets.md)). 1Password fills OTPs after approval ([1Password](https://support.1password.com/1password-claude-security/)).
|
|
93
|
+
- Bitwarden's MCP `get` returns TOTP codes into context ([README](https://github.com/bitwarden/mcp-server/blob/main/README.md)). Integrated TOTP code generation in Bitwarden requires Premium ([plans](https://bitwarden.com/help/password-manager-plans.md)).
|
|
94
|
+
- **Passkeys/WebAuthn.** A real authenticator needs a human gesture (user presence), so a production passkey for a human account can't be driven headlessly [inference].
|
|
95
|
+
- The spec defines automation only as a WebDriver virtual-authenticator extension "for the purposes of user agent automation and web application testing" ([WebAuthn L2 s11](https://www.w3.org/TR/webauthn-2/#sctn-automation)).
|
|
96
|
+
- Playwright's `context.credentials` (v1.61+) is a software virtual authenticator. Its `get()` returns credentials that include the private key, so they can be saved to disk and re-seeded ([Playwright](https://playwright.dev/docs/api/class-credentials)).
|
|
97
|
+
- That turns the passkey into an ordinary file secret. Use it only for test accounts on test relying parties [inference].
|
|
98
|
+
- **Human-in-the-loop patterns:**
|
|
99
|
+
- Approval for each credential: Agent Access CLI approval ([repo](https://github.com/bitwarden/agent-access)), or the 1Password desktop prompt with no standing approvals ([1Password](https://support.1password.com/1password-claude-security/)).
|
|
100
|
+
- Push approval to the human's phone via OpenID **CIBA**. The client starts auth with a `login_hint`, a `binding_message` is shown on both devices, and tokens are delivered by poll, ping, or push ([CIBA Core 1.0](https://openid.net/specs/openid-client-initiated-backchannel-authentication-core-1_0.html)).
|
|
101
|
+
- Device flow: the human approves on their own device while the agent polls ([RFC 8628](https://www.rfc-editor.org/rfc/rfc8628)).
|
|
102
|
+
- The human does the MFA step in a relay tab or Browserbase live view, then the agent reuses the session (section 2) ([Browserbase contexts](https://docs.browserbase.com/platform/browser/core-features/contexts)).
|
|
103
|
+
|
|
104
|
+
## 5. Dedicated agent accounts and least privilege
|
|
105
|
+
|
|
106
|
+
| Mechanism | Free? | Scope and lifetime | Source |
|
|
107
|
+
|---|---|---|---|
|
|
108
|
+
| GitHub machine account | Free; ToS allows **one free machine account** per person, "used exclusively for performing automated tasks" | You remain responsible for its actions | [GitHub ToS](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service) |
|
|
109
|
+
| GitHub fine-grained PAT | Free | One owner, selected repos, per-permission read/write, expiry 1-366 days (default 30). Max 50 tokens. Some features still need classic PATs | [PAT docs](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) |
|
|
110
|
+
| GitHub App installation token | Free | Per-installation permissions; **expires after 1 hour** | [App token docs](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-an-installation-access-token-for-a-github-app) |
|
|
111
|
+
| Test accounts | Free | Created per test or per worker, never production users | [Playwright auth](https://playwright.dev/docs/auth) |
|
|
112
|
+
| Bitwarden free org | Free (2 users, 2 collections) | Put only the agent's items in a collection the agent account can read | [plans](https://bitwarden.com/help/password-manager-plans.md) |
|
|
113
|
+
|
|
114
|
+
Rules: classic PATs reach "every repository that you can access", so avoid them ([GitHub](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)). Name the agent in the account or token so audit logs show which actions were the agent's [inference]. Revoke and rotate immediately after any exposure ([OWASP](https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html)).
|
|
115
|
+
|
|
116
|
+
## 6. Passing secrets to commands safely
|
|
117
|
+
|
|
118
|
+
Exposure ranking, safest first: **stdin or file descriptor**, then a 0600 or ramdisk file, then an env var in a child process, then argv [inference from the sources below].
|
|
119
|
+
- **argv** shows up in `/proc/<pid>/cmdline` and `ps` for other users unless `/proc` is mounted with `hidepid` ([proc(5)](https://man7.org/linux/man-pages/man5/proc.5.html)). It also ends up in shell history and in the agent transcript as part of the tool call.
|
|
120
|
+
- **env**: `/proc/<pid>/environ` needs ptrace-read rights ([proc_pid_environ(5)](https://man7.org/linux/man-pages/man5/proc_pid_environ.5.html)), meaning the same user or root, and therefore the agent itself. gopass warns that env injection is visible "for the entire lifetime of the subprocess" ([gopass env](https://github.com/gopasspw/gopass/blob/master/docs/commands/env.md)).
|
|
121
|
+
- **stdin** keeps secrets "from ending up in the shell's history, or log-files" ([docker login](https://docs.docker.com/reference/cli/docker/login/)).
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
bw get password agent-db --raw | docker login -u agentbot --password-stdin # bw reads BW_SESSION from env; `--session <key>` would put it in argv
|
|
125
|
+
gopass env --stdin db/password gpg --passphrase-fd 0 --decrypt file.gpg
|
|
126
|
+
gh auth login --with-token < .scratch/auth/gh-token # 0600 file a human placed, not `echo TOKEN |`
|
|
127
|
+
pass-cli run --env-file .env -- ./deploy.sh # .env holds pass:// refs; output masked by default
|
|
128
|
+
export BW_SESSION="$(bw unlock --raw --passwordfile .scratch/auth/mp)" # key goes into a var, not stdout; vendor: file readable by one user only
|
|
129
|
+
```
|
|
130
|
+
Shell tips [inference]:
|
|
131
|
+
- In bash, `printf '%s' "$X" | cmd` and `echo "$X" | cmd` keep the value out of any process's argv, because `printf` and `echo` are builtins and never exec a separate program.
|
|
132
|
+
- An inline literal like `echo ghp_xxx | cmd` still leaks: the token lands in shell history and in the agent transcript as part of the tool call.
|
|
133
|
+
- Have the agent call a wrapper script that fetches and pipes the secret itself, so the value never appears in a model-authored command.
|
|
134
|
+
|
|
135
|
+
**Transcripts keep whatever the model sees, in plaintext:**
|
|
136
|
+
|
|
137
|
+
| Agent | Where | Retention / control | Source |
|
|
138
|
+
|---|---|---|---|
|
|
139
|
+
| Claude Code | `~/.claude/projects/` | Plaintext, **30 days** by default; `cleanupPeriodDays` changes it; Desktop/Cowork sessions exempt by default | [data usage](https://code.claude.com/docs/en/data-usage) |
|
|
140
|
+
| Codex CLI | `~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl`; `~/.codex/history.jsonl` | `[history] persistence = "none"` turns off history and `max_bytes` caps it. Whether that also stops `sessions/` rollouts is [unverified] | [config](https://developers.openai.com/codex/config-advanced), [recorder.rs](https://github.com/openai/codex/blob/main/codex-rs/rollout/src/recorder.rs) |
|
|
141
|
+
| omp | `~/.omp/agent/sessions/<encoded-cwd>/<ts>_<id>.jsonl` (plus subagent transcripts) | `omp gc` compresses; delete the files to purge | omp docs (`omp://session.md`) |
|
|
142
|
+
| Google Antigravity (`agy`/App/IDE) | `~/.gemini/antigravity*/brain/<id>/.system_generated/logs/transcript*.jsonl`; OAuth tokens in `~/.gemini/antigravity/mcp_oauth_tokens.json` | Plaintext JSONL transcripts and cached MCP OAuth tokens; delete/revoke to purge, and treat `${PLUGIN_DATA}` as out-of-repo harness state | [hooks](https://antigravity.google/docs/hooks), [mcp](https://antigravity.google/docs/mcp) |
|
|
143
|
+
|
|
144
|
+
If a secret reaches context, assume it is on disk and possibly at the model provider: **rotate it, don't just delete the file** ([OWASP](https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html)). Output masking is helpful but not a boundary: `pass-cli run` masks by default ([run doc](https://github.com/protonpass/pass-cli/blob/main/docs/public/docs/commands/contents/run.md)), Playwright MCP says redaction is "not a security feature".
|
|
145
|
+
|
|
146
|
+
## Threats and failure modes
|
|
147
|
+
- **Prompt injection, then a vault read, then exfiltration.** Any agent that holds vault tools plus browsing or fetch can be steered by page or email text ([Willison](https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/)). Bitwarden's MCP README: AI responses "may inadvertently reveal sensitive information" ([README](https://github.com/bitwarden/mcp-server/blob/main/README.md)).
|
|
148
|
+
- **Unauthenticated local vault API.** An unlocked `bw serve` answers any local process, or the whole network with `--hostname all`. Bitwarden's response: "not intended to be used outside of a tightly controlled environment" ([#3932](https://github.com/bitwarden/clients/issues/3932), [CLI docs](https://bitwarden.com/help/cli/)).
|
|
149
|
+
- **`BW_SESSION` in MCP config files.** The session key unlocks the whole vault, and config files get committed or shared, which the README explicitly warns against ([README](https://github.com/bitwarden/mcp-server/blob/main/README.md)).
|
|
150
|
+
- **Session files are as good as passwords.** `storageState` JSON, profile dirs, Browserbase contexts, and Playwright passkey JSON all let someone impersonate the account ([Playwright](https://playwright.dev/docs/auth), [Credentials](https://playwright.dev/docs/api/class-credentials), [Browserbase](https://docs.browserbase.com/platform/browser/core-features/contexts)).
|
|
151
|
+
- **Cookie theft via remote debugging.** The reason Chrome locked down the default profile ([Chrome](https://developer.chrome.com/blog/remote-debugging-port)). A CDP port left open on your real profile, or a relay without `--token` on a shared machine, does the same thing [inference].
|
|
152
|
+
- **Redaction gaps.** Screenshots, model-written code, files the agent writes, and short values (<4 chars) are not redacted ([browser-use](https://docs.browser-use.com/open-source/secrets.md)).
|
|
153
|
+
- **Transcript persistence.** 30-day plaintext Claude Code transcripts and Codex rollouts keep every secret the model saw ([Claude](https://code.claude.com/docs/en/data-usage), [Codex](https://developers.openai.com/codex/config-advanced)).
|
|
154
|
+
- **Inherited CLI logins.** gh falls back to plaintext storage, the az cache is plaintext on Linux/macOS, and AWS SSO tokens are cached on disk ([gh](https://cli.github.com/manual/gh_auth_login), [az](https://learn.microsoft.com/en-us/cli/azure/msal-based-azure-cli), [aws](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html)).
|
|
155
|
+
- **Device-code phishing.** An attacker starts the flow and gets the user to approve it ([RFC 8628 s5.4](https://www.rfc-editor.org/rfc/rfc8628#section-5.4)).
|
|
156
|
+
- **Over-broad tokens.** Classic PATs, shared human accounts, or TOTP seeds handed to the agent, which defeats the point of 2FA ([GitHub](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)).
|
|
157
|
+
- **Immature community bridges.** KeePass, Proton, and Vaultwarden MCP servers are single-maintainer projects with few stars; one vendor MCP repo (Browserbase) is archived ([search](https://github.com/search?q=keepass+mcp&type=repositories), [Browserbase MCP](https://github.com/browserbase/mcp-server-browserbase)).
|
|
158
|
+
|
|
159
|
+
## Recommendation for a solo dev / small team, all free
|
|
160
|
+
1. **Vault:** Bitwarden free (or self-hosted Vaultwarden, AGPL). Create a separate **agent account**, join it to your free 2-person org, and share it only one "agent" collection ([plans](https://bitwarden.com/help/password-manager-plans.md)). Fully offline alternative: one `.kdbx` per agent with KeePassXC, or gopass with an age recipient just for the agent.
|
|
161
|
+
2. **Delivery:** use `aac run` (Agent Access) or `bw get ... --raw | cmd --password-stdin` inside a wrapper script, so the agent calls the wrapper and never prints the value. Don't use `bw serve`, and don't put `BW_SESSION` in shared MCP configs. Use the Bitwarden MCP server only with a vault that holds nothing but the agent's own low-value items.
|
|
162
|
+
3. **Web logins:** a human logs in once, then the agent works from a Playwright `storageState` or a dedicated `--user-data-dir` signed in as the agent account. Use the omp relay or `--extension` only for supervised work in your real browser.
|
|
163
|
+
4. **APIs and GitHub:** fine-grained PAT (select repos, 30-day expiry) or a GitHub App, held by the machine account. Cloud CLIs use device or `--no-browser` login under a separate profile/config dir.
|
|
164
|
+
5. **MFA:** keep TOTP seeds and passkeys for human accounts with humans. Agent test accounts can use a brokered TOTP (`bu_2fa_code`) or Playwright virtual passkeys. For anything higher-stakes, the human approves (device flow, push, or Agent Access prompt).
|
|
165
|
+
6. **Hygiene:** pass secrets over stdin, not argv. On machines that handle secrets, set `cleanupPeriodDays` low and Codex `history.persistence = "none"`, and prune `~/.codex/sessions`, `~/.omp/agent/sessions`, and `~/.gemini/antigravity*/brain/`. Rotate any secret that appeared in a transcript.
|