Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

langgenius/dify-plugin-daemon
main @ 5571d57
12
Fixes
0
CVEs
HIGH
Peak severity
25.0%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
internal/core/persistence/persistence.go: most-fixed (2 issues). Treat as high-risk during review.
10 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: Missing permission checks before dispatching backwards invocation tasks allowed plugins to invoke Dify resources without declared permissions.
Auth Bypass: Plugin installation fetch lacked tenant_id validation, enabling cross-tenant data access.
Auth Bypass: Plugin installation check and creation lacked tenant_id scoping, allowing cross-tenant conflicts.