Security & Permissions
Security and Permissions Overview
User-facing security model for isolation, permissions, and secret protection
Security and Permissions Overview
ShipMyAgent security has three layers:
- Runtime isolation: one agent runtime is bound to one
projectRoot. - Permission control:
ship.json.permissionsdefines write/exec boundaries. - Data protection: model provider
apiKeyis encrypted in~/.ship/ship.db.
What to watch first
- Avoid stale
SMA_SERVER_HOST/SMA_SERVER_PORTin your shell, or requests may hit the wrong runtime. - Keep high-risk commands in
permissions.exec_command.deny(for examplerm). - In production, prefer
SMA_MODEL_DB_KEYfrom secret management.