ZK/SEC Research notes from zkSecurity
All series
Series

Common Circom Pitfalls

2 parts June 2025 – November 2025 22 min in total Marco Besier
  1. Part 1

    Common Circom Pitfalls and How to Dodge Them, Part 1

    Programming in Circom comes with its fair share of challenges. After reviewing numerous Circom codebases, we’ve identified certain anti-patterns that occur frequently. In this series, we’ll provide a comprehensive overview of these issues to help you avoid the most common pitfalls. Of course, this won’t be a complete list of every mistake possible (Circom has plenty of ways to trip you up). But the footguns we’ll cover are the ones that tend to catch developers off guard the most.

  2. Part 2

    Common Circom Pitfalls and How to Dodge Them, Part 2

    This post is the second part of our series on Circom pitfalls. While part 1 covered issues with assertions, hints, and aliasing, this one explores unsafe component usage and the subtle fact that Circom’s comparison operators work over signed integers.

Other series see all →