Security context

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

angular/angular-cli
main @ 8ef83be
29
Fixes
0
CVEs
HIGH
Peak severity
34.8%
Coverage
Highlights
Path Traversal: 11 prior fixes. Scrutinize any change in this area.
@angular-devkit/schematics: most-fixed (3 issues). Treat as high-risk during review.
13 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.

Path Traversal: MCP host configurations allowed executing file operations outside of designated workspace roots. Strict path canonicalization and allowed-prefix checks are necessary to prevent directory traversal.
Server-Side Request Forgery: SSR processes constructed requests using untrusted or unvalidated upstream HTTP headers (like Host and X-Forwarded-For). Mitigations require an explicit host allowlist and strict validation of forwarded headers.
Command Injection: Spawning processes with unsanitized arguments or relying on shell expansion creates high-severity command injection vectors. This is mitigated by restricting spawn tasks to hardcoded binaries and utilizing array-based parameterization.