Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
Sign inSign up free
catalog / Agentic capability / LangChain
⊕PluginAgentic capabilityFree

LangChain

The leading framework for building LLM-powered applications and agents with chains, tools, memory, and retrieval.

@ai-supply
Installs234k
⟳ upstream langchain-core==1.5.1 · updated 3d ago
↗ Source repository
← More Agentic capabilityAgentic capability leaderboard →How we grade security →Source ↗
! Grade B · 75/100 · ReviewSecurity assessment
✓No compromise signals31capabilities surfaced1known CVE6of 20 OWASP controls clear
Broad capability surfaceBroad capability surfaceInternal host / private infrastructure referencePotentially unbounded loop
scanned 19h ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

LangChain

LangChain is the most widely adopted framework for composing LLM-powered applications. It provides abstractions for chaining LLM calls, attaching tools and retrievers, managing conversation memory, and building full agentic loops — all through a composable, provider-agnostic API.

Key Features

  • Chains & LCEL — compose prompts, models, and output parsers with the LangChain Expression Language pipe syntax
  • Tool use — attach any callable as a tool; includes 100+ pre-built integrations (search, databases, APIs)
  • Memory — short-term buffer, summary, entity, and vector-store-backed long-term memory
  • Retrieval — document loaders, text splitters, vector store retrievers, and rerankers
  • Agents — ReAct, OpenAI Functions, and custom agent executors with streaming support
  • Callbacks — first-class tracing hooks for LangSmith, Arize, W&B, and more

Quick Start

pip install langchain langchain-openai
from langchain_openai import ChatOpenAI
from langchain_core.prompts import ChatPromptTemplate

llm = ChatOpenAI(model="gpt-4o")
prompt = ChatPromptTemplate.from_messages([
    ("system", "You are a helpful assistant."),
    ("user", "{question}")
])
chain = prompt | llm
response = chain.invoke({"question": "What is the capital of France?"})
print(response.content)

Install via ai-supply

npx ai-supply add langchain-agent-framework

Curated mirror of the open-source LangChain project (MIT). Install upstream from the repository.

Rating rank
#1
of 35 in Agentic capability
Install rank
#8
of 35 in Agentic capability
Security score
75/100 · B
review
Security rank
#23
of 35 in Agentic capability
Installs
234k
cat avg 186k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Agentic capability leaderboard →
! Security: Review · 7575/100 · grade Bscanned 19h ago
✓ no compromise signals32 risk-surface · 9/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · med confidence (static)
⚑ filesystem⚑ shell⚑ network⚑ secrets
egress → containers.dev, marketplace.visualstudio.com, codespaces.new, docs.github.com, img.shields.io, vscode.dev, aka.ms, code.visualstudio.com +29
mcp: docs-langchainmcp: reference-langchain

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM03Supply Chaincritical
Vulnerable/compromised dependencies, models or archives in the artifact.
•Vulnerable dependencies — 10 known vulnerabilities in: click@8.3.0, chromadb@1.5.9, click@8.3.1, setuptools@81.0.0 (CWE-1395)known CVE · -25 pts
⚠LLM01Prompt Injectionhigh
Adversarial instructions embedded in an artifact that hijack a downstream LLM.
•Prompt-injection phrasing — instruction-subversion language detected · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/load/test_secret_injection.py (CWE-77)expected
⚠LLM05Improper Output Handlinghigh
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — OS command execution · langchain-ai-langchain-fa7ce76/.github/tools/git-restore-mtime (CWE-78)expected
•Suspicious code patterns — dynamic code execution · langchain-ai-langchain-fa7ce76/.github/workflows/close_unchecked_issues.yml (CWE-95)expected
•Suspicious code patterns — dynamic os import · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/prompts/test_loading.pyexpected
•Suspicious code patterns — dynamic code execution; pickle deserialization · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/test_tools.py (CWE-95)expected
•Suspicious code patterns — destructive rm -rf / · langchain-ai-langchain-fa7ce76/libs/langchain/dev.Dockerfile (CWE-78)expected
⚠LLM06Excessive Agencyhigh
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 9 distinct host(s) · langchain-ai-langchain-fa7ce76/.devcontainer/README.mdexpected
•External endpoints declared — 3 distinct host(s) · langchain-ai-langchain-fa7ce76/.devcontainer/devcontainer.jsonexpected
•External endpoints declared — 6 distinct host(s) · langchain-ai-langchain-fa7ce76/.github/ISSUE_TEMPLATE/bug-report.ymlexpected
•External endpoints declared — 4 distinct host(s) · langchain-ai-langchain-fa7ce76/.github/ISSUE_TEMPLATE/config.ymlexpected
•External endpoints declared — 5 distinct host(s) · langchain-ai-langchain-fa7ce76/.github/ISSUE_TEMPLATE/feature-request.ymlexpected
•External endpoints declared — 1 distinct host(s) · langchain-ai-langchain-fa7ce76/.github/ISSUE_TEMPLATE/privileged.ymlexpected
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · langchain-ai-langchain-fa7ce76/.github/tools/git-restore-mtime (CWE-272)risk surface
•Broad capability surface — 4 high-impact capability categories referenced — verify least-privilege · langchain-ai-langchain-fa7ce76/.github/workflows/_release.yml (CWE-272)risk surface
•External endpoints declared — 2 distinct host(s) · langchain-ai-langchain-fa7ce76/.github/workflows/bump_uv_pin.ymlexpected
•External endpoints declared — 11 distinct host(s) · langchain-ai-langchain-fa7ce76/README.mdexpected
•Egress to a private/loopback host — 127.0.0.1 · langchain-ai-langchain-fa7ce76/libs/core/langchain_core/runnables/graph.py (CWE-918)expected
•Egress to a private/loopback host — 10.0.0.1, 172.16.0.1, 192.168.1.100, 127.0.0.1, 127.0.0.2, [::1] · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/test_ssrf_policy_transport.py (CWE-918)expected
•External endpoints declared — 15 distinct host(s) · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/test_ssrf_policy_transport.pyexpected
•Egress to a private/loopback host — 127.0.0.1, 192.168.1.1, 10.0.0.1, 172.16.0.1, 169.254.169.254, [::ffff:7f00:1], [::ffff:a9fe:a9fe] · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/test_ssrf_protection.py (CWE-918)expected
•Egress to an anonymous-paste / tunnel / OOB endpoint — webhook.site, abc123.ngrok.io · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/test_ssrf_protection.py (CWE-200)expected
•External endpoints declared — 16 distinct host(s) · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/test_ssrf_protection.pyexpected
•External endpoints declared — 8 distinct host(s) · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/utils/test_gateway.pyexpected
•External endpoints declared — 10 distinct host(s) · langchain-ai-langchain-fa7ce76/libs/langchain/README.mdexpected
⚠LLM07System Prompt Leakagemedium
Secrets, internal hosts or proprietary logic exposed in shipped prompts.
•Internal host / private infrastructure reference — shipped content references a private IP range or internal-only host · langchain-ai-langchain-fa7ce76/libs/core/langchain_core/_security/_policy.py (CWE-200)risk surface
⚠LLM10Unbounded Consumptionmedium
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · langchain-ai-langchain-fa7ce76/libs/core/langchain_core/document_loaders/base.py (CWE-835)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM02Sensitive Information DisclosurePassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
⚠ML06AI Supply Chaincritical
Compromised PyPI/npm packages, typosquats, unsafe serialized models.
•Vulnerable dependencies — 10 known vulnerabilities in: click@8.3.0, chromadb@1.5.9, click@8.3.1, setuptools@81.0.0 (CWE-1395)known CVE · -25 pts
⚠ML02Data Poisoninghigh
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
•Prompt-injection phrasing — instruction-subversion language detected · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/load/test_secret_injection.py (CWE-77)expected
⚠ML09Output Integrityhigh
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — OS command execution · langchain-ai-langchain-fa7ce76/.github/tools/git-restore-mtime (CWE-78)expected
•Suspicious code patterns — dynamic code execution · langchain-ai-langchain-fa7ce76/.github/workflows/close_unchecked_issues.yml (CWE-95)expected
•Suspicious code patterns — dynamic os import · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/prompts/test_loading.pyexpected
•Suspicious code patterns — dynamic code execution; pickle deserialization · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/test_tools.py (CWE-95)expected
•Suspicious code patterns — destructive rm -rf / · langchain-ai-langchain-fa7ce76/libs/langchain/dev.Dockerfile (CWE-78)expected
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (16) · hygiene / uncategorized
•Unrecognized file type — '.dockerignore' is not on the allowlist · langchain-ai-langchain-fa7ce76/.dockerignorerisk surface
•Unrecognized file type — '.editorconfig' is not on the allowlist · langchain-ai-langchain-fa7ce76/.editorconfigrisk surface
•Unrecognized file type — '.gitattributes' is not on the allowlist · langchain-ai-langchain-fa7ce76/.gitattributesrisk surface
•Unrecognized file type — '.?' is not on the allowlist · langchain-ai-langchain-fa7ce76/.github/CODEOWNERSrisk surface
•Unrecognized file type — '.gitignore' is not on the allowlist · langchain-ai-langchain-fa7ce76/.gitignorerisk surface
•Unrecognized file type — '.cff' is not on the allowlist · langchain-ai-langchain-fa7ce76/CITATION.cffrisk surface
•Suspicious network references — raw IP URL (3 URLs) · langchain-ai-langchain-fa7ce76/libs/core/langchain_core/runnables/graph.pyrisk surface
•Suspicious network references — raw IP URL (4 URLs) · langchain-ai-langchain-fa7ce76/libs/core/langchain_core/runnables/graph_mermaid.pyrisk surface
•Possible obfuscation — large base64 blob paired with a decode/execute sink · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/messages/test_utils.py (CWE-506)risk surface
•Unrecognized file type — '.ambr' is not on the allowlist · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/prompts/__snapshots__/test_chat.ambrrisk surface
•Suspicious network references — raw IP URL (24 URLs) · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/test_ssrf_policy_transport.pyrisk surface
•Suspicious network references — raw IP URL (40 URLs) · langchain-ai-langchain-fa7ce76/libs/core/tests/unit_tests/test_ssrf_protection.pyrisk surface
•Unrecognized file type — '.flake8' is not on the allowlist · langchain-ai-langchain-fa7ce76/libs/langchain/.flake8risk surface
•Unrecognized file type — '.dockerfile' is not on the allowlist · langchain-ai-langchain-fa7ce76/libs/langchain/dev.Dockerfilerisk surface
•Unrecognized file type — '.xslt' is not on the allowlist · langchain-ai-langchain-fa7ce76/libs/langchain/langchain_classic/document_transformers/xsl/html_chunks_with_headers.xsltrisk surface
•Unrecognized file type — '.gbnf' is not on the allowlist · langchain-ai-langchain-fa7ce76/libs/langchain/langchain_classic/llms/grammars/json.gbnfrisk surface
✔ verified source · pinned langchain-ai-langchain-fa7ce76
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/langchain-agent-framework/check). Click a policy:

Consume LangChain programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/langchain-agent-framework

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/langchain-agent-framework/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add langchain-agent-framework

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/langchain-agent-framework/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "langchain-agent-framework" })
OpenAPI spec →
vlatest
! Security: Review · 751mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

Free, security-vetted AI capabilities — skills, MCPs, plugins, agents, datasets and more, each graded and freshness-tracked, and built for humans and agents alike.

api · v3.1status · all green
Contact
support@ai-supply.storesecurity@ai-supply.store
Catalog
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
  • Security
  • Scan a repo
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
Account
  • Create account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy