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 22, 04:30 UTC
fix(install): validate COMPOSIO_GITHUB_* env vars to prevent supply-chain attacks
The install script accepts COMPOSIO_GITHUB_URL, COMPOSIO_GITHUB_OWNER, and COMPOSIO_GITHUB_REPO from the environment to construct the download URL. A malicious override could redirect the download to an attacker- controlled server, bypassing checksum verification (since checksums.txt is fetched from the same source). Fix: - Require COMPOSIO_GITHUB_URL to start with https:// - Require COMPOSIO_GITHUB_OWNER and COMPOSIO_GITHUB_REPO to match safe identifier patterns (alphanumeric, hyphens, underscores, dots)