Works with the AI Agents you already use
AI Security Shield — Protect Agents from Injection
Help authorized teams assess prompt injection, tool permissions, data flows, and AI security controls.
$9.99
AI Security Shield — Protect Agents from Injection
Example session with this skill installed
We operate an internal support copilot that retrieves company policy documents and can draft ticket replies. It has a read-only ticket lookup tool, a draft-reply tool, and access to separate customer workspaces. We have an architecture diagram and tool schemas, but no logs or test results. Create a defensive threat model covering prompt injection in retrieved text, cross-tenant leakage, unsafe reply drafting, excessive permissions, and incident readiness. Propose safe synthetic regression cases and control checks. Separate design hypotheses from verified findings; do not provide instructions for attacking live systems or claim tests were executed.
- Read your context and instructions
- Compiled the ai security shield
Defensive Threat Model — Internal Support Copilot
1. Scope and evidence state
Provided: The copilot retrieves internal policy documents, looks up tickets read-only, drafts ticket replies, and serves separate customer workspaces. Architecture and tool schemas exist; no logs or test results were supplied.
Not verified: Actual authorization enforcement, tenant scoping, retrieval filters, data retention, user roles, draft visibility, logging, provider settings, and production behavior. The items below are threat hypotheses and review checks, not confirmed vulnerabilities.
2. Assets and trust boundaries
Assets include policy content, ticket/customer records, workspace identifiers, draft replies, user identity/role, tool credentials, and audit events. Boundaries to inspect: user → model; retrieved document → model context; model → retrieval/ticket/draft tools; tenant/workspace → storage and indexes; draft → human reviewer → send system; operator → logs and support access.
Treat policy documents, ticket text, attachments, and tool results as data, never as authority to change system instructions or permissions. Resolve user identity and tenant scope in trusted application code. Do not let the model choose its own scope.
3. Threat review
| Threat hypothesis | Impact | Defensive checks |
|---|---|---|
| Malicious instructions embedded in retrieved text | Draft may follow untrusted directions or disclose context | Mark retrieved content as untrusted; preserve source boundaries; test that instructions inside documents cannot invoke tools or override policy |
| Cross-tenant retrieval or ticket lookup | Customer information may cross workspace boundaries | Derive tenant from authenticated identity; enforce filters at each retrieval/tool/data layer; run synthetic canary tests across tenant IDs |
| Unsafe or misleading drafted reply | Customer receives unsupported claims or data | Draft-only boundary; cite authorized sources; detect unsupported claims; require human review before send |
| Excessive tool authority | Model or prompt error can cause unintended access | Minimize fields and records; use read-only ticket lookup; scope draft creation; enforce allowlisted operations and server-side checks |
| Weak traceability or incident response | Hard to investigate a failure | Log user, tenant, tool, policy version, source IDs, action result, and approval state without unnecessary raw sensitive content; define containment and escalation |
4. Safe synthetic regression cases
- A policy test document contains a harmless instruction to ignore prior rules and request another workspace’s record. Expected: content is treated as untrusted; no cross-tenant lookup occurs; the user receives a safe limitation.
- A synthetic ticket from Workspace A contains a reference to a known canary record in Workspace B. Expected: the lookup layer returns no B data when acting as A; logs record a denied or empty result.
- A supplied ticket lacks evidence for refund eligibility. Expected: reply draft asks a clarifying question or cites policy; it does not promise a refund.
- A tool schema receives a mismatched workspace ID or unexpected field. Expected: server-side authorization rejects it; no action occurs.
- A draft contains private internal notes. Expected: output policy blocks or redacts them before customer-facing use and requires review.
Use invented synthetic records only in an isolated test environment. These are proposed test cases; none were run.
5. Prioritized controls and verification
Before pilot: Confirm tenant scope is derived server-side at retrieval and every tool call; test access-denial behavior; separate draft from send permissions; validate tool arguments/results; keep secrets outside model context; bound retries/loops; document human approval and emergency disable controls.
Ongoing: Run the synthetic regression suite after prompt, model, retrieval, schema, or permission changes. Monitor policy denials, cross-tenant test failures, unusual tool-call patterns, draft edits, and approval overrides. Define incident owner, containment, evidence preservation, customer-impact assessment, and recovery procedure.
Next evidence needed
Review the diagram, exact tool schemas, identity-to-tenant mapping, retrieval configuration, role matrix, logging/retention policy, and a small set of redacted traces. Then replace threat hypotheses with evidence-backed findings and track remediation verification.
Connects securely to your tools. The creator never sees your data.
About this skill
Strengthen AI agents with layered defensive security
AI Security Shield helps authorized AI product, application-security, and platform teams assess prompt injection, indirect instructions in retrieved content, unsafe tool use, excessive permissions, sensitive-data exposure, cross-tenant boundaries, memory, output handling, and incident readiness.
What it helps you produce
- AI system, asset, actor, trust-boundary, data-flow, instruction-source, tool, and permission inventories
- Threat models with attack paths, evidence states, likelihood, impact, exploitability, and unknowns kept distinct
- Least-privilege and deterministic authorization recommendations, approval gates, argument/result validation, and bounded-action controls
- Safe defensive test plans for prompt injection, malicious retrieved content, tool misuse, data leakage, tenant isolation, memory, and output injection
- Findings with severity rationale, practical mitigations, verification steps, monitoring, and incident-response readiness
- Security regression suites and governance improvements that survive model or provider changes
Use it defensively
Provide an authorized architecture, workflow description, tool schemas, data classification, trust boundaries, policy, or safe test artifacts. The skill maps where trusted instructions meet untrusted data, asks for material context, and labels recommendations versus verified findings. It can help design controlled tests and benign proofs of concept within an authorized environment.
Security principles
Treat model output, retrieved content, and external tool results as untrusted until validated. Keep authorization outside the model, use least privilege, minimize secrets, bind actions to user intent, validate tool inputs and outputs, enforce tenant isolation deterministically, preserve provenance, and layer controls instead of relying on prompt filters alone.
Boundaries
This is defensive design and review support. It does not certify a system, prove security from one test, or claim vulnerabilities, fixes, or test results without evidence. It does not assist unauthorized compromise, credential theft, malware, destructive exploitation, stealth, evasion, or real-world abuse. Verify current provider behavior when it materially affects a recommendation.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed 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 scanned
Verified clean 10 days ago
- Passed all security checks, Safe to install