| Version | Supported |
|---|---|
| main | Yes |
If you discover a security vulnerability in this project, please report it responsibly. Do not open a public GitHub issue.
Instead, please email opencode@microsoft.com with the following information:
- Description of the vulnerability.
- Steps to reproduce (or a proof-of-concept).
- Impact assessment.
- Any suggested remediation.
We will acknowledge receipt within 3 business days and provide a detailed response within 10 business days, including an expected timeline for a fix.
This demo pack is designed for local development and demo purposes. Review the following before deploying in any shared or production-like environment:
- The FastAPI UI server binds to
127.0.0.1by default. To expose on a shared network, setHOST=0.0.0.0— but only do this in trusted environments. - WebSocket connections are unauthenticated. Do not expose the UI port to untrusted networks.
- Foundry Local runs entirely on-device — no data leaves your machine.
- The API key (
FOUNDRY_API_KEY) in.env.exampleis a placeholder for local use only. Never commit real API keys.
- The demo accepts predefined task inputs only. If you extend the UI to accept user-provided prompts, ensure you sanitize and validate all inputs.
- The
/api/replayendpoint reads files from local disk. It validates that the path resolves within thedemos/directory and requires a.jsonlextension.
- Pin critical dependency versions in production deployments.
- Regularly audit dependencies with
pip auditor equivalent tools. - The
--preflag foragent-frameworkpackages installs pre-release versions; monitor for stable releases.
.envfiles are excluded from version control via.gitignore.- Never commit secrets, tokens, or API keys.
For security issues in Microsoft products (Agent Framework, Foundry Local), please use the Microsoft Security Response Center (MSRC) reporting process.