Damascus ships Markdown agent skills/agents and stdlib-only CLI scripts invoked on developer machines and in CI. Its trust boundaries are:
- Untrusted repository inputs: Code diffs, specs, comments,
.damascus/models.conf,.damascus/addenda/*.md,.damascus/experience.md, andcases.jsonfiles inside a repository under review may originate from untrusted contributors or prompt-injected sessions. - Deterministic CLI guards:
damascus revert-proofvalidatesproduction_filesstay inside the throwaway worktree, disables repo-controlled git hooks/fsmonitor, and runstest_cmdwithshell=Falseunless--allow-shellis explicitly passed.damascus agent-runpermitshttp/httpsendpoints only, restricts repo-local.damascus/models.confLOCAL_OPENAI_URLvalues to loopback unless--allow-remoteis passed, never forwardsOPENAI_API_KEYto repo-configured URLs, blocks cross-origin redirects, and invokesclaude/codexcritic/judge roles read-only.damascus upgrade-consumersrefuses symlinkedvendor/damascus/install.shtargets resolving outside the consumer repo unless--allow-external-installeris passed.damascus hook-guardis an opt-inPreToolUsehook for deterministic enforcement of Amber test-lock andvendor/damascus/immutability.
- Agent instruction & automation files: Changes to
AGENTS.md,CLAUDE.md,skills/,agents/,.damascus/, or CI/workflow configs (e.g..woodpecker/,.github/) are persistent steering surfaces and must be reviewed carefully on any PR from external contributors.
Please do not disclose security vulnerabilities in public issues. Report them privately via GitHub Security Advisories on this repository with reproduction steps and affected versions/tags.