Security: Symlink bypass in is_path_allowed() — no canonicalization
Summary
src/openhuman/security/policy.rs — is_path_allowed() validates the path string but does not resolve symlinks before checking against forbidden_paths. A symlink created inside the workspace pointing to a forbidden path (e.g., /etc/shadow) passes the workspace-relative path check.
The separate is_resolved_path_allowed() exists but must be called manually — there's no enforcement that both checks are always paired.
Location
src/openhuman/security/policy.rs — is_path_allowed()
Impact
Medium — An agent can read/write forbidden files by creating a symlink inside the allowed workspace directory.
Suggested Fix
Merge is_path_allowed() and is_resolved_path_allowed() into a single function that always canonicalizes before checking. Or at minimum, document and enforce via lint that both must always be called together.