You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Security: synthet/synth-agent-framework
Security
docs/security.md
type
Technical Reference
title
Security Model
description
Security model, secret-handling rules, and the pre-merge security review checklist.
resource
security.md
tags
docs
security
timestamp
2026-06-16 00:00:00 UTC
okf_version
0.1
Security
Secrets
Secrets live in secrets.json / .env (git-ignored), never in committed config or code.
Use .env.example for non-secret defaults.
Secrets never appear in logs, tool output, audit logs, or external-review payloads.
Agent permission model
Default read-only mode: the scaffolded .claude/settings.json allowlist permits only repository inspection (Bash(git status), Bash(git diff:*), Bash(git log:*)) and WebSearch.
Opt-in local writes: maintainers can opt into local repository writes by copying or merging .claude/settings.write.example.json into the active Claude settings. Treat git add and git commit as local write permissions and enable only for tasks that need them.
Remote writes are distinct:gh pr, gh issue, and gh project mutate remote GitHub state, can notify collaborators, and can trigger automations. They require explicit task intent and target verification; local-write approval alone is insufficient.
External export requires explicit approval: before sending code, prompts, logs, artifacts, generated reports, or review bundles to external providers, obtain explicit approval and verify no secrets or proprietary material are included.
Seeded-project default: projects bootstrapped from this framework inherit the safer read-only .claude/settings.json unless a maintainer deliberately opts into write-capable settings.
Hard rules
Validate every external input against a schema; reject malformed payloads (fail-closed).
Write/side-effecting operations require explicit confirmation and an allowlist.
No raw shell / arbitrary-code tools without an approval policy.