/prodsec-skills:bidirectional-filteringfrom prodsec-skills
Deploys runtime guardrails for bidirectional prompt and response filtering in AI systems. Use for prompt injection protection, content filtering, and input/output safety controls.
Ships in prodsec-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A guardrails component SHOULD be deployed between the users/applications (or API gateway) and the models. This component acts as a gateway or proxy that inspects and acts on data flowing in both directions.
This skill refers to runtime guardrails (a deployed component), not model-level safety training.
Incoming prompts are raw or "tainted" input. The guardrails component analyzes them and applies rule-based actions:
| Action | Description |
|---|---|
| Block | Discard the prompt entirely, preventing it from reaching the model |
| Mask | Redact or obfuscate sensitive data (PII, credentials) before forwarding |
| Modify | Rewrite the prompt to remove dangerous patterns while preserving intent |
| Pass | Allow the prompt through unchanged |
Objectives:
Model responses are inspected before delivery to the user or application:
| Action | Description |
|---|---|
| Block | Suppress the response if it contains harmful or policy-violating content |
| Mask | Redact sensitive data the model may have included in its response |
| Modify | Remove or rewrite problematic portions of the response |
| Pass | Deliver the response unchanged |
Objectives:
User/App → API Gateway → Guardrails → Inference Engine → Model
↕ (inspects both directions)
User/App ← API Gateway ← Guardrails ← Inference Engine ← Model
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub redhatproductsecurity/prodsec-skills --plugin prodsec-skills130 skills in this plugin
/address-sanitizerAddressSanitizer detects memory errors during fuzzing. Use when fuzzing C/C++ code to find buffer overflows and use-after-free bugs.
/admin-interface-securitySecure the administrative interface of model registries. Use when building, deploying, or reviewing model registry access controls and admin interfaces./aflppAFL++ is a fork of AFL with better fuzzing performance and advanced features. Use for multi-core fuzzing of C/C++ projects.
Other plugins' skills for the same job