Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

langchain-security-basics

Skill by jeremylongshore

Harden a LangChain 1.0 chain or LangGraph agent against prompt injection,\ \ tool\nabuse, PII leakage in traces, and secrets exfiltration \u2014 wrap user\ \ content in\nXML tags, enforce the tool allowlist via provider-native tool calling,\ \ redact\nPII in middleware upstream of cache and tracing, validate outputs with\ \ Pydantic,\nand lock down secrets behind a secret manager. Use when prepping for\ \ a security\nreview, responding to an incident, building a multi-tenant SaaS, or\ \ writing a\nthreat model.\nTrigger with \"langchain security\", \"prompt injection\ \ defense\",\n\"langchain tool allowlist\", \"langchain PII redaction\",\n\"langchain\ \ secrets management\".\n"

  • Score 77
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install langchain-security-basics

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/langchain-security-basics ~/.claude/skills/langchain-security-basics

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install langchain-security-basics in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

Alternatives to langchain-security-basics

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

langchain-security-basics: common questions

How do I install langchain-security-basics?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is langchain-security-basics free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is langchain-security-basics safe to use?

It scores 77 of 100. Grades: maintenance A, licence A, quality A. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to langchain-security-basics?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

langchain-security-basics Install

Add to stack

Loading.