jeremylongshore/tons-of-skills-marketplace/langchain-security-basics
Harden a LangChain 1.0 chain or LangGraph agent against prompt injection, tool abuse, PII leakage in traces, and secrets exfiltration — wrap user content in XML tags, enforce the tool allowlist via provider-native tool calling, redact PII in middleware upstream of cache and tracing, validate outputs with Pydantic, and lock down secrets behind a secret manager. Use when prepping for a security review, responding to an incident, building a multi-tenant SaaS, or writing a threat model. Trigger with
Agent skill · version 0.0.0-main.1794343400.g0500b27 · from jeremylongshore/tons-of-skills-marketplace
Install
npx yarkr-cli add skill:jeremylongshore/tons-of-skills-marketplace/langchain-security-basicsWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:jeremylongshore/tons-of-skills-marketplace/langchain-security-basics
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:jeremylongshore/tons-of-skills-marketplace/langchain-security-basicsOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:jeremylongshore/tons-of-skills-marketplace/langchain-security-basicsWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.