Analyzing a program to understand how it works is not, in itself, a crime in Brazil. The Software Law (Law 9,609/98) protects the code, not the ideas and functionality, and has no article prohibiting reverse engineering. The problem starts when the analysis leads to copying or distributing the code, bypassing copy protection or breaching the license agreement. This text is informational and doesn't replace advice from a lawyer.

Searches for whether software reverse engineering is a crime grew in October 2026, with the attention around REA, a tool that puts AI agents to work on reverse engineering, and the ArtCraft apps, presented as alternatives to Adobe programs. If an AI can take a program apart in hours, the natural question is: is that allowed?
This text summarizes what Brazilian law says. It's informational, not a legal opinion: for a concrete case, consult a lawyer who specializes in intellectual property. Other countries have their own rules, mentioned briefly below.
Law 9,609/98, known as the Software Law, says in article 2 that computer programs receive the same protection regime as literary works, under copyright law. And the Copyright Law (Law 9,610/98), in article 8, excludes from protection ideas, normative procedures, systems, methods and mathematical concepts as such.
In practice: the code, which is the program's expression, is protected. The idea, the functionality and the result the program produces are not. Two programs can do the same thing without one infringing the other, as long as one doesn't copy the other's code.
Article 6 of Law 9,609/98 lists situations that don't infringe the rights of the program's owner:
None of the items in article 6 mentions reverse engineering. The last two are the most cited in interoperability discussions, but the interpretation isn't settled, and the law doesn't expressly prohibit the practice either. It's a gray area: what defines the risk is what you do with the analysis.
Luca Schirru's master's thesis, defended at UFRJ in 2015, is one of the academic references on the legal viability of reverse engineering computer programs in Brazil, for those who want to go deeper.
The risks show up in at least five situations:
In the United States, court decisions such as Sega v. Accolade (1992) and Sony v. Connectix (2000) accepted disassembling programs as fair use when the goal was compatibility. In the European Union, Directive 2009/24/EC allows decompilation under strict conditions, when it's indispensable to obtain the information needed for interoperability with an independently created program.
Brazil has no equally explicit rule. Foreign decisions serve as a reference for the debate, but they don't settle a concrete situation there.
The law hasn't changed: the same rules apply whether someone analyzes a program by hand or with an AI agent. What changed is scale. An analysis that would take weeks can be done in hours, by more people, which increases both legitimate uses and abuses.
There's also a new confidentiality question. When you use an agent, parts of the analyzed program are sent to the AI model provider. If the software belongs to your company, or to a client, check the provider's terms and prefer plans that don't use data to train models.
A few rules greatly reduce the risk:
Tools like REA will show up in technology teams' daily work, with or without an internal policy. In the AI governance and data protection track of our AI consulting, we help companies define clear usage rules, including what may or may not be analyzed and how to handle customer data, always together with the legal team. For the full picture, read the guide to reverse engineering with AI.
Integration indispensable to the user's needs appears in article 6 of the Software Law, but interpretations vary and the license agreement may prohibit the practice. Before you start, read the license and consult a lawyer.
No. The tool is legal; what may be illegal is the use, such as analyzing software without authorization, bypassing protections or copying third-party code.
Functionality and ideas aren't protected by copyright, but code is. Writing your own program with similar functions is different from copying a competitor's code, brand or look.
Notify the vendor privately and give them time to fix it before any disclosure. Many vendors have dedicated channels for this.
If the software is yours, the legal risk is low. Pay attention to third-party components inside it, such as libraries with their own licenses, and to the personal data it processes.
Talk to the SINOON team and find out which agent, squad or engagement makes sense for where you are now.