Security context

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

newrelic/newrelic-android-agent
main @ 9131fd3
9
Fixes
0
CVEs
MEDIUM
Peak severity
60.0%
Coverage
Highlights
Excessive Privilege: 4 prior fixes. Scrutinize any change in this area.
.github/workflows/compatibility-matrix-test.yml: most-fixed (3 issues). Treat as high-risk during review.
0 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.

Privilege Escalation: Overly permissive default GITHUB_TOKEN configurations allow potential write access to the repository during test execution runs. Explicit permissions blocks were implemented to restrict scope.
Dependency Bypass: Referencing a mutable action version in a pull_request_target context creates a supply-chain risk if the third-party repository is compromised. The action was pinned to an immutable commit SHA.
Excessive Privilege: The functional tests workflow executed with excessive permissions, posing a risk of malicious credential reuse. Remediation restricted permissions to read-only.