Security context

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

iii-hq/iii
main @ c73bc57
2
Fixes
6
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
engine/src/engine/mod.rs: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix 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: The socket server allowed users to establish stream subscriptions without proper role-based access control or authorization validation. This could lead to unauthorized data exposure across subscription channels if proper checks are not enforced before establishing stream subscriptions.
Auth Bypass: The engine lacked worker isolation prefix verification when releasing external functions, allowing workers to unauthorizedly unregister or modify functions belonging to other session registrants. Enforcing strict namespace/session prefixes is vital to isolate multi-tenant execution contexts.