exa-migration-deep-dive
Pass
Audited by Gen Agent Trust Hub on Sep 12, 2026
Risk Level: SAFEDYNAMIC_CONTEXT_INJECTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_CONTEXT_INJECTION]: The skill uses shell execution placeholders (
!command) withinSKILL.mdto perform environment checks at load time. Specifically, it executesnpm listcommands to determine if theexa-jsSDK or competing search providers are currently installed. These are diagnostic in nature and do not access sensitive files or perform network exfiltration. - [EXTERNAL_DOWNLOADS]: The skill includes instructions to install the
exa-jspackage vianpm install. This is the official client library for the Exa neural search service, which is a well-known AI search provider, and is consistent with the skill's stated purpose of facilitating migration. - [INDIRECT_PROMPT_INJECTION]: The skill documents code patterns for ingesting untrusted data from external search results via the
exa.searchAndContentsAPI. - Ingestion points: Data enters the agent's context through search results (
highlightsandtextfields) as shown in theExaSearchAdapterimplementation inSKILL.md. - Boundary markers: None are present in the provided code snippets to delimit the external search content from instructions.
- Capability inventory: The skill environment allows for
Bash(npm:*)andBash(node:*)execution, as well as fileRead,Write, andEditoperations. - Sanitization: The adapter code uses
substring(0, 300)for basic length truncation, but does not perform escaping or instruction filtering on the retrieved content.
Audit Metadata