Security context

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

facebook/docusaurus
main @ 7434ba5
10
Fixes
2
CVEs
HIGH
Peak severity
75.0%
Coverage
Highlights
Command Injection: 4 prior fixes. Scrutinize any change in this area.
GitHub: most-fixed (2 issues). Treat as high-risk during review.
5 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: Unescaped arguments passed to underlying shell executors allow execution of arbitrary systems commands. Remediation requires strict argument-based parameterization without shell evaluation.
Privilege Escalation: Over-privileged GitHub Actions workflows and insecure triggers like pull_request_target allow external contributors to escalate permissions and execute malicious code within CI context.
Command Injection: Execution of deployment shell commands utilizing unescaped environment variables (such as custom commit messages) exposes the build environment to remote system command execution.