Back to skill

Security audit

Reddit Leads

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Reddit lead-search helper that calls reddapi.dev with a user-provided API key and does not install code, persist itself, or take outreach actions automatically.

Install only if you intend to use reddapi.dev and are comfortable sending your lead-search queries to that service under your own paid API key. Keep the key in your shell environment, do not paste it into chat, and review any drafted outreach yourself before sending.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (6)

External Script Fetching

High
Category
Supply Chain
Confidence
90% confidence
Finding

Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Content

Scanner excerpt · SKILL.md (reported line 131)May include surrounding context.

server-side does not exist. Filter client-side on lead_score instead:

bash
curl -s -X POST "https://reddapi.dev/api/v1/leads" \
  -H "$REDDAPI_AUTH" \
  -H "Content-Type: application/json" \
  -d '{"query": "people frustrated with project management tools", "limit": 50}' \

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 55)May include surrounding context.

md
- Reference the key **only** as `$REDDAPI_API_KEY`. Never substitute the literal
  value into a command, a file, a code block, or a reply.
- Never ask the user to paste, type, or send the key in chat. If they send it
  anyway, don't repeat it back, don't store it in a file, and suggest they rotate
  it at https://reddapi.dev/account.
- Never `echo`, `print`, log, or display the key or any part of it, and never write

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 60)May include surrounding context.

md
it at https://reddapi.dev/account.
- Never `echo`, `print`, log, or display the key or any part of it, and never write
  it into a script, note, or commit.
- If `$REDDAPI_AUTH` is not set, stop and say so. Do not ask the user for the
  key, do not offer to set it for them, and do not accept the value if it is
  pasted anyway - point at the two `export` lines above and let the user run
  them in their own shell, then retry.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 115)May include surrounding context.

Find scored, classified business leads from Reddit discussions.

bash
curl -X POST "https://reddapi.dev/api/v1/leads" \
  -H "$REDDAPI_AUTH" \
  -H "Content-Type: application/json" \
  -d '{"query": "people frustrated with project management tools", "limit": 20}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 131)May include surrounding context.

server-side does not exist. Filter client-side on lead_score instead:

bash
curl -s -X POST "https://reddapi.dev/api/v1/leads" \
  -H "$REDDAPI_AUTH" \
  -H "Content-Type: application/json" \
  -d '{"query": "people frustrated with project management tools", "limit": 50}' \

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 290)May include surrounding context.

Competitor Lead Mining

bash
# Find people ready to switch from your competitor
curl -X POST "https://reddapi.dev/api/v1/leads" \
  -H "$REDDAPI_AUTH" \
  -H "Content-Type: application/json" \
  -d '{"query": "founders looking to switch from Stripe alternatives", "limit": 20}'

Static analysis

No suspicious patterns detected.