Reporting a vulnerability
Please do not open a public issue for security vulnerabilities. Use a private GitHub Security Advisory and include:
- steps to reproduce,
- affected versions,
- relevant logs or environment details with credentials redacted.
For non-security bugs, open a GitHub issue.
Security model
M31A executes code and edits files in your workspace. Its controls are layered:
- Workspace trust — a gate before file and shell tools act freely.
- Approval modes and policies —
default,auto_edit,yolo,plan, plus declarative policy files. - Sandboxing — macOS Seatbelt profiles and container sandboxes.
- Secret hygiene — environment variable redaction and excluded variables.
- Extensions and MCP — allowlists and admin restrictions for external code.
See Sandboxing and Approval modes for configuration.
Safe contribution practices
- Never commit API keys, tokens, or webhook URLs.
- Treat hook commands, MCP servers, skills, and extensions as executable code.
- Keep credentials in environment variables or the local credential store.
- Avoid
--raw-outputwith untrusted model output. - Use a sandbox when evaluating unfamiliar repositories.
- Enable
security.environmentVariableRedaction.enabledwhen sharing logs.
Dependency and CI policy
- GitHub Actions are pinned to 40-character commit SHAs and checked in CI.
- Dependencies are monitored by Dependabot.
- Release artifacts include a
SHA256SUMSfile for verification.
Next steps
Read the root SECURITY.md in the repository and the Troubleshooting guide.