More screenshots
Works with the AI Agents you already use
RepoTrap: Prompt-Injection & Repo Trap Scanner
Scan cloned repos, skills, GitHub issues & transcripts for invisible Unicode and prompt-injection traps
$6
RepoTrap: Prompt-Injection & Repo Trap Scanner
Example session with this skill installed
Scan my installed skills, local repos, and Claude Code / Codex transcripts with repotrap and check for invisible Unicode steganography or repo-open execution traps.
- Read your context and instructions
- Compiled the repotrap
RepoTrap Audit Summary
Scanned 525 installed skills, 16 workspace repos, and 153 Claude Code & Codex CLI sessions (Safety Score: 64/100, Grade C).
| Metric | Raw Regex | RepoTrap Filtered |
|---|---|---|
<system-reminder> hits | 1,526 | 0 untrusted (1,526 native attachment rows filtered via RTR012) |
| Zero-width chars in tool outputs | 4 | 142 across 15 outputs in 5 sessions (including Codex nested object outputs via RTR011) |
| Skill remote shell pipes (`curl | sh`) | 1 |
Connects securely to your tools. The creator never sees your data.
About this skill
Running coding agents on untrusted repositories or third-party issues exposes your environment to indirect prompt injection and malicious configuration traps. This skill audits local files, GitHub PRs, and session history to neutralize these threats before execution.
What it does
- Repo-Open Trap Detection flags malicious configurations in
.claude/settings.json,.mcp.json, and.vscode/tasks.jsonthat execute code on folder open. - Steganography Scanning identifies invisible Unicode tags, Bidi overrides, and zero-width spaces used to hide instructions from humans while hijacking LLMs.
- Delimiter Spoofing Audit detects fake
<system-reminder>,</tool_result>, or hidden HTML comments designed to bypass agent guardrails. - Transcript Analysis parses
.jsonlsession history from Claude Code or Codex to find evidence of past injection attempts. - Automated Sanitization generates a
PostToolUsehook to strip malicious patterns from tool outputs in real-time.
How it works
- Audit Workspace by running the scanner against local repositories or installed
SKILL.mdpackages to find dormant configuration traps. - Scan External Input using the
--gh-issueflag to inspect untrusted GitHub issues or PR bodies before allowing an agent to ingest them. - Install Hook by emitting the deterministic sanitizer script and merging it into your agent settings to provide persistent protection.
Frameworks & tools
The skill uses a zero-dependency Node.js scanner compatible with Claude Code, Cursor, and Codex CLI environments. It integrates with the GitHub CLI for remote issue auditing.
Why this beats prompting it yourself
LLMs are inherently susceptible to the very injections they are trying to detect, especially invisible Unicode. This skill uses deterministic regex and hex-value scanning that cannot be bypassed by "ignore previous instructions" prompts.
Use cases
- Auditing a cloned repository before opening it in an agent-enabled IDE.
- Pre-scanning GitHub issues from unknown users before using
gh issue view. - Cleaning session transcripts to prevent poisoning of long-term agent memory.
- Enforcing safety standards across a team of developers using coding assistants.
Known limitations
Requires Node.js for scanner execution. GitHub issue scanning requires the GitHub CLI (gh) to be authenticated and installed.
Requires Node.js environment. GitHub issue scanning requires authenticated GitHub CLI (gh). Scanner is deterministic and may flag legitimate Unicode in non-English documentation as false positives.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 11 days ago
Requires