reddapi
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes
curlto interact with the reddapi.dev API endpoints. It also demonstrates using apython3one-liner to parse and format JSON response data locally for the user. - [INDIRECT_PROMPT_INJECTION]: The skill handles untrusted third-party content from Reddit search results, creating a potential surface for indirect prompt injection. It proactively addresses this with high-quality mitigations:
- Ingestion points: Untrusted data enters the agent context via the
title,content, andcommentfields of Reddit posts returned by the API (SKILL.md). - Boundary markers: The agent is explicitly instructed to visually separate result content from its own reasoning using blockquotes or fenced code blocks to prevent context confusion.
- Capability inventory: The skill has access to tool-based HTTP requests via
curland local data processing viapython3(SKILL.md). - Sanitization: Explicit instructions (SKILL.md) prohibit interpreting result text as commands or using them to trigger tool calls, file writes, or follow-up requests.
- [PROMPT_INJECTION]: The skill contains phrases like "ignore previous instructions," but these are used in a defensive context to teach the agent to disregard malicious prompts embedded in Reddit user content. Additionally, the instruction to never repeat API keys is a standard safety measure for credential protection and not an attempt at malicious concealment.
Audit Metadata