| Version | Supported |
|---|---|
| 1.x | ✅ |
| < 1.0 | ❌ |
We take security seriously. If you discover a security vulnerability in opencode-agent-kit, please follow responsible disclosure.
Do NOT report security issues via public GitHub issues.
Instead, report via one of these channels:
- Email: Send details to the repository owner via GitHub
- GitHub Security Advisory: If available for this repo, use the "Report a vulnerability" link under the Security tab
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Your contact information
- Acknowledgment: Within 48 hours
- Triage: Within 5 business days
- Fix: Timeline depends on severity
Template configurations in opencode.json include security-aware defaults:
.env,.env.*files are denied from read by default- Bash permissions start at ask (prompt for approval) in the example config
- Sensitive MCP servers (SonarQube, Postman) require API keys via environment variables
- Never hardcode API keys or tokens in agent prompts or skills
- Review bash permissions in your
opencode.json— restrict to specific commands where possible - Use environment variables for MCP server credentials
- Review custom skills and agent prompts before adding them to your configuration
- Keep the kit updated: Run
npx opencode-agent-kit upgraderegularly
This policy covers the opencode-agent-kit package itself — the CLI, template configurations, and shipping agent prompts/skills. It does not cover:
- Third-party MCP servers (Figma, Stitch, Postman, etc.)
- The OpenCode CLI itself
- Applications built using this agent kit