v0.2.0 · live
CAPFRAME
← leaderboard/TweetSave MCP/tool · tweetsave_get_tweet
§ toolhttpTweetSave MCP

tweetsave_get_tweet

on https://mcp.tweetsave.org/mcp

Severity

critical0
high0
medium2
low0
info0

2 findings on this tool

  1. mediumunconstrained inputf-r1-tweetsave_get_tweet

    Tool `tweetsave_get_tweet` accepts unconstrained string input

    The following string parameter(s) have no `maxLength` constraint: `response_format`, `url`. Unbounded strings let an attacker stuff arbitrary payloads through the tool, including indirect-injection content.

    fix: Add a `maxLength` to each string property, or constrain with an `enum` or `pattern`. Most legitimate tool inputs fit under a few hundred bytes.

    OWASP LLM01NIST MEASURE-2.3ATLAS T0051
  2. mediumindirect injectionf-r6-tweetsave_get_tweet

    Tool `tweetsave_get_tweet` fetches external web content -- indirect-injection surface

    Description: "Fetch a single tweet with all its content including text, media (photos, videos, GIFs), polls, and engagement metrics. This tool retrieves tweet data from Twitter/X using the FxTwitter API. It returns the tweet content, author info, media URLs, and engagement stats. Args: - url (string): Tweet URL or tweet ID - response_format ('markdown' | 'json'): Output format (default: 'markdown') Returns: Tweet data including: - Author info (name, username, avatar) - Tweet text - Media URLs (photos, videos) - Engagement (likes, retweets, replies, views) - Poll data (if applicable) - Quote tweet (if applicable) Examples: - "Get tweet from https://x.com/elonmusk/status/123456" - "Fetch this tweet: 123456789" Note: Does not fetch replies. Use tweetsave_to_blog for a complete blog post with formatting." -- this tool pulls externally-controlled content into the agent's context window, the canonical indirect-injection vector. Even when the user supplies the URL, content at that URL can carry hostile instructions.

    fix: Sandbox the fetched content: strip prompts before forwarding to the model, constrain to an allow-list of domains, and route through capframe-guard with a `domain in [...]` caveat.

    OWASP LLM01NIST MEASURE-2.3ATLAS T0051

About this tool

tweetsave_get_tweet is one of 5 tools exposed by TweetSave MCP. The server scored 84/100 overall against the capframe rule engine (source: http). Last scanned 2026-06-05.

The findings above are emitted by the public capframe.findings.v1 schema. Disagree with one? Open an issue.