agentsclimarketplace

Prompt injection risk linter

Skill sisodiabhumca/agent-skills/skills/prompt-injection-risk-linter

Production-Ready Agent Skills : product analytics, growth experiments, CRM, research synthesis, postmortems, data contracts, SaaS spend, compliance, architecture maps, and LLM eval and many more.

Install
npx -y skills add sisodiabhumca/agent-skills --skill prompt-injection-risk-linter

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Vendor-neutral skill to lint agent prompts and untrusted retrieved content for prompt-injection risk patterns and missing safety boundaries.

SKILL.md

1.2 KB, as published. Nobody here has run it

When to invoke

  • You are building an agent that reads untrusted content (web pages, emails, tickets) and you want a pre-flight safety lint.
  • You want to add an automated check to prompt templates before deployment.

Inputs needed

  • --prompt path to a text file containing a system/developer prompt, or combined prompt template.
  • Optional: --retrieved path to a text file with representative untrusted content.

Workflow

  1. Detect common prompt-injection markers ("ignore previous instructions", requests to reveal hidden prompts, tool/credential exfiltration).
  2. Check for missing boundaries (no explicit statement that retrieved content is untrusted; no tool-use constraints).
  3. Emit a JSON report with severity, evidence snippets, and recommended mitigations.

Output format

  • JSON report written to --output.

Guardrails

  • Heuristics only: do not claim the prompt is safe/unsafe with certainty.
  • Avoid printing full prompt contents to stdout.

Reference code

  • prompt_injection_risk_linter.py implements a vendor-neutral lint with stdlib regex.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.