tuzi-danger-x-to-markdown
Fail
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: HIGHCREDENTIALS_UNSAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill contains a hardcoded authentication token in
scripts/constants.ts:DEFAULT_BEARER_TOKEN = "Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA". - [CREDENTIALS_UNSAFE]: The skill accesses sensitive environment variables
X_AUTH_TOKEN,X_CT0,X_GUEST_TOKEN, andX_TWIDinscripts/cookies.tsto manage X session authentication. - [DATA_EXPOSURE]: The skill reads and writes sensitive session cookies to local JSON files at
~/Library/Application Support/tuzi-skills/x-to-markdown/cookies.jsonor~/.local/share/tuzi-skills/x-to-markdown/cookies.jsonas seen inscripts/cookie-file.tsandscripts/paths.ts. - [COMMAND_EXECUTION]: The skill launches the system's web browser process using
child_process.spawnwith a custom user data directory to extract cookies via the Chrome DevTools Protocol (CDP) inscripts/cookies.ts. - [COMMAND_EXECUTION]: The skill executes shell commands using
execSyncto interact with the Windows environment (via WSL) inscripts/paths.ts, runningcmd.exe /C "echo %USERPROFILE%"andwslpath. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from X (tweets and articles) which is then converted to Markdown. This creates a vulnerability surface for indirect prompt injection as the agent is expected to read the resulting files.
- Ingestion points: Fetches content from
x.comandtwitter.cominscripts/graphql.ts. - Boundary markers: No explicit instructions are provided to the agent to treat the converted Markdown content as untrusted data.
- Capability inventory: The skill possesses capabilities for writing files (
scripts/main.ts), executing shell commands (scripts/paths.ts), and launching browser processes (scripts/cookies.ts). - Sanitization: Content is escaped for Markdown formatting, but the underlying text is processed without safety filtering for potential instructions.
Recommendations
- AI detected serious security threats
Audit Metadata