Devin AI
31c174e1a4
feat: add governance policy framework for ungoverned call sites (OWASP Agentic Top 10)
Addresses issue #5280 - Security audit identified 266 ungoverned call sites
that could benefit from governance checks per OWASP Agentic Top 10 standards.
Changes:
- Add security/governance.py with SubprocessPolicy, HttpPolicy, ToolPolicy,
GovernanceConfig classes supporting allowlist/blocklist and custom validators
- Integrate governance into SecurityConfig for crew-level configuration
- Add subprocess governance check in agent _validate_docker_installation
- Add tool governance checks in execute_tool_and_check_finality (sync/async)
- Add tool governance checks in crew_agent_executor native tool call path
- Export governance types from security module
- Add 42 comprehensive tests covering all policy types and integration points
Governance is permissive by default (allows all) to maintain backward
compatibility. Users can configure policies to restrict operations.
Co-Authored-By: João <joao@crewai.com>
2026-04-05 06:05:21 +00:00
..
2026-04-02 04:46:07 +08:00
2026-04-02 18:02:59 -04:00
2026-04-01 00:18:36 +08:00
2026-04-02 17:52:08 -03:00
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2026-04-01 00:18:36 +08:00
2025-12-05 13:23:26 -05:00
2026-01-27 14:56:50 -08:00
2026-03-31 08:11:21 +08:00
2026-03-31 07:07:11 +08:00
2026-03-10 14:00:40 -04:00
2026-03-25 23:42:09 +08:00
2025-11-29 16:55:24 -05:00
2025-11-05 07:19:09 -05:00
2026-03-31 08:11:21 +08:00
2026-04-05 06:05:21 +00:00
2026-03-24 19:03:35 +08:00
2026-02-13 21:34:37 -03:00
2025-12-04 13:34:29 -08:00
2026-03-02 07:42:55 -05:00
2026-03-20 16:04:52 -04:00
2026-04-01 14:17:57 -03:00
2026-04-01 00:18:36 +08:00
2025-10-20 14:10:19 -07:00
2026-03-15 18:33:17 -07:00
2026-04-01 03:48:41 +08:00
2026-03-20 15:18:50 -04:00
2026-01-22 17:44:03 -08:00
2026-01-23 15:13:25 -05:00
2025-10-20 14:10:19 -07:00
2026-03-13 00:32:22 -04:00
2025-12-01 18:56:56 -05:00
2026-02-16 18:41:03 -03:00
2025-10-20 14:10:19 -07:00
2026-02-04 15:40:22 -05:00
2026-01-23 15:13:25 -05:00
2026-01-20 21:44:45 -08:00
2025-10-20 14:10:19 -07:00
2026-03-25 03:42:39 -03:00
2025-11-24 17:35:12 -05:00
2026-03-09 09:38:35 -04:00
2025-10-20 14:10:19 -07:00
2026-03-26 03:28:17 -03:00
2026-03-26 03:28:17 -03:00
2025-10-20 14:10:19 -07:00
2026-04-01 00:18:36 +08:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2026-03-31 07:07:11 +08:00
2025-11-29 16:55:24 -05:00
2026-02-03 10:10:33 -03:00
2026-02-03 09:06:48 -05:00
2026-02-25 17:13:34 -05:00
2026-04-01 18:08:37 -03:00