Security context

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

spring-projects/spring-batch
main @ 3bb3709
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Command Injection: 1 prior fix. Scrutinize any change in this area.
CI/CD: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix 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: The SystemCommandTasklet historically relied on string tokenization within Runtime.getRuntime().exec, creating opportunities for command injection if step arguments incorporated untrusted user input. Developers must utilize the array-based command and arguments API to avoid shell interpretation.
Insecure Permissions: Private keys utilized during GitHub Actions deployment workflows were historically stored with overly permissive file permissions. Explicitly enforcing strict file permissions (such as chmod 600) on temporary or persistent deployment keys is required to prevent exposure on shared build runners.