Skip to content
Back to skills

Filter Prompts And Model Outputs For Injection Secrets Toxicity And Policy Risks With Llm Guard

ASecurity

Screen prompts and responses with input and output scanners before an LLM interaction reaches production users or downstream systems.

  • 36 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added June 8, 2026
ai-agentspythongogitsecuritydocumentation

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill filter-prompts-and-model-outputs-for-injection-secrets-toxicity-and-policy-risks-with-llm-guard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Filter Prompts And Model Outputs For Injection Secrets Toxicity And Policy Risks With Llm Guard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Filter Prompts And Model Outputs For Injection Secrets Toxicity And Policy Risks With Llm Guard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-filter-prompts-and-model-outputs-for-injection-sec/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-filter-prompts-and-model-outputs-for-injection-sec)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Filter prompts and model outputs for injection, secrets, toxicity, and policy risks with LLM Guard"
slug: "filter-prompts-and-model-outputs-for-injection-secrets-toxicity-and-policy-risks-with-llm-guard"
description: "Screen prompts and responses with input and output scanners before an LLM interaction reaches production users or downstream systems."
github_stars: 2831
verification: "security_reviewed"
source: "https://github.com/protectai/llm-guard"
author: "Protect AI"
publisher_type: "organization"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "protectai/llm-guard"
  github_stars: 2831
---

# Filter prompts and model outputs for injection, secrets, toxicity, and policy risks with LLM Guard

Screen prompts and responses with input and output scanners before an LLM interaction reaches production users or downstream systems.

## Prerequisites

Python 3.9+, application or agent code that can wrap LLM input and output handling

## Installation

Use the upstream install or setup path that matches your environment:
- pip install llm-guard

Requirements and caveats from upstream:
- [![PyPI - Python Version](https://img.shields.io/pypi/v/llm-guard)](https://pypi.org/project/llm-guard)
- Base functionality requires a limited number of libraries. As you explore more advanced features, necessary libraries
- Ensure you're using Python version 3.9 or higher. Confirm with: python --version.

Basic usage or getting-started notes:
- Begin your journey with LLM Guard by downloading the package:
- sh
- **Important Notes**:

- Source: https://github.com/protectai/llm-guard
- Extracted from upstream docs: https://raw.githubusercontent.com/protectai/llm-guard/HEAD/README.md

## Documentation

- https://protectai.github.io/llm-guard/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/filter-prompts-and-model-outputs-for-injection-secrets-toxicity-and-policy-risks-with-llm-guard/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.