Security guardrails

From davepoon/buildwithclaude · View interactive version

Security guardrails is an AI agent skill from the GitHub repository davepoon/buildwithclaude. Adversarial defense layer for the mortgage plugin — protects against prompt injection, system prompt extraction, PII leakage, workflow bypass, and social engineering attacks.

How to use this skill

Skill file

Security Guardrails

Cross-cutting security layer that defends the mortgage plugin from misuse and manipulation. Protects against prompt injection in documents, conversational manipulation, authority impersonation, and unauthorized information disclosure.

When to Use This Skill

What This Skill Does

  1. Defends against prompt injection in uploaded documents and conversation
  2. Prevents system prompt extraction and internal configuration disclosure
  3. Protects business logic (margins, scoring algorithms, API endpoints)
  4. Enforces workflow phase ordering (data collection before pricing before analysis)
  5. Blocks PII collection in chat (SSN, DOB, bank accounts, passwords)
  6. Resists social engineering (authority impersonation, urgency tactics, emotional manipulation)
  7. Maintains scope boundaries (mortgage refinance only)

Security Principles

Installation

This skill is part of the mortgage plugin. Install via:

/plugin marketplace add lendtrain/mortgage
/plugin install mortgage@mortgage

Full source: github.com/lendtrain/mortgage

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.