If you discover a security vulnerability in agentscope-go, please report it responsibly.
Do NOT open a public GitHub issue for security vulnerabilities.
Instead, please email: security@agentscope.io
Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
We will acknowledge receipt within 48 hours and aim to provide a fix or mitigation within 7 days for critical issues.
| Version | Supported |
|---|---|
main |
Yes. Receives fixes first |
v2.0.12 (latest tag) |
Best effort, critical fixes only |
v2.0.11 and earlier |
No. Upgrade using the module migration notes |
agentscope-go includes tools that can execute shell commands (Bash tool) and read/write files. When deploying agents in production:
- Use the Permission Engine to control tool access (prefer
ExploreorDefaultmode overBypass) - Use workspace sandboxing for untrusted tool execution:
DockerWorkspace,K8sWorkspace, orBubblewrapWorkspaceon Linux, andAppleContainerWorkspaceon macOS. Cloud sandboxes (E2BWorkspace,OpenSandboxWorkspace,DaytonaWorkspace) move the trust boundary to the vendor, so verify their isolation guarantees yourself. No backend in this repo enforces network allowlists or resource limits; see STABILITY.md, Open hardening work - Never expose the Agent Service HTTP endpoints without authentication
- Rotate API keys regularly and use
SecretStrto prevent key leakage in logs
By-design capabilities, existing mitigations, and false positives in the code-scanning tab are recorded in docs/code-scanning-dispositions.md, which is cited when such an alert is dismissed. Confirmed exploitable issues are still reported privately as above.