safety-scan

v2026.09.24

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.

GitHub
Install command
npx skhub add ruvnet/safety-scan
Markdown
SKILL.md

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
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

plugins/ruflo-aidefence/skills/safety-scan

Default branch

main

Latest commit

0a96fb8

Tree SHA

f154406