social-inbox-agent
Pass
Audited by Gen Agent Trust Hub on Apr 8, 2026
Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFE
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection as it processes untrusted inbound messages from social media platforms and includes them in the LLM generation prompt. \n
- Ingestion points: Inbound DMs are fetched via the Late API in
scripts/dm-response-agent.js(line 198) and queried from the database inscripts/facebook-inbox-agent.js(line 219). \n - Boundary markers: Untrusted input is wrapped in simple double quotes within the prompt strings (e.g.,
\"${messageText}\"), which does not reliably prevent an attacker from escaping the context and injecting instructions. \n - Capability inventory: The agent can read and send messages across Instagram, Twitter, LinkedIn, YouTube, and Facebook, and has read/write access to a PostgreSQL message tracking table. \n
- Sanitization: No sanitization, filtering, or instruction-aware delimiters are used for the incoming message text. \n- [EXTERNAL_DOWNLOADS]: The skill connects to external services to perform its core functions. \n
- Communicates with the Late API at
zernio.comto manage social media conversations. \n - Interfaces with the Google Gemini API at
generativelanguage.googleapis.comfor content generation. \n- [CREDENTIALS_UNSAFE]: The database client configuration inscripts/facebook-inbox-agent.jsdisables SSL certificate validation. \n - Evidence: The
Clientinitialization (line 213) usesssl: { rejectUnauthorized: false }. This setting makes the connection vulnerable to man-in-the-middle attacks, potentially exposing sensitive database credentials or message content.
Audit Metadata