Security context

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

spacecloud-io/space-cloud
master @ 260b785
30
Fixes
0
CVEs
HIGH
Peak severity
20.0%
Coverage
Highlights
Auth Bypass: 20 prior fixes. Scrutinize any change in this area.
modules/auth: most-fixed (6 issues). Treat as high-risk during review.
27 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: Incomplete JWT signature verification where issuer, audience constraints, and key ID (KID) mappings were not properly propagated or deterministically validated during token signature verification. This allows attackers to forge or reuse tokens across different trust boundaries.
Auth Bypass: Logical errors in rule parsing and evaluation where sub-clauses were either skipped, evaluated incorrectly, or had their error values discarded entirely (e.g. in matchForce, matchRemove, matchQuery, or matchEncrypt/matchDecrypt/matchHash).
Auth Bypass: Defective path prefix and trailing-slash validation logic during file rule checks allowed unauthorized users to bypass file operation constraints by manipulating URL slashes or prefix lengths.