Security context

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

alfresco/alfresco-transform-core
master @ 65f22ac
11
Fixes
0
CVEs
CRITICAL
Peak severity
70.0%
Coverage
Highlights
Command Injection: 3 prior fixes. Scrutinize any change in this area.
engines/base/src/main/java/org/alfresco/transform/base/config/MTLSConfig.java: most-fixed (2 issues). Treat as high-risk during review.
9 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.

Command Injection: User-supplied ImageMagick command options allowed unauthenticated remote code execution via argument injection; fixed by disabling options by default and requiring explicit opt-in.
Command Injection: Command properties (paths, mimetypes) were not validated, allowing injection into Runtime.exec; fixed by adding absolute-path and mimetype regex checks.
Command Injection: User-controlled commandOptions were passed into transform options, enabling command injection; fixed by removing the parameter entirely.