
Suppose a support team connects an AI assistant to its shared inbox to draft replies about deliveries. A reply may need information about only one order, but the integration may ask for access to every conversation in the mailbox. That could include customer addresses, invoices and correspondence about refunds. Before enabling the integration, find out what the tool can access, what data it sends and where it sends it and how you can revoke access. Latvian Data State Inspectorate guidance on using AI at work. Microsoft Graph mail permissions.
What an AI integration can access
People can share data with an AI tool by pasting text or uploading a file. Integrations can also retrieve information from a mailbox, a cloud drive or a customer relationship management system. A browser extension with permission to read a page can access information on that page. Depending on the permissions you grant, an integration may also be able to send messages, edit records or share documents. OWASP guidance on AI tool permissions and actions. MDN guide to browser extension permissions.
In a peer-reviewed study published in Proceedings on Privacy Enhancing Technologies, researchers analysed 5,286 custom GPTs with external service integrations. They found that some connections to external services could pass on sensitive or personally identifiable information, and that privacy policies often gave an incomplete account of these data flows. Review the permissions requested by the specific integration alongside the provider’s published terms. Carrillo and colleagues on personal data flows in the GPT ecosystem.
What to test before launching an app built with AI
Consider a customer portal that displays invoices. In a test environment with fictional data, check what a signed-out visitor, two different customers and an administrator can see. For example, each customer should see only their own invoices. Have your developers verify that the server enforces those permissions. OWASP Application Security Verification Standard. OWASP authorisation guidance.
In 2026, German security firm Crissy Field analysed 159,041 Lovable projects using Common Crawl data. Among the 24,664 sites using Supabase that it examined more closely, 7,403 had records containing email addresses that were readable without signing in. The count may include public or test addresses. The report separately documents cases involving exposed contracts and identity document details. Crissy Field report on Lovable projects.
In a 2023 ACM CCS study, the group with access to a Codex-based assistant wrote less secure code on average than the group without it. Participants with access to the assistant were also more likely to believe their code was secure. Perry and colleagues, ACM CCS.
Five checks before connecting an AI tool
- Start with the task and the data it needs. Use fictional records to test the workflow. Keep passwords and API keys in your organisation’s approved secrets storage. Data protection guidance on what to share with an AI tool. OWASP guidance on secrets management.
- Review the supplier’s terms. Check where data is stored, how long it is kept, who else processes it, whether it can be deleted and whether it is used to train models. Where a supplier processes personal data on your behalf, ensure the processing is covered by a written contract or another binding legal act. Check the applicable rules for international transfers of personal data. EU GDPR, Articles 5 and 28 and Chapter V. ICO guidance on using a processor under the UK GDPR.
- Give the tool only the permissions it needs. If an assistant summarises documents from a single folder, grant read access to that folder. Require a person to approve actions with significant consequences, such as sharing confidential files or changing customer records. OWASP guidance on least privilege and approval.
- Check how to revoke access. Make sure someone on your team can disconnect the tool and review its activity logs. After significant changes, check what users and integrations can access. Crissy Field recommendations for checking access before launch. OWASP guidance on logging and monitoring.
- Agree who handles an incident. Stop any unauthorised transfer, revoke the affected access and preserve relevant logs. Under Article 33 of the EU GDPR, the controller must notify the competent authority without undue delay and, where feasible, no later than 72 hours after becoming aware of a personal data breach. Notification is unnecessary if the risk to people’s rights and freedoms is unlikely. European Data Protection Board guidance on breaches. Latvian breach reporting guidance. NIST guidance on incident response.
Which rules apply to your business
In the EU, the GDPR requires a lawful basis for processing personal data and limits collection to what is necessary for the stated purpose. Article 4 of the EU AI Act also requires providers and deployers of AI systems to support AI literacy among staff and others working with the systems on their behalf. For organisations within the scope of NIS2, managing cyber risk includes taking into account security risks involving direct suppliers and service providers. In the UK, use the ICO’s guidance on AI and the UK GDPR when assessing how your organisation uses personal data. The ICO notes that its guidance is under review. EU GDPR. Article 4 of the EU AI Act. NIS2, Article 21. UK ICO guidance on lawfulness in AI.
How HITEXIS can help
Contact HITEXIS if you are planning to introduce AI or want to review an existing integration. We can assess the risks, define which data the tool should be able to access and connect it to your systems. AI and business automation. API and system integrations. Contact HITEXIS.
