safety-scan
Scan inputs for prompt injection, unsafe content, and adversarial attacks using AIDefence. Use when processing untrusted input (user submissions, API payloads, webhook data, tool outputs) before passing it to a model or executing it.
npx skills add ruvnet/ruflo --skill safety-scan --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Safety Scan Scan content for prompt injection, jailbreak attempts, and unsafe patterns. ## When to use Before processing untrusted input (user submissions, API payloads, webhook data), scan it to detect prompt injection, adversarial content, or policy violations. ## Steps 1. **Quick safety check** — call `mcp__plugin_ruflo-core_ruflo__aidefence_is_safe` with the input text for a boolean safe/unsafe result 2. **Deep analysis** — call `mcp__plugin_ruflo-core_ruflo__aidefence_analyze` for detailed threat classification and confidence scores 3. **Full scan** — call `mcp__plugin_ruflo-core_ruflo__aidefence_scan` for comprehensive multi-layer scanning 4. **Train defenses** — call `mcp__plugin_ruflo-core_ruflo__aidefence_learn` with confirmed threats to improve detection 5. **View stats** — call `mcp__plugin_ruflo-core_ruflo__aidefence_stats` for detection rates and false positive metrics ## Threat categories - Prompt injection (direct and indirect) - Jailbreak attempts - Data exfiltration patterns - Instruction override attacks - Social engineering prompts
- When to use
- Steps
- Threat categories
What does the safety-scan skill do?
Scan inputs for prompt injection, unsafe content, and adversarial attacks using AIDefence. Use when processing untrusted input (user submissions, API payloads, webhook data, tool outputs) before passing it to a model or executing it.
How do I install it?
Run `npx skills add ruvnet/ruflo --skill safety-scan --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ruvnet/ruflo, a repository with 67,015 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.