Skip to content

Commit 0705306

Browse files
authored
Add security policy (#29)
Add security
1 parent ac02712 commit 0705306

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

‎security.md‎

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# Security Policy
2+
3+
## Reporting OSS Vulnerabilities
4+
5+
LangChain is partnered with [huntr by Protect AI](https://huntr.com/) to provide
6+
a bounty program for our open source projects.
7+
8+
Please report security vulnerabilities associated with the LangChain
9+
open source projects by visiting the following link:
10+
11+
[https://huntr.com/bounties/disclose/](https://huntr.com/bounties/disclose/?target=https%3A%2F%2Fgithub.com%2Flangchain-ai%2Flangchain&validSearch=true)
12+
13+
Before reporting a vulnerability, please review:
14+
15+
1) In-Scope Targets and Out-of-Scope Targets below.
16+
2) The [langchain-ai/langchain](https://python.langchain.com/docs/contributing/repo_structure) monorepo structure.
17+
3) LangChain [security guidelines](https://python.langchain.com/docs/security) to
18+
understand what we consider to be a security vulnerability vs. developer
19+
responsibility.
20+
21+
### In-Scope Targets
22+
23+
The following packages and repositories are eligible for bug bounties:
24+
25+
- langchain-core
26+
- langchain (see exceptions)
27+
- langchain-community (see exceptions)
28+
- langgraph
29+
- langserve
30+
31+
### Out of Scope Targets
32+
33+
All out of scope targets defined by huntr as well as:
34+
35+
- **langchain-experimental**: This repository is for experimental code and is not
36+
eligible for bug bounties, bug reports to it will be marked as interesting or waste of
37+
time and published with no bounty attached.
38+
- **tools**: Tools in either langchain or langchain-community are not eligible for bug
39+
bounties. This includes the following directories
40+
- langchain/tools
41+
- langchain-community/tools
42+
- Please review our [security guidelines](https://python.langchain.com/docs/security)
43+
for more details, but generally tools interact with the real world. Developers are
44+
expected to understand the security implications of their code and are responsible
45+
for the security of their tools.
46+
- Code documented with security notices. This will be decided done on a case by
47+
case basis, but likely will not be eligible for a bounty as the code is already
48+
documented with guidelines for developers that should be followed for making their
49+
application secure.
50+
- Any LangSmith related repositories or APIs see below.
51+
52+
## Reporting LangSmith Vulnerabilities
53+
54+
Please report security vulnerabilities associated with LangSmith by email to `security@langchain.dev`.
55+
56+
- LangSmith site: https://smith.langchain.com
57+
- SDK client: https://github.com/langchain-ai/langsmith-sdk
58+
59+
### Other Security Concerns
60+
61+
For any other security concerns, please contact us at `security@langchain.dev`.

0 commit comments

Comments
 (0)