Security context

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

jishenghua/jshERP
master @ ad6cf88
8
Fixes
0
CVEs
CRITICAL
Peak severity
50.0%
Coverage
Highlights
Information Disclosure: 4 prior fixes. Scrutinize any change in this area.
DepotItemController.java: most-fixed (3 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.

Information Disclosure: Stock cost price (currentUnitPrice) exposed to unauthorized roles on report endpoints; fixed by adding role-based priceLimit check.
Information Disclosure: Bill detail endpoints leaked purchaseDecimal, unitPrice, and allPrice without price masking; fixed by applying role's priceLimit.
Information Disclosure: Homepage statistics exposed profit (outPrice.subtract(inPrice)) to users with price restrictions; two commits applied parsePriceByLimit.