@@ -8,23 +8,50 @@ parent: "Flowise LLM Orchestration"
88
99# Chapter 6: Security and Governance
1010
11- Security controls are required when orchestrating models, tools, and external data .
11+ Flowise workflows combine models, tools, connectors, and credentials. Governance must be explicit .
1212
13- ## Core Risk Areas
13+ ## Primary Risk Areas
1414
15- - secret leakage in node configs and logs
16- - unsafe tool execution with unvalidated model output
17- - data exfiltration via connectors
15+ - secrets exposed in node configs or logs
16+ - unsafe tool execution from unvalidated model outputs
17+ - data exfiltration through permissive connectors
18+ - tenant boundary violations in shared deployments
1819
19- ## Governance Controls
20+ ## Security Control Layers
2021
21- - scoped credentials per workflow/environment
22- - allowlisted tools and outbound domains
23- - policy checks for prompt and response classes
24- - immutable audit logs for workflow runs
22+ | Layer | Required Control |
23+ | :------| :-----------------|
24+ | Credential handling | scoped secrets per environment/workflow |
25+ | Tool invocation | input validation + allowlists |
26+ | Data access | least privilege for connectors and stores |
27+ | Network egress | outbound domain and protocol restrictions |
28+ | Audit | immutable run-level logs with redaction |
29+
30+ ## Governance Process
31+
32+ 1 . classify workflow risk level (read-only vs mutating)
33+ 2 . require reviews for prompt/node changes on high-risk flows
34+ 3 . version workflow definitions and policies together
35+ 4 . enforce release gates before production promotion
36+
37+ ## Runtime Safeguards
38+
39+ - timeout budgets per node
40+ - bounded retry policies
41+ - explicit human approval for destructive actions
42+ - deny-by-default for new external tool integrations
43+
44+ ## Incident Readiness
45+
46+ Maintain playbooks for:
47+
48+ - secret leakage response
49+ - unsafe automation rollback
50+ - connector compromise or abuse
51+ - tenant-isolation incidents
2552
2653## Summary
2754
28- You now understand baseline security posture for Flowise workflow operations .
55+ You now have a practical security and governance baseline for operating Flowise in production .
2956
3057Next: [ Chapter 7: Observability] ( 07-observability.md )
0 commit comments