Back to skill

Security audit

Reddit API

Security checks for vulnerabilities and agentic risk

Overview

This markdown-only skill is a coherent guide for using a paid third-party Reddit data API, with no local code execution or persistence.

Before installing, be aware that Reddit search terms, subreddit names, post IDs, and usernames you request will be sent to reddit.fetcher.sh and may incur charges. Keep the bearer API key in environment variables or a secrets manager, avoid committing it in MCP configuration files, and do not send sensitive internal identifiers or regulated data as search terms unless that external data flow is approved.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill directs users to send search keywords, subreddit names, post IDs, and usernames to https://reddit.fetcher.sh but does not clearly warn that these user-supplied inputs are transmitted to an external third-party service. This can expose sensitive research topics, monitoring targets, or user interests to the provider and may violate privacy or data-handling expectations in agent workflows.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The MCP example includes a live-style bearer token placeholder directly in configuration without warning against hardcoding secrets. Users commonly copy such examples verbatim into checked-in config files, which can lead to secret leakage, account abuse, and paid API consumption by unauthorized parties.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
86% confidence
Finding

The documentation instructs use of a Bearer API key via environment variable and Authorization header but omits basic credential-handling guidance. Without warnings, users may copy keys into prompts, logs, source files, or shared configs, increasing the chance of accidental token exposure and unauthorized API usage.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.exposed_secret_literal

File appears to expose a hardcoded API secret or token.

Critical
Code
suspicious.exposed_secret_literal
Location
SKILL.md:42