add-gmail
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill defines a tool to read external email content, creating a vulnerability surface where malicious instructions in emails could influence agent behavior.\n
- Ingestion points: Gmail message content via the
gmail_readtool described inSKILL.md.\n - Boundary markers: The instructions do not define specific delimiters or instructions to the agent to treat email content as untrusted data.\n
- Capability inventory: The agent has access to powerful tools such as
run_code,write_file, andinstall_pkgas listed in the skill frontmatter.\n - Sanitization: The skill performs basic sanitization by stripping HTML and truncating body text to 500 characters.\n- [EXTERNAL_DOWNLOADS]: The skill installs the
googleapislibrary via npm. This is a well-known official dependency for Google service integration and is considered a safe source.\n- [DYNAMIC_EXECUTION]: The skill generates tool logic insrc/tools/gmail.tsat runtime based on the provided instructions. This mechanism of script generation and registration is a standard form of dynamic execution for adding capabilities.
Audit Metadata