prompt-injection-defense — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited prompt-injection-defense (Agent Skill) and scored it 65/100 (yellow). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 4 high-severity and 2 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 6 flagged
The text {match} is the classic direct prompt-injection phrasing. Placed in a skill body that the agent reads as trusted instructions, it tries to make the agent abandon its prior rules and follow whatever comes next — a full system-prompt override.
ignore/disregard/forget … previous instructions sentence.The text {match} is the classic direct prompt-injection phrasing. Placed in a skill body that the agent reads as trusted instructions, it tries to make the agent abandon its prior rules and follow whatever comes next — a full system-prompt override.
ignore/disregard/forget … previous instructions sentence.The text {match} is the classic direct prompt-injection phrasing. Placed in a skill body that the agent reads as trusted instructions, it tries to make the agent abandon its prior rules and follow whatever comes next — a full system-prompt override.
ignore/disregard/forget … previous instructions sentence.The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Treat every byte the model reads as adversarial until proven otherwise.
Direct injection (user typing "ignore previous instructions") is the least dangerous variant. The real risk is indirect injection — instructions hidden in a web page, an email, a PDF, or a tool's response — that reach the model alongside trusted instructions and are obeyed without the user ever noticing.
There is no general defense against prompt injection — only defenses against specific threats. Name yours:
Defenses differ by threat. A wall against (1) is theatre against (2).
http://, system:, role tags) from untrusted inputs before they reach the model. Defense-in-depth, not a wall.Authorise actions, don't ask the model to refuse them. If a malicious instruction in a fetched document can cause an irreversible action, no amount of prompt-level defense is enough — fix the authorisation layer.
Prompt injection is the OWASP-top-10 of agents and the least-prepared-for. Direct injection is well-covered; indirect injection — instructions inside documents, web pages, tool outputs — is where production systems get compromised because the defenders weren't even modelling that threat. Naming the threat surfaces the defense.
references/threat-model.md — direct / indirect / tool-result / cross-user / plan-injection variants and example payloads.references/defenses.md — trust boundaries, two-model isolation, capability gating, output authorisation — when each helps.references/test-suite.md — a red-team prompt set you can run against your agent before shipping.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.