prompt-injection-defense— agent skill

prompt-injection-defense — independently scanned and version-tracked by SaferSkills.

by cobusgreyling·Agent Skill·github.com/cobusgreyling/agent-skills

Is prompt-injection-defense safe to install?

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.

Score
65/100
●●●●●●●○○○
↑ +0 since first scan (65 → 65)Re-scan~30s
Latest scan
ScannedJun 28, 2026 · 30d ago
Scans run1 over 90 days
Detectors55 checks · 5 categories
Findings2 warnings · 4 high
EngineSaferSkills 2b638c6
View methodology →
SaferSkills installs
This week0
This month0
All time0
CategoryWeightCategory scoreContribution
Securityprompt, exec, net, exfil, eval
35%
0
0.0 pts
Supply chainhash, typosquat, maintainer, lockfile
20%
100
20.0 pts
Maintenancestaleness, pinning, CI
15%
100
15.0 pts
TransparencySKILL.md, perms, README
15%
100
15.0 pts
Communityinstalls, verify, response
15%
100
15.0 pts

Findings & checks · 6 flagged

Securityscore 0 · 6 findings
HIGH"Ignore previous instructions" command embedded in the skillSS-SKILL-INJECT-IGNORE-01 · Prompt injection · skills/prompt-injection-defense/EXAMPLES.md
HIGHwhen it fires on hostile content the impact is full system-prompt override.
Why it matters

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.

The exact value spotted
excerptskills/prompt-injection-defense/EXAMPLES.md· markdown
6 
7**User prompt:**
8> "Our agent reads support tickets and summarises them. A user pasted 'IGNORE PREVIOUS INSTR
… (107 chars elided on L8)
9 
10**Expected behaviour:** Name it: **indirect injection via tool-result / ingested document**.
… (107 chars elided on L10)
Occurrences
1 occurrence · at L8
How to fix
Remove the override phrase, or rephrase the passage so it does not instruct the agent to discard its rules.
  1. Delete the ignore/disregard/forget … previous instructions sentence.
  2. If this is jailbreak-research or tutorial content, move the example into a clearly fenced, non-instruction block and label it as a quoted sample.
Framework references
OWASPLLM01ATLASAML.T0051
Trace & refs
ruleSS-SKILL-INJECT-IGNORE-01sha2566f257fed5028bb9erubric 365aacaView on GitHub
HIGH"Ignore previous instructions" command embedded in the skillSS-SKILL-INJECT-IGNORE-01 · Prompt injection · skills/prompt-injection-defense/SKILL.md×2
HIGHwhen it fires on hostile content the impact is full system-prompt override.
Why it matters

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.

The exact value spotted
excerptskills/prompt-injection-defense/SKILL.md· markdown
20Treat every byte the model reads as adversarial until proven otherwise.
21 
22Direct injection (user typing "ignore previous instructions") is the least dangerous variant
… (107 chars elided on L22)
23 
24## When to use this skill
Occurrences
2 occurrences · first at L22, also L65
Show all 2 locations
Line
File
L22
skills/prompt-injection-defense/SKILL.md
L65
skills/prompt-injection-defense/SKILL.md
How to fix
Remove the override phrase, or rephrase the passage so it does not instruct the agent to discard its rules.
  1. Delete the ignore/disregard/forget … previous instructions sentence.
  2. If this is jailbreak-research or tutorial content, move the example into a clearly fenced, non-instruction block and label it as a quoted sample.
Framework references
OWASPLLM01ATLASAML.T0051
Trace & refs
ruleSS-SKILL-INJECT-IGNORE-01sha2562e4221a7f996a729rubric 365aacaView on GitHub
HIGH"Ignore previous instructions" command embedded in the skillSS-SKILL-INJECT-IGNORE-01 · Prompt injection · skills/prompt-injection-defense/TRANSCRIPT.md
HIGHwhen it fires on hostile content the impact is full system-prompt override.
Why it matters

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.

The exact value spotted
excerptskills/prompt-injection-defense/TRANSCRIPT.md· markdown
42>
43> - "Tell the model to ignore injection." Soft. Bypassable.
44> - Regex for "ignore previous instructions". Trivially bypassable.
45> - One model reading and acting. No isolation = no real defense.
46> - Output classifier alone. A layer, not a wall.
Occurrences
1 occurrence · at L44
How to fix
Remove the override phrase, or rephrase the passage so it does not instruct the agent to discard its rules.
  1. Delete the ignore/disregard/forget … previous instructions sentence.
  2. If this is jailbreak-research or tutorial content, move the example into a clearly fenced, non-instruction block and label it as a quoted sample.
Framework references
OWASPLLM01ATLASAML.T0051
Trace & refs
ruleSS-SKILL-INJECT-IGNORE-01sha2562e4221a7f996a729rubric 365aacaView on GitHub
MEDIUMInstruction telling the agent not to ask for approvalSS-SKILL-INJECT-DONT-ASK-01 · Prompt injection · skills/prompt-injection-defense/SKILL.md
MEDIUMit fires on intent; the real damage depends on the host agent's own approval-gating.
Why it matters

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 exact value spotted
excerptskills/prompt-injection-defense/SKILL.md· markdown
88## The hard line
89 
90**Authorise actions, don't ask the model to refuse them.** If a malicious instruction in a f
… (108 chars elided on L90)
91 
92## Why this exists
Occurrences
1 occurrence · at L90
How to fix
Remove the approval-skipping instruction, or scope it narrowly to a specific safe, reversible action.
  1. Delete blanket "don't ask / no need to confirm" directives from the skill.
  2. If the skill is a genuine autonomous job, restrict the opt-out to a named non-destructive action rather than all actions.
Framework references
OWASPLLM01ATLASAML.T0051
Trace & refs
ruleSS-SKILL-INJECT-DONT-ASK-01sha256ce5204b52388d24frubric 365aacaView on GitHub
MEDIUMInstruction telling the agent not to ask for approvalSS-SKILL-INJECT-DONT-ASK-01 · Prompt injection · skills/prompt-injection-defense/TRANSCRIPT.md
MEDIUMit fires on intent; the real damage depends on the host agent's own approval-gating.
Why it matters

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 exact value spotted
excerptskills/prompt-injection-defense/TRANSCRIPT.md· markdown
62> 6. Are injection attempts **logged**, **alerted**, and **fed back** into the eval?
63>
64> **Hard line:** authorise actions, don't ask the model to refuse them. If a malicious instr
… (108 chars elided on L64)
65 
66---
Occurrences
1 occurrence · at L64
How to fix
Remove the approval-skipping instruction, or scope it narrowly to a specific safe, reversible action.
  1. Delete blanket "don't ask / no need to confirm" directives from the skill.
  2. If the skill is a genuine autonomous job, restrict the opt-out to a named non-destructive action rather than all actions.
Framework references
OWASPLLM01ATLASAML.T0051
Trace & refs
ruleSS-SKILL-INJECT-DONT-ASK-01sha256ce5204b52388d24frubric 365aacaView on GitHub
Supply chainscore 100 · 0 findings
All supply chain checks passedNo findings in this category for the latest scan.pass
Maintenancescore 100 · 0 findings
All maintenance checks passedNo findings in this category for the latest scan.pass
Transparencyscore 100 · 0 findings
All transparency checks passedNo findings in this category for the latest scan.pass
Communityscore 100 · 0 findings
All community checks passedNo findings in this category for the latest scan.pass
Vendor response · right of reply
Are you the maintainer? Submit a response →

Audit the pieces. Scan the whole. Decide.

~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.