Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix(core): validate remote file destinations before downloading (#4621)
This PR: - builds on top of [#4487](https://github.com/ComposioHQ/composio/pull/4487) ([Glen review](https://app.tryglen.com/ComposioHQ/composio/pull/4487)) and carries forward the validation-before-download improvement from #4545. - moves `await this.buffer()` after destination validation and before directory creation, so invalid default filenames raise `ValidationError` without fetching content. - strengthens the existing invalid-path regression with a failing fetch mock and assertions that no request or directory creation occurs; adds a patch changeset for `@composio/core`. Validation: the seven invalid-path cases failed before the fix; all 103 focused `RemoteFile` and `safePath` tests pass afterward. Core typecheck (including type tests), focused Oxlint/Prettier checks, and agent-guidance, skill-routing, and changeset validators pass.