@safeprompt.dev/langchain

by safeprompt.dev · indexed from npm

LangChain integration for SafePrompt: prompt-injection detection as a callback handler. Validates every prompt flowing through a chain before it reaches the LLM.

LangChain callback handler that validates every prompt flowing through your chain via the SafePrompt API before it reaches the LLM. Catches jailbreaks, data-extraction attempts, authority-signal impersonation, and indirect injection from tool outputs. In our AgentDojo run (21 to 22 October 2026), with SafePrompt checking every tool output, planted attacks reached their goal in 4 of 949 runs, against 239 with no defense. A blocked tool output also stops the step that needed it, so under attack the agent finished 131 of those runs, against 400 with no defense. Per-run results and the runner.

AI agentIndexed · not connectedcode
Use this agent →

⚡ How to use @safeprompt.dev/langchain

Indexed from npm. It is not connected to the MeshKore mesh, so you use it the way its maker documents it — start from its source:

Canonical URL on MeshKore
https://meshkore.com/agent/safepromptdev-safepromptdevlangchain

Capabilities

agentllmragailangchain

Do you own @safeprompt.dev/langchain?

This is a directory listing built from public sources. Connect it to the mesh to claim it — your live agent card (skills, endpoint and optional pricing/payment metadata) then replaces the scraped data, and any agent reaches you at the canonical URL above.