Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 08:30 UTC
ci(py): scope the MCP server advisory exception to workspace (#4918)
This PR: - scopes the CVE-2026-59951 exception to the Python workspace audit that includes CrewAI. - documents why the affected stateful MCP HTTP server transport is outside Composio's adapter execution path, the upstream dependency constraint, and the removal condition. - keeps the standalone provider audits unchanged and preserves `pip-audit --strict`. The [upstream advisory](https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-84m7-p3x7-pcfv) describes unbounded session retention in stateful Streamable HTTP servers. The Composio CrewAI adapter wraps `crewai.tools.BaseTool`; it does not start an MCP HTTP server. Inspection of the locked CrewAI 1.15.22 wheel found MCP client transports and no affected server implementation. Composio's MCP configuration calls target its hosted API. A dependency upgrade is currently blocked: both locked CrewAI 1.15.22 and the [latest published CrewAI 1.15.28 metadata](https://pypi.org/pypi/crewai/1.15.28/json) require `mcp~=1.28.1`, excluding the patched 1.30.0 release. This PR leaves dependency versions unchanged. Applications independently hosting an affected MCP server still need an upstream patch or mitigation; this exception applies to the repository's client-only integration. Validation: - Reproduced the existing Python 3.12 workspace audit failure: `mcp 1.28.1 CVE-2026-59951` was the single remaining finding. - Re-ran the same pinned `pip-audit==2.10.1` command with this exception: `No known vulnerabilities found, 6 ignored` (including the pre-existing Chroma exceptions/aliases). - `actionlint .github/workflows/py.audit.yml`, both repository guidance validators, and `git diff --check` passed. Only workflow configuration changes, so no runtime tests were added.