read-x-markdown
Warn
Audited by Gen Agent Trust Hub on Jul 11, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The file
scripts/constants.tscontains a hardcoded Bearer token (DEFAULT_BEARER_TOKEN) used to authenticate requests to X's internal GraphQL API. - [COMMAND_EXECUTION]: The skill utilizes shell commands (
cat,test) withinSKILL.mdto verify user consent and preference files in local directories. Furthermore,scripts/cookies.tsspawns local browser processes (Chrome or Edge) usingnode:child_processto facilitate cookie extraction. - [DATA_EXFILTRATION]: The skill uses the Chrome DevTools Protocol (CDP) in
scripts/cookies.tsto programmatically extract active session cookies (auth_token,ct0,twid) from the user's browser. These cookies are saved to a local file (cookies.json) in the user's application data directory (~/Library/Application Support/or~/.local/share/). While used for authentication, this involves the programmatic harvesting and storage of sensitive session identifiers. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it ingests and processes untrusted user-generated content from X (tweets and articles) and converts it into markdown for the agent's context.
- Ingestion points: Tweet and article content retrieved from X via
scripts/graphql.tsandscripts/thread.ts. - Boundary markers: None; the content is interpolated directly into the markdown output without delimiters or warnings for the agent to ignore embedded instructions.
- Capability inventory: The skill has capabilities for file system modification (
writeFile,rename,mkdir), network access (fetch), and process spawning (spawn). - Sanitization: The ingested text is formatted into markdown using logic in
scripts/markdown.tsandscripts/thread-markdown.ts, but it is not sanitized or escaped to prevent the inclusion of malicious instructions.
Audit Metadata