Security context

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

immunefi-team/audit-comp-quantus-qp-poseidon
audit-comp-ready @ f885ad5
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Hash Collision: 1 prior fix. Scrutinize any change in this area.
core/src/serialization.rs: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Hash Collision: Non-canonical limbs accepted during byte-to-digest conversions allow distinct inputs to map to the same digest, breaking integrity guarantees.
Integer Overflow: Unsafe u64-to-u32 narrowing casts without width validation can truncate limb values, corrupting serialized data.