Skip to content

The agent engineering platform.

chore(infra): update security.md file (#34258)

Eugene Yurtsev2aa055594157
diff --git a/SECURITY.md b/SECURITY.md
index c35d934219..7584650e67 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -26,47 +26,32 @@ If you're building applications that access external resources like file systems
## Reporting OSS Vulnerabilities
-LangChain is partnered with [huntr by Protect AI](https://huntr.com/) to provide
-a bounty program for our open source projects.
-
-Please report security vulnerabilities associated with the LangChain
-open source projects at [huntr](https://huntr.com/bounties/disclose/?target=https%3A%2F%2Fgithub.com%2Flangchain-ai%2Flangchain&validSearch=true).
-
-Before reporting a vulnerability, please review:
-
-1) In-Scope Targets and Out-of-Scope Targets below.
-2) The [langchain-ai/langchain](https://docs.langchain.com/oss/python/contributing/code#repository-structure) monorepo structure.
-3) The [Best Practices](#best-practices) above to understand what we consider to be a security vulnerability vs. developer responsibility.
-
-### In-Scope Targets
-
-The following packages and repositories are eligible for bug bounties:
-
-* langchain-core
-* langchain (see exceptions)
-* langchain-community (see exceptions)
-* langgraph
-* langserve
-
-### Out of Scope Targets
-
-All out of scope targets defined by huntr as well as:
-
-* **langchain-experimental**: This repository is for experimental code and is not
- eligible for bug bounties (see [package warning](https://pypi.org/project/langchain-experimental/)), bug reports to it will be marked as interesting or waste of
- time and published with no bounty attached.
-* **tools**: Tools in either `langchain` or `langchain-community` are not eligible for bug
- bounties. This includes the following directories
- * `libs/langchain/langchain/tools`
- * `libs/community/langchain_community/tools`
- * Please review the [Best Practices](#best-practices)
- for more details, but generally tools interact with the real world. Developers are
- expected to understand the security implications of their code and are responsible
- for the security of their tools.
-* Code documented with security notices. This will be decided on a case-by-case basis, but likely will not be eligible for a bounty as the code is already
- documented with guidelines for developers that should be followed for making their
- application secure.
-* Any LangSmith related repositories or APIs (see [Reporting LangSmith Vulnerabilities](#reporting-langsmith-vulnerabilities)).
+Please report security vulnerabilities associated with the LangChain open source projects using the following process:
+
+1. **Submit a security advisory** through [GitHub's Security tab](../../security) in the repository where the vulnerability exists
+2. **Send an email** to `[email protected]` notifying us that you've filed a security issue and which repository it was filed in
+
+Before reporting a vulnerability, please review the [Best Practices](#best-practices) above to understand what we consider to be a security vulnerability vs. developer responsibility.
+
+### Bug Bounty Eligibility
+
+We welcome security vulnerability reports for all LangChain libraries. However, we may offer ad hoc bug bounties only for vulnerabilities in the following packages:
+
+* Core libraries owned and maintained by the LangChain team: `langchain-core`, `langchain` (v1), `langgraph`, and related checkpointer packages (or their JavaScript equivalents)
+* Popular integrations maintained by the LangChain team (e.g., `langchain-openai`, `langchain-anthropic`, etc., or their JavaScript equivalents)
+
+The vulnerability must be in the library code itself, not in example code or example applications.
+
+We welcome reports for all other LangChain packages and will address valid security concerns, but bug bounties will not be awarded for packages outside this scope. This includes `langchain-community`, which due to its community-driven nature is not eligible for bug bounties, though we will accept and address reports.
+
+### Out of Scope
+
+The following are out-of-scope for security vulnerability reports:
+
+* **langchain-experimental**: This repository is for experimental code and is not in scope for security reports (see [package warning](https://pypi.org/project/langchain-experimental/)).
+* **Examples and example applications**: Example code and demo applications are not in scope for security reports.
+* **Code documented with security notices**: This will be decided on a case-by-case basis, but likely will not be in scope as the code is already documented with guidelines for developers that should be followed for making their application secure.
+* **LangSmith related repositories or APIs**: See [Reporting LangSmith Vulnerabilities](#reporting-langsmith-vulnerabilities) below.
## Reporting LangSmith Vulnerabilities