RadarFound by FHEVM

CoFHE TaskManager security zone validation fixed

Nov 24 find · published Nov 19
GHGitHub · FhenixProtocol/cofhe-contracts · 1 min readRead original
Security fix in CoFHE contractsVulnerability prevention

Fhenix merged PR #103 to enforce `min <= max` in `setSecurityZones`, preventing calls that left `securityZoneMin > securityZoneMax` and broke all zone validation.

Fhenix merged a fix to CoFHE's TaskManager that enforces `min <= max` in `setSecurityZones`. The function previously allowed calls like `setSecurityZones(10, 5)` that left `securityZoneMin > securityZoneMax`, breaking all zone validation afterward since `isValidSecurityZone` would always return false. The fix reverts with an `InvalidSecurityZone` error when `minSZ > maxSZ`, matching the invariant already enforced by the single-setter functions. This is an owner-only change with no impact on valid calls.

Comments

Sign in to join the conversation.

More from this batch

Blind Cup liar's dice game launches on Sepoliacommunity.zama.aiCoFHE contracts v1.0.3 released with TaskManager refactoringGitHub · FhenixProtocol/cofhe-contractsCoFHE FactoryRegistry migration automates contract registrationGitHub · FhenixProtocol/cofhe-contractsfhEVM coprocessor adds pad-based input unmaskingGitHub · zama-ai/fhevmCoFHE fixes access control vulnerability in transient receiversGitHub · FhenixProtocol/cofhe-contractsCoFHE CommitmentRegistry silently discards conflicting hashesGitHub · FhenixProtocol/cofhe-contracts
FHEVMConfidential smart contracts on EVM chains with fully homomorphic encryption, across every stack — Zama’s fhEVM, Fhenix CoFHE, Inco and newer FHE coprocessors and rollups: confidential tokens (ERC-7984), the apps built on them, releases and launches, adoption, audits and incidents, hackathons and research.