Bytecode similarity to audited upstream with behavior deviation
BENQI's assessment for RD-F-171 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
BENQI lending has high bytecode similarity to Compound V2 (confirmed fork). Key deviations from upstream are: multi-token reward distribution (QI + AVAX), borrow caps, Avalanche collateral factors — all functional additions, not state-mutation order reorderings consistent with AI-generated copy patterns. The BENQI codebase was developed in 2021, predating widespread AI code generation tools. No evidence of AI-pattern deviations (behavioral deviation in state-mutation ordering) found. Green: no significant behavioral deviation from audited upstream in state-mutation ordering.
Sources #
- GitHubBENQI GitHub — deviation from Compound V2 upstreamBENQI-Smart-Contracts 2021-era codebase — functional additions to Compound V2, not state-mutation reorderingretrieved 2026-05-16
Methodology #
Determine whether the bytecode has high structural similarity to an audited upstream but deviates in state-mutation ordering (AI-generated copy risk pattern).
See the full factor methodology and distribution across all protocols →