telephony
Warn
Audited by Gen Agent Trust Hub on Sep 27, 2026
Risk Level: MEDIUMDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The helper script
scripts/telephony.pyreads from and writes to the sensitive.envfile located at~/.hermes/.envto store and retrieve provider credentials such as Twilio Account SIDs and API keys for Bland.ai and Vapi. - [INDIRECT_PROMPT_INJECTION]: The skill allows the agent to poll and read incoming SMS messages, which are untrusted external inputs that could contain malicious instructions designed to influence agent behavior.
- Ingestion points: Incoming SMS bodies are retrieved from the Twilio REST API via the
_twilio_inboxfunction inscripts/telephony.pyand presented to the agent. - Boundary markers: The skill does not implement delimiters or explicit "ignore embedded instructions" warnings when presenting message content to the agent.
- Capability inventory: The script allows the agent to send SMS messages, initiate outbound phone calls, and provision new phone numbers, providing a range of actions an attacker could attempt to trigger.
- Sanitization: While the script uses XML escaping for outbound TwiML content, it does not sanitize, filter, or validate the content of inbound SMS messages before they are ingested into the agent context.
Audit Metadata