@github-actions[bot]2w ago
fix(security): strip Composio OTP codes from Gmail responses
loading diff…
Strips 6-digit one-time codes from Gmail toolkit tool execution responses when the response body contains a Composio sign-in OTP message ("You requested to sign in to Composio"). This prevents credential leakage through tool execution results.
stripOtpCodes() utility that uses JSON.stringify replacer to recursively walk all string values in the response data\b\d{6}\b matches with ******🤖 Generated with Claude Code