security-guardrails

Enforce guardrails against prompt injection and PII leakage in mortgage plugin conversations.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/dr-code/beacon --skill security-guardrails-dr-code
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: security-guardrails
Source: https://github.com/dr-code/beacon/tree/main/plugins/mortgage/skills/security-guardrails
Command: npx skills add https://github.com/dr-code/beacon --skill security-guardrails-dr-code

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Adversarial defense layer for the mortgage plugin — protects against prompt injection, system prompt extraction, PII leakage, workflow bypass, and social engineering attacks.

Core Features & Use Cases

  • Defends against prompt injection in uploaded documents and conversation
  • Prevents system prompt extraction and internal configuration disclosure
  • Enforces workflow phase ordering and protects business logic and PII

Quick Start

Configure the mortgage plugin guardrails to block prompt injections and alert on PII exposure during document processing.

Frequently Asked Questions about security-guardrails

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent prompt injection in mortgage document processing workflows?▼

You prevent prompt injection in mortgage document processing by applying deterministic policy checks across uploaded documents and chat interactions, enforcing strict data handling to block adversarial manipulation attempts.

What is the best way to stop PII leakage during mortgage plugin conversations?▼

The best way to stop PII leakage during mortgage plugin conversations is to apply an adversarial defense layer that enforces role-agnostic behavior and alerts on personal identifiable information exposure during workflow steps.

Does this guardrail approach defend against system prompt extraction and social engineering?▼

Yes, this defense mechanism protects against system prompt extraction and social engineering by implementing strict data handling rules and deterministic policy checks that prevent internal configuration disclosure.

Can I enforce workflow phase ordering to protect business logic in mortgage applications?▼

You can enforce workflow phase ordering to protect mortgage business logic by applying deterministic policy checks that prevent workflow bypass and ensure role-agnostic behavior across all processing steps.

What are the limitations of using deterministic policy checks for mortgage chat security?▼

Deterministic policy checks for mortgage chat security require strict configuration to avoid blocking legitimate workflow steps, meaning guardrails must be precisely tuned to balance security with conversational flexibility.

When do I need adversarial defense for uploaded mortgage documents?▼

You need adversarial defense for uploaded mortgage documents when processing sensitive borrower data, requiring protection against prompt injection, data leakage, and social engineering attacks during automated document analysis.