Security context

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

tronscan/tronscan-frontend
master @ ee31580
3
Fixes
0
CVEs
HIGH
Peak severity
33.3%
Coverage
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
src/components/account/Account.js: most-fixed (1 issue). Treat as high-risk during review.
3 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.

Auth Bypass: Inverted authorization check (private key mismatch allowed action) in three components, enabling attackers to confirm accounts, buy tokens, and submit votes without the correct key.
Auth Bypass: Missing private key verification allowed unauthorized transactions from any account; fix added pkToAddress equality check.
Business Logic Flaw: Allowed sending from the same address as destination, a business logic flaw enabling self-transfers or unintended token burns.