twilio-communications
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill implements a web server (Flask) designed to process untrusted data from incoming HTTP requests via Twilio webhooks.
- Ingestion points: The
incoming_callandmenu_selectionfunctions inSKILL.mdprocess external data fromrequest.form(e.g., DTMF digits) andrequest.headers(signatures). - Boundary markers: The skill provides a
validate_twilio_requestdecorator that uses Twilio'sRequestValidatorto ensure the authenticity of the request source, establishing a cryptographic boundary. - Capability inventory: The skill is capable of initiating phone calls (
response.dial), generating voice synthesis (response.say), and sending SMS messages (client.messages.create). - Sanitization: The IVR logic employs strict literal string comparisons (e.g.,
digit == "1") to handle user input, which effectively prevents arbitrary user data from manipulating logic flow. - [SAFE]: The skill correctly manages sensitive credentials by utilizing environment variables (
os.environ["TWILIO_ACCOUNT_SID"],os.environ["TWILIO_AUTH_TOKEN"]) rather than hardcoding secrets in the script files. - [SAFE]: The provided patterns include robust request validation using Twilio's official validation mechanism to prevent unauthorized actors from triggering webhook endpoints.
Audit Metadata