Home
/
Technology insights
/
Smart contracts
/

Raze aims to minimize llm errors in solidity contracts

Raze | New Tool Tackles LLM Hallucinations in Solidity Audits

By

Lucas Rodriguez

Mar 26, 2026, 08:11 AM

Edited By

Sophia Chen

2 minutes reading time

Screenshot of Raze tool showing roles like Planner, Attacker, and Tester for auditing Solidity smart contracts

A growing concern in the blockchain community is the accuracy of audits conducted by AI algorithms. Raze, an open-source tool aimed at Solidity developers, is set to make waves by addressing inaccuracies during smart contract audits. The tool's creator seeks input from the community to refine its functionality.

Understanding the Issue

As AI becomes more integrated into the smart contract auditing process, the risk of hallucinationsโ€”where the algorithm suggests non-existent vulnerabilitiesโ€”has increased. Developers have reported instances where attack vectors are generated for functions that donโ€™t exist, leading to wasted time and resources. Raze aims to mitigate this issue by implementing a structured approach to AI interaction, which includes specific roles for the algorithm to follow during testing.

"This version covers reentrancy, access control, arithmetic, flash loan, and price manipulation."

How Raze Works

The tool utilizes a multi-role system: Planner โ†’ Attacker โ†’ Tester โ†’ Runner โ†’ Reporter. Each stage ensures that the previous role's findings are validated against actual contract symbols. In this way, hypothetical attack vectors are weeded out before exploit code is produced. Key features include:

  • Regression mode that confirms fixes.

  • Built-in tests for common vulnerabilities.

  • Compatible with existing tools without extra setup.

Community Feedback and Next Steps

Initial user feedback indicates mixed experiences. One participant noted, "Current pipeline works best with well-known vulnerability classesโ€ฆ but it struggles with cross-function state dependencies." This highlights a key area for future improvement, suggesting the next iteration must better address complex business logic bugs.

Others are curious whether the repository will showcase instances of hallucinated attack vectors, suggesting a desire for transparency and learning opportunities within the community.

Key Insights

  • ๐Ÿ” Initial execution primarily addresses established vulnerabilities like reentrancy.

  • ๐Ÿ› ๏ธ Next version likely to focus on complex issues currently overlooked.

  • ๐Ÿ’ก Feedback loop essential for tool development, with users encouraged to submit test cases.

Engagement from developers could shape the future of Raze. As of now, the tool promises to help developers catch problems early and reduce surprises during formal audits. Developers are called to share their experiences and contribute to evolving the tool further, potentially making it indispensable in the Solidity toolkit.

Potential Pathways Ahead

As Raze evolves, there's a strong chance it will align itself closely with real-world vulnerabilities that developers face daily. By addressing complex issues in smart contracts, experts estimate around 70% of Solidity developers could see enhanced accuracy in audits. This proactive approach to adjusting their tool will likely lead to heightened industry standards, as developers increasingly rely on Raze for reliable checks. Furthermore, the tool's success may incentivize other tech companies to invest in similar technologies, creating a ripple effect across the blockchain sector that pushes the importance of security audits to the forefront.

A Comparison to Aviation Safety Evolution

Consider the evolution of aviation safety in the early 2000s when a wave of technological advancements transformed how potential issues were addressed. Just as Raze aims to root out fundamental errors in smart contracts, the aviation industry began to employ more sophisticated algorithms and automated checks to identify latent mechanical risks before they unfolded. By leveraging shared data and an engaged community of engineers, the aviation sector significantly reduced accidents, much like Raze could reshape how blockchain audits are conducted. This parallel illustrates that while the technology is different, the spirit of collaboration and improvement can yield life-saving advancements across diverse fields.