-
Notifications
You must be signed in to change notification settings - Fork 9.8k
docs: security notice #10555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+68
−0
Merged
docs: security notice #10555
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f641722
docs-security-notice
mendonk 0d36b16
Apply suggestions from code review
mendonk 865f05f
Merge branch 'main' into docs-security-page
mendonk c2d4792
code-review
mendonk 670ffe6
link-to-security-bulletin
mendonk bac6d07
Merge branch 'main' into docs-security-page
mendonk 1f66964
Apply suggestions from code review
mendonk c6af75c
Merge branch 'main' into docs-security-page
mendonk 40f9585
Merge branch 'main' into docs-security-page
mendonk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| --- | ||
| title: Security notice | ||
| slug: /security | ||
| --- | ||
|
|
||
| The Langflow UI is an IDE and code execution platform, which means that Langflow is inherently capable of executing arbitrary, developer-provided code. | ||
| By design, the Langflow UI includes a code editor allowing developers to author and execute arbitrary Python with full access to the host Langflow backend process, filesystem, and network. | ||
| In addition, various components wrap and make use of code execution, in some cases using AI models to generate the code to be executed based on user input. | ||
|
|
||
| Given these product features, the Langflow application makes no attempt to prevent malicious activity between different users of a given Langflow process, or to secure the execution environment of the Langflow process, such as preventing access to portions of the local disk. To the extent that limitations are imposed on the access provided to different users, such as limiting flow visibility to a user's flows, these limitations are intended to improve usability, not to impose secure access policies. | ||
| For example, users of Langflow can always access the underlying database connection directly. | ||
|
|
||
| The security of code and flows written using Langflow is the developer’s responsibility. | ||
|
mendonk marked this conversation as resolved.
Outdated
|
||
| Langflow does not and can not prevent developers from building insecure applications. | ||
|
mendonk marked this conversation as resolved.
Outdated
|
||
| In the same way that Python can’t prevent developers from writing services with SQL-injection vulnerabilities, Langflow can’t prevent developers from writing flows that leak user’s PII, fail to sanitize input, etc. | ||
|
mendonk marked this conversation as resolved.
Outdated
|
||
| Langflow makes efforts to ensure that components and flows are secure by default and behave as expected, but application behavior is ultimately the developer’s responsibility. | ||
|
mendonk marked this conversation as resolved.
Outdated
|
||
|
|
||
| Langflow’s cloud security flows from infrastructure. | ||
|
mendonk marked this conversation as resolved.
Outdated
|
||
| Cross-tenant isolation is provided by isolating instances of Langflow to individual tenants, not by the Langflow application itself. | ||
| Within a Langflow cloud container, users are given full access to the process, disk, and network. | ||
| Security restrictions are enforced between cloud containers, and between containers and the host instance and network. | ||
|
mendonk marked this conversation as resolved.
Outdated
|
||
| Authentication and authorization are provided and enforced outside of the Langflow container. | ||
| To the extent that services are shared across tenants, such as a shared PostgreSQL database, access limitations are enforced externally, for example by providing DB credentials associated with external security policies. | ||
|
mendonk marked this conversation as resolved.
Outdated
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.