llmguard
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "llmguard" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-456c1e3ac7c7d1ee46690b078eaf7410e1ae20803fc153d4ffb3082c15b969d1. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/filter-prompts-and-model-outputs-for-injection-secrets-toxicity-and-policy-risks-with-llm-guard before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Used to screen prompts and responses with input and output scanners before LLM interactions reach production users or downstream systems.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Screen prompts and responses with input and output scanners before an LLM interaction reaches production users or downstream systems.
- Software, accounts and paid services
- Python 3.9+, application or agent code that can wrap LLM input and output handling
- Testing
- Not tested
Browse files
Frontmatter
name: "使用 LLM Guard 对注入、机密、毒性及政策风险的提示和模型输出进行过滤"
slug: "filter-prompts-and-model-outputs-for-injection-secrets-toxicity-and-policy-risks-with-llm-guard"
version: "1.0.0"
displayName: "使用 LLM Guard 对注入、机密、毒性及政策风险的提示和模型输出进行过滤"
summary: "在LLM交互到达生产用户或下游系统之前,使用输入和输出扫描器进行屏幕提示和响应。"
license: "MIT"
description: "在LLM交互到达生产用户或下游系统之前,使用输入和输出扫描器进行屏幕提示和响应。"
github_stars: 2831
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 2831使用 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:
- 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:
-
Extracted from upstream docs: https://raw.githubusercontent.com/protectai/llm-guard/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 LLM Guard 工具集成,用于过滤提示和模型输出中的注入、机密、毒性及政策风险
- 适用于生产环境中的 LLM 安全防护,具有明确的实用价值
Areas to improve
-
触发词不全 Reported severity: Minor
触发词较为宽泛,未具体说明适用场景的边界条件,存在一定歧义风险
Recommendation: 补充具体的使用场景和边界条件,提高触发精准度
Highlights
- description 字段提供了清晰的触发场景描述
Areas to improve
-
缺少 When to Use/示例章节 Reported severity: Minor
文档缺少具体的端到端使用示例和 Phase 划分
Recommendation: 补充具体的使用示例和 Phase 划分,提高文档的可读性和可执行性
Highlights
- 文档结构基本完整,包含前置条件、安装说明、文档链接等
- frontmatter 完整
Areas to improve
-
缺少异常处理 Reported severity: Minor
未覆盖主要异常处理(如网络错误、依赖冲突等),不可逆操作无确认机制
Recommendation: 补充异常处理逻辑和确认机制,提高执行可靠性
Highlights
- 工具来源明确(GitHub 仓库和 PyPI),参数说明清晰
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 32
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- img.shields.io
- protectai.github.io
- pypi.org
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Python 3.9+, application or agent code that can wrap LLM input and output handling
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.