| Version | Supported |
|---|---|
| 0.6.x | ✅ |
| 0.5.x | ✅ (security fixes only) |
| < 0.5 | ❌ |
Only the latest 0.6.x release receives feature work and security patches. 0.5.x receives critical security fixes for a limited window. Users are strongly encouraged to upgrade to the latest supported version.
Kazma is designed as a single-operator trusted-host agent by default:
| Profile | Ready when |
|---|---|
Localhost + strong KAZMA_SECRET + HITL on |
Recommended daily use |
Docker / LAN with KAZMA_PRODUCTION=1 |
After production hardening (see .env.example) |
| Public multi-user SaaS | Not the default threat model — needs IdP, opaque sessions, real tenancy |
Production flags (summary):
KAZMA_HOST=127.0.0.1default; non-loopback requires strong secretKAZMA_TRUST_LAN=0(default) — no LAN auto-cookieKAZMA_PRODUCTION=1— Docker code_exec, YOLO off (override:KAZMA_ALLOW_YOLO=1), workspace root requiredKAZMA_VAULT_KEY— encrypt secrets at rest- Never use the historical default secret
kazma-local-dev-secret
Multi-replica / multi-user (Phase 4):
- Shared state:
KAZMA_DATABASE_URL=postgresql://…+pip install -e ".[postgres]"— never share SQLite across replicas - Roles: viewer / operator / admin (
platform_rbac); OIDC viaKAZMA_OIDC_* - DR:
docs/ops/DISASTER_RECOVERY.md+scripts/backup_kazma.py/restore_kazma.py
The Kazma team takes the security of our software seriously. If you discover a security vulnerability, please report it responsibly through the channels below. Do not open a public GitHub issue for security vulnerabilities.
| Channel | Contact | Use Case |
|---|---|---|
| admin@kazma.ai | All vulnerabilities | |
| Signal | +1-XXX-XXX-XXXX | Critical / actively exploited |
- PGP Key: A PGP key for encrypting email reports is available at
https://kazma.ai/.well-known/security.txt. Always encrypt sensitive details. - Signal is preferred for critical vulnerabilities that are actively being exploited or have immediate impact on production deployments.
| Milestone | Target |
|---|---|
| Acknowledgment | 48 hours |
| Initial assessment | 7 days |
| Severity determination | 14 days |
| Patch release | 30 days |
| Public disclosure | 90 days |
We commit to acknowledging your report within 48 hours and providing an initial assessment within 7 days. If a patch takes longer, we will keep you informed of our progress.
To help us triage and respond quickly, please include as much of the following as possible:
- Description: A clear summary of the vulnerability and its potential impact.
- Reproduction steps: Step-by-step instructions to reproduce the issue, including any relevant configuration, commands, or API calls.
- Impact assessment: Your evaluation of the severity — who is affected, what data or systems are at risk, and whether exploitation is trivial or requires special conditions.
- Suggested fix (optional): If you have a recommendation for remediation, please include it.
- Affected version: The version(s) of Kazma where you observed the issue.
- Environment: Operating system, Python version, deployment method (Docker, bare metal, cloud).
The following components and attack surfaces are covered by this policy:
| Component | Description |
|---|---|
| Core engine | Task scheduling, session management, LLM dispatch |
| MCP client | Model Context Protocol client connections |
| Skill manifests | SKILL.md parsing, validation, and loading |
| Delegation protocol | Agent-to-agent communication and task handoff |
| RBAC / permissions | Role-based access control, tenant isolation |
| Configuration system | Config loading, secrets handling, provider keys |
| CLI interface | Command-line input handling, shell injection |
| Data persistence | Session DB, memory stores, SQLite operations |
| Network layer | API endpoints, webhook handlers, gateway sockets |
| Plugin system | Plugin loading, lifecycle, sandboxing |
- Third-party dependencies: Vulnerabilities in upstream packages should be reported to the respective maintainers. We will assist with coordination if needed.
- Social engineering: Attacks targeting Kazma maintainers, contributors, or users outside the software itself.
- Denial of service: Volume-based DoS attacks against hosted instances (though resource exhaustion bugs in the code are in scope).
- Physical security: Attacks requiring physical access to the deployment environment.
- Recently disclosed zero-days in LLM providers: Issues originating entirely within upstream model providers (OpenAI, Anthropic, etc.) are not in scope for our bounty, though we will help coordinate disclosure.
Kazma operates a bug bounty program to reward responsible security researchers. Bounties are paid in USD via the method of your choice after validation.
| Severity | Bounty Range | Criteria |
|---|---|---|
| Critical | $500–$2,000 | Remote code execution, full RBAC bypass, data exfiltration |
| High | $200–$500 | Privilege escalation, authentication bypass, significant info leak |
| Medium | $50–$200 | Limited information disclosure, CSRF, stored XSS |
| Low | Hall of Fame | Minor issues, defense-in-depth improvements, best-practice gaps |
- Reports must follow the disclosure process above (encrypted channel, no public disclosure before patch).
- One bounty per unique vulnerability. Duplicate reports go to the first reporter.
- Severity is determined at our sole discretion based on the CVSS framework and real-world impact.
- Contributors who report vulnerabilities are eligible for the Hall of Fame regardless of severity tier.
- Bounties are paid within 30 days of patch release.
All security fixes follow this pipeline:
Report → Acknowledge → Patch → CVE → Advisory → Notify
- Report: Researcher submits vulnerability via encrypted channel.
- Acknowledge: Team confirms receipt within 48 hours and assigns a tracking ID.
- Patch: Fix is developed, reviewed by at least two maintainers, and merged to the release branch.
- CVE: A CVE identifier is requested (if applicable) and associated with the fix.
- Advisory: A security advisory is published on GitHub and at
https://kazma.ai/security. - Notify: Affected users are notified via the mailing list, release notes, and (for critical issues) direct communication.
Patches for critical vulnerabilities may be backported to older supported versions at the team's discretion.
The following hardening measures are applied to all Kazma deployments:
- Secrets are never logged or committed. API keys, tokens, and PGP keys are stored outside version control and redacted from all log outputs.
- Input validation on all external surfaces. CLI arguments, API payloads, skill manifests, and configuration files are validated against schemas before processing.
- RBAC enforced at every access point. Tenant isolation and role-based permissions are checked before any data or action is exposed.
- Dependencies audited regularly. Automated scanning via OSV, GitHub
Advisories, and NVD runs every 24 hours (see
kazma-security.yaml). - Least-privilege execution. Agents run with minimal required permissions; skill sandboxes restrict filesystem and network access.
- Encrypted transport. All API and gateway communication uses TLS 1.2+. PGP is used for sensitive disclosure channels.
- Audit trail for privileged operations. All RBAC changes, config mutations, and security-relevant actions are logged immutably.
- Regular security reviews. At minimum quarterly reviews of the security configuration, dependency landscape, and incident response process.
For questions about this security policy, contact the Kazma security team:
- Email: admin@kazma.ai
- GitHub: github.com/kazma-dev/kazma (for non-sensitive inquiries only)
This policy is effective as of June 2026 and will be reviewed quarterly.