Security context

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

paperclipai/paperclip
master @ b4815bf
62
Fixes
2
CVEs
CRITICAL
Peak severity
37.1%
Coverage
Highlights
Auth Bypass: 27 prior fixes. Scrutinize any change in this area.
packages/adapter-utils/src/server-utils.ts: most-fixed (5 issues). Treat as high-risk during review.
29 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: Inadequate same-company tenant scoping on core endpoints allowed unauthorized cross-tenant settings manipulation, data export, and bundle importing. Developers must systematically apply tenant-isolation validation to all route handlers.
Auth Bypass: Lack of explicit parent-resource permission verification on sub-resource paths allowed direct IDOR access to comments and unauthorized issue mutations via comment payload parameters.
Path Traversal: Unchecked filesystem directory creation and symlinking allowed directory traversal outside of the authorized local skills directories. Standardizing on rigid workspace root containment is essential.