Skip to content

Compétences

Skill Injection Defense

A practice-area skill: it carries legal knowledge (a doctrine, a regime, a review standard) and applies it to your material.

Compétences métierBy Ignacio Adrián LererPublished on Lawvable

What this skill does

Audits legal AI skills, prompts, workflows, MCP/tool instructions, and agent packages before they are trusted or installed. It detects prompt injection, hidden or hostile instructions, unsafe scripts, suspicious frontmatter, credential exposure, exfiltration paths, persistence mechanisms, cron/launchd hooks, unauthorized network calls, and supply-chain risk. Use it before adopting third-party or generated skills; before publishing a skill to a legal AI marketplace; when reviewing SKILL.md files, skill folders, scripts, references, MCP manifests, or automation instructions; or when a user asks whether an AI workflow is safe. Paste or upload the skill, prompt, MCP/tool instruction, etc you want to review. The auditor treats the material as untrusted data: it does not execute scripts, install packages, or obey commands embedded inside the reviewed content. It returns a verdict (approve, approve with constraints, rewrite, quarantine, or reject) plus the key risks and recommended remediation.

  • Injection
  • Defense
Get this skill on Lawvable

Free, and published by its author, not by HAQQ. The link leaves this site.

Where it runs, and how to install it

Agent Skills are a format, not a product feature: a folder with a SKILL.md and whatever files it needs. Nothing inside one is model-specific.

Claude
Drop the skill folder into ~/.claude/skills/, or upload it in Settings → Capabilities. Claude loads it when the description matches what you asked for.
Claude Code
Same folder, per-project instead: .claude/skills/ inside the repository, so the skill travels with the work rather than with the machine.
Any agent that reads SKILL.md
A skill is a folder with a SKILL.md and whatever files it needs. Nothing in the format is model-specific, so a runtime that reads the file reads the skill.

More from Ignacio Adrián Lerer

Skills that do related work

All legal AI skills