exa-cost-tuning
Pass
Audited by Gen Agent Trust Hub on Sep 12, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied search queries that are interpolated into API calls and used in logic branching, creating a surface for potential instruction injection through data.
- Ingestion points: The
queryparameter is ingested in various functions throughoutSKILL.md, includingcostAwareSearch,cachedSearch,deduplicateQueries, andselectCostEffectiveType. - Boundary markers: Absent. The skill does not implement delimiters or explicit instructions for the agent to ignore embedded commands within the search query.
- Capability inventory: The skill uses network operations via the
exa-jslibrary and performs shell command execution usingcurlto interact withapi.exa.ai(documented inSKILL.md). - Sanitization: Basic regex matching is used in
selectCostEffectiveTypeto determine search type, but there is no escaping or sanitization of external content before interpolation into API calls. - [DATA_EXFILTRATION]: The skill performs network requests to the official Exa API usage endpoint to monitor search limits and budget status.
- Evidence: The shell command
curl -s https://api.exa.ai/v1/usage -H "x-api-key: $EXA_API_KEY"inSKILL.mdinteracts with the service's management endpoint.
Audit Metadata