Skip to content

alivirgo/Major-AI-Skills / plugins/mas-ai-workflows/skills/agent-injection-boundary-test

agent-injection-boundary-test

Verified

Test authorized agents against indirect prompt injection in retrieved docs and tool outputs using paired clean/poison fixtures, synthetic canaries, and sandboxed tools. Evidence for these cases—not a claim injection is solved.

FileKindSize
SKILL.mdskill md4.3 KB
gemini.mdmarkdown654 B
gpt.mdmarkdown743 B
---
title: "Agent Injection Boundary Test (GPT & Codex)"
description: "Automate paired clean/poison RAG fixtures, canary assertions, and tool-call allow-list checks in CI sandboxes."
category: "AI Workflows / Security"
tags: ["prompt-injection", "owasp", "canary", "gpt-codex"]
---

# Agent Injection Boundary Test (GPT & Codex)

CI job: load paired fixtures → run agent with mocked tools → assert `CANARY` absent from outputs/args → assert disallowed tools not called → assert clean task score ≥ floor. Separate planner (tools) from reader (untrusted text) when implementing fixes. Destination allow-list for any egress tool.

> **MANDATORY**: Replay mode offline; never hit real payment/email. Document suite limits in the report.
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 323kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 323kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 323kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall