Security context

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

dgraph-io/badger
main @ 2a001d4
2
Fixes
0
CVEs
HIGH
Peak severity
100.0%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
.github/workflows/ci-badger-tests-coverage.yml: most-fixed (1 issue). Treat as high-risk during review.
2 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.

CI/CD Security: Using pull_request_target in a CI workflow grants untrusted PR code access to repository secrets, enabling secret exfiltration or malicious builds.
Auth Bypass: The Open function failed to enforce read-only mode, allowing write operations to proceed despite a read-only flag, which can lead to data corruption or unauthorized modification.