adhikasp/mcp-reddit
A Model Context Protocol (MCP) server that provides tools for fetching and analyzing Reddit content.
5dcae6742a52mcp-reddit-server0.1.0 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- CRITICAL5 production dependencies have known vulnerabilities (worst: critical).
- HIGHTool
fetch_reddit_post_contentrequests any address by design: an agent steered by prompt injection can use it that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Limit where it can connect
fetch_reddit_post_contentcan request any address. Block access to internal hosts and cloud metadata endpoints. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
fetch_reddit_post_content, switch them off. - Update its vulnerable packages
Use
certifi2026.10.18 or later,dnspython2.9.2 or later,idna3.15 or later,requests2.33.0 or later and 1 more. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 2 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
fetch_reddit_post_contentNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Requests whose address comes from the tool's input: the agent decides where they go.
fetch_reddit_post_content2 calls
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses1 tool · fetch_reddit_post_content
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (2: 2 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
fetch_reddit_post_contenttool Fetch detailed content of a specific postNetworkoutside textRequests any address
Fetch detailed content of a specific post
Args:
post_id: Reddit post ID
comment_limit: Number of top level comments to fetch
comment_depth: Maximum depth of comment tree to traverse
Returns:
Human readable string containing post content and comments treefetch_reddit_hot_threadstool Fetch hot threads from a subreddit
Fetch hot threads from a subreddit
Args:
subreddit: Name of the subreddit
limit: Number of posts to fetch (default: 10)
Returns:
Human readable string containing list of post informationText the model reads (2)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
fetch_reddit_hot_threads tool
Fetch hot threads from a subreddit
Args:
subreddit: Name of the subreddit
limit: Number of posts to fetch (default: 10)
Returns:
Human readable string containing list of post informationfetch_reddit_post_content tool
Fetch detailed content of a specific post
Args:
post_id: Reddit post ID
comment_limit: Number of top level comments to fetch
comment_depth: Maximum depth of comment tree to traverse
Returns:
Human readable string containing post content and comments treeWhat we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 2 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 2 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 2 tool handlers traced
- Requests any address HIGH2 findings in fetch_reddit_post_content
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 2 tool handlers traced
- Tools that start processesNot seen in the traced code of 2 capabilities; 2 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 2 capabilities; 2 more call code the scanner could not follow, where it may happen
- Tools that call the network1 of 2 capabilities call the network; 1 more call code the scanner could not follow, where it may happen
Where the code is: 2 handlers in 1 file at commit 5dcae6742a52
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependencies CRITICAL5 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionfastmcp >=0.1.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 2 capabilities; 2 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (5 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
certifiPyPI 2024.8.30 CRITICAL 2 advisories 2026.10.18
- CRITICALGHSA-6q48-6c7w-9gw2 PYSEC-2026-4320certifi bundles emSign root CAs with compromised intermediate CA keys
- MEDIUMPYSEC-2026-4320 GHSA-6q48-6c7w-9gw2certifi bundles emSign root CAs with compromised intermediate CA keys
urllib3PyPI 2.2.3 HIGH 16 advisories 2.5.02.6.02.6.3+2 more
- HIGHGHSA-38jv-5279-wg99 CVE-2026-21441 PYSEC-2026-1996Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)
- HIGHGHSA-gm62-xv2j-4w53 CVE-2025-66418 PYSEC-2026-1998urllib3 allows an unbounded number of links in the decompression chain
- HIGHGHSA-2xpw-w6gg-jr37 CVE-2025-66471 PYSEC-2026-1994urllib3 streaming API improperly handles highly compressed data
- HIGHGHSA-qccp-gfcp-xxvc CVE-2026-44431 PYSEC-2026-141urllib3: Sensitive headers forwarded across origins in proxied low-level redirects
- HIGHGHSA-vxq7-64xx-v4gw CVE-2026-97689 PYSEC-2026-4177urllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
- HIGHGHSA-8988-9cw3-xx77 CVE-2026-97687 PYSEC-2026-4175urllib3: HTTPS proxy TLS configuration may be ignored or overridden
- MEDIUMPYSEC-2026-141 CVE-2026-44431 GHSA-qccp-gfcp-xxvcurllib3 is an HTTP client library for Python. From 1.23 to before 2.7.0, cross-origin redirects followed from the low-level API via ProxyManager.connection_from_url().urlopen(..., assert_same_host=False) still forward these sensitive headers. This vulnerability is fixed in 2.7.0.
- MEDIUMGHSA-pq67-6m6q-mj2v CVE-2025-50181 PYSEC-2026-1999urllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
- MEDIUMPYSEC-2026-1998 CVE-2025-66418 GHSA-gm62-xv2j-4w53urllib3 allows an unbounded number of links in the decompression chain
- MEDIUMPYSEC-2026-1996 CVE-2026-21441 GHSA-38jv-5279-wg99Decompression-bomb safeguards bypassed when following HTTP redirects (streaming API)
- MEDIUMPYSEC-2026-4175 CVE-2026-97687 GHSA-8988-9cw3-xx77urllib3: HTTPS proxy TLS configuration may be ignored or overridden
- MEDIUMPYSEC-2026-1994 CVE-2025-66471 GHSA-2xpw-w6gg-jr37urllib3 streaming API improperly handles highly compressed data
- MEDIUMGHSA-48p4-8xcf-vxj5 CVE-2025-50182 PYSEC-2026-1997urllib3 does not control redirects in browsers and Node.js
- MEDIUMPYSEC-2026-1997 CVE-2025-50182 GHSA-48p4-8xcf-vxj5urllib3 does not control redirects in browsers and Node.js
- MEDIUMPYSEC-2026-4177 CVE-2026-97689 GHSA-vxq7-64xx-v4gwurllib3: HTTPResponse.stream()/read_chunked() buffers an unbounded chunk-size line into memory
- MEDIUMPYSEC-2026-1999 CVE-2025-50181 GHSA-pq67-6m6q-mj2vurllib3 redirects are not disabled when retries are disabled on PoolManager instantiation
dnspythonPyPI 2.7.0 HIGH 2 advisories 2.9.02.9.2
- HIGHGHSA-45c3-73f7-pv4m CVE-2026-114605dnspython dns.name.from_wire_parser() excessive CPU use
- HIGHGHSA-vvf4-9x63-8xvv CVE-2026-128089dnspython has excessive memory and CPU use
requestsPyPI 2.32.3 MEDIUM 4 advisories 2.32.42.33.0
- MEDIUMPYSEC-2026-1872 CVE-2024-47081 GHSA-9hjg-9r4m-mvj7Requests vulnerable to .netrc credentials leak via malicious URLs
- MEDIUMPYSEC-2026-2275 CVE-2026-25645 GHSA-gc5v-m9x4-r6x2Requests is a HTTP library. Prior to version 2.33.0, the `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one. Standard usage of the Requests library is not affected by this vulnerability. Only applications that call `extract_zipped_paths()` directly are impacted. Starting in version 2.33.0, the library extracts files to a non-deterministic location. If developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.
- MEDIUMGHSA-gc5v-m9x4-r6x2 CVE-2026-25645 PYSEC-2026-2275Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function
- MEDIUMGHSA-9hjg-9r4m-mvj7 CVE-2024-47081 PYSEC-2026-1872Requests vulnerable to .netrc credentials leak via malicious URLs
idnaPyPI 3.10 MEDIUM 2 advisories 3.15
- MEDIUMPYSEC-2026-215 CVE-2026-45409 GHSA-65pc-fj4g-8rjxInternationalized Domain Names in Applications (IDNA) for Python provides support for Internationalized Domain Names in Applications (IDNA) and Unicode IDNA Compatibility Processing. In versions prior to 3.15, payloads such as `"\\u0660" * N` or `"\\u30fb" * N + "\\u6f22"` utilize the `valid_contexto` function prior to length rejection, and for high values of `N` will take a long time to process. This is the same issue as CVE-2024-3651, however the original remediation in 2024 was not a complete fix. A specially crafted argument to the `idna.encode()` function could consume significant resources. This may lead to a denial-of-service. Starting in version 3.14, the function rejects long inputs as soon as practicable prior to any further processing to minimize resource consumption. In version 3.15, this approach was extended to lesser used alternate functions (i.e. per-label conversions and codec support). A workaround is available. Domain names cannot exceed 253 characters in length. If this length limit is enforced prior to passing the domain to the `idna.encode()` function, it should no longer consume significant resources. This is triggered by arbitrarily large inputs that would not occur in normal usage, but may be passed to the library assuming there is no preliminary input validation by the higher-level application.
- MEDIUMGHSA-65pc-fj4g-8rjx CVE-2026-45409 PYSEC-2026-215Internationalized Domain Names in Applications (IDNA): Specially crafted inputs to idna.encode() can bypass CVE-2024-3651 fix
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp >=0.1.0 |
| Servers in the code | 1 (Reddit MCP) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2025-05-11 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | MIT |
| Created | 2024-12-20 |
| Topics | llm mcp model-context-protocol reddit |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.