Flowise/packages/components
Taraka Vishnumolakala 2414057c08
feat(security): enhance file path validation and implement non-root D… (#5474)
* feat(security): enhance file path validation and implement non-root Docker user

- Validate resolved full file paths including workspace boundaries in SecureFileStore
- Resolve paths before validation in readFile and writeFile operations
- Run Docker container as non-root flowise user (uid/gid 1001)
- Apply proper file ownership and permissions for application files

Prevents path traversal attacks and follows container security best practices

* Add sensitive system directory validation and Flowise internal file protection

* Update Dockerfile to use default node user

* update validation patterns to include additional system binary directories (/usr/bin, /usr/sbin, /usr/local/bin)

* added isSafeBrowserExecutable function to validate browser executable paths for Playwright and Puppeteer loaders

---------

Co-authored-by: taraka-vishnumolakala <taraka.vishnumolakala@workday.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
Co-authored-by: Henry <hzj94@hotmail.com>
2025-11-15 15:03:01 +00:00
..
credentials Adding Teradata VectorStore support in DocumentStore (#5159) 2025-10-28 12:23:59 +00:00
evaluation Evaluations for Agentflows v2 & Assistants (#4589) 2025-06-10 16:11:22 +01:00
nodes feat(security): enhance file path validation and implement non-root D… (#5474) 2025-11-15 15:03:01 +00:00
src feat(security): enhance file path validation and implement non-root D… (#5474) 2025-11-15 15:03:01 +00:00
README-ZH.md Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
README.md Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
gulpfile.ts - Updated .js files to .jsx on frontend. 2023-11-23 08:17:06 -05:00
jest.config.js feat: add JSONPathExtractor tool (#5052) 2025-08-18 17:55:58 +08:00
models.json Bugfix/Update anthropic package (#5408) 2025-11-04 16:22:02 +00:00
package.json Release/3.0.10 (#5431) 2025-11-06 22:28:58 +00:00
tsconfig.json feat: add JSONPathExtractor tool (#5052) 2025-08-18 17:55:58 +08:00

README.md

Flowise Components

English | 中文

Apps integration for Flowise. Contain Nodes and Credentials.

Flowise

Install:

npm i flowise-components

License

Source code in this repository is made available under the Apache License Version 2.0.