x-undocumented-api
Pass
Audited by Gen Agent Trust Hub on Oct 11, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external web content from X.com and its content delivery network to extract API metadata.
- Ingestion points: The script
scripts/extract-x-graphql-endpoints.tsfetches the main X.com page and associated JavaScript bundles to identify current GraphQL operation IDs. - Boundary markers: There are no explicit delimiters or "ignore instructions" warnings applied to the data fetched from the external scripts before it is processed by the extraction logic.
- Capability inventory: The skill possesses network access (via fetch) and file system write capabilities (
Bun.write) to save the extracted metadata. - Sanitization: While the script performs CSV escaping for its output, the core logic relies on regular expressions to parse external JavaScript content, which could be influenced by maliciously crafted strings in the source data.
- [COMMAND_EXECUTION]: The skill provides a TypeScript utility (
scripts/extract-x-graphql-endpoints.ts) intended to be run by the agent or user. The script automates network requests to fetch remote web assets and performs local filesystem writes to generate dated inventory files. - [EXTERNAL_DOWNLOADS]: The extraction utility fetches current web bundles and configuration from X.com and its associated assets domain. These downloads are performed to verify rotating query IDs and ensure the agent uses the correct request structures for the target service.
Audit Metadata