An automation that reads your emails and creates records in the CRM needs two kinds of access. But which ones was it actually given? Often, a tool receives the rights of a full account when all it needs is to read one folder or add a contact. As long as it works, nobody goes back to check.
The attacker often knows the victim's information system better than the victim does.
Every automation adds an access
These permissions take the form of tokens and API keys. They are credentials, just like a password. They often live in a configuration file, sometimes in a personal account, and every tool you add widens what a third party could reach if one of those keys leaked.
ANSSI, France's national cybersecurity agency, handled 1,366 security incidents in 2025, according to its Cyber threat overview 2025 published in March 2026, compared with 1,361 the year before. And according to Alain Bouillé, general delegate of the Cesin, a French association of information security experts, two thirds of successful attacks go through a service provider. Automations add exactly that kind of link: third-party services that hold your keys.
We have looked elsewhere at what an automation you forget about costs. Here, what interests us is what it opens up.
What a tool needs to do, and what it can do
Look above all at the difference between what a tool needs to do and what it can do. An automation that reads messages does not necessarily need to delete them. One that looks up a customer record has no reason to be able to export the entire CRM. Those gaps are what you are looking for.
They almost always exist for the same reason: granting broad access is quicker than fine-tuning it. The gap goes unnoticed as long as everything works. It matters the day the tool makes a mistake, or the day its key leaks.
The issue becomes more sensitive with agents, which chain several actions without intermediate approval (we described that shift in workflow or AI agent). An agent inherits every right it has been given, and uses them at machine speed.
For a single tool, removing unnecessary rights takes little time. In a more complex information system, mapping and reducing permissions becomes a real project. It is then better to proceed in stages, starting with the automations that touch customer data.
An application can work perfectly well and still be open
In February 2026, researchers at Wiz published their analysis of Moltbook, an experimental social network for AI agents. The platform worked. Its database, however, was accessible: the access key was visible in the browser, with no row-level control behind it. According to Wiz, the following were exposed:
- 1.5 million agent authentication tokens;
- around 35,000 email addresses;
- 4,060 private conversations, some of which contained plain-text keys giving access to other services.
Both reading and writing were possible. The researchers reported the problem, and the team fixed it within hours.
The founder had said publicly that they had not written a single line of code themselves. Concluding that AI produces insecure software would be hasty: hand-written software has the same flaw when nobody reviews that part. What the speed of creation changes is the number of releases per review.
Even without writing code, the platform still needs looking after
Many automations contain no in-house code at all. They live on a platform, often installed on your own servers.
In January 2026, the vendor n8n published a security advisory about self-hosted instances. In some configurations, an unauthenticated visitor could read the file system. The fix existed, in a more recent version. The vendor did its job: it found, published and fixed. Installing the update, however, is up to whoever hosts the instance.
On hosted platforms, responsibility shifts without disappearing. In May 2026, the security vendor Red Access reported nearly 5,000 applications built with AI-assisted development tools that exposed sensitive information. The platforms concerned dispute these figures, but Axios verified several cases. Their public response: privacy settings are the user's responsibility. That is correct, and it is precisely the point.
The GDPR is about processing, not about AI
The GDPR does not apply because AI is involved. It applies because personal data is involved, and the questions remain the same: which data, for what purpose, with which provider, for how long.
What changes is the number of processing operations created without any formal decision. An automation built in two days can send customer data to an external service without anyone having signed off on it. The CNIL reminds us that security is handled from development onward, not after go-live.
Two columns to start with
Take your three most-used automations. For each one, write the data it can access in one column, and the actions it is allowed in the other: read only, or also write and delete.
You will quickly see whether some rights need reviewing. How long it takes to fix them will depend on your setup.
Author · M.Baudoux - Software development & AI consulting
Sources
- ANSSI, "Cyber threat overview 2025" (March 11, 2026)
- Franceinfo, "The attacker often knows the system better than the victim" (October 9, 2026)
- Wiz Research, "Hacking Moltbook" (February 2, 2026)
- n8n, security advisory for self-hosted instances (January 8, 2026)
- CNIL, "AI: ensuring security during development" (July 22, 2025)
- eWeek, on the Red Access study reported by Axios and Wired (May 7, 2026)
