AI4I brings HackAgent to Black Hat Europe 2026: watch how a simple PDF can trick an AI assistant into leaking confidential data
The AI Security Lab, led by Nicola Franco, brings its open-source AI security testing toolkit to Black Hat Arsenal. A banking simulation demonstrates how hidden instructions in a PDF can trick an AI assistant into disclosing confidential information.
Can a simple bank statement become a tool for a cyberattack? And can an AI assistant, asked to review a document on behalf of a customer, be manipulated into performing actions that were never authorised?
This is the scenario explored in a demonstration of HackAgent, the open-source toolkit developed by the AI Security Lab at the Italian Institute of Artificial Intelligence (AI4I), which will be presented at Black Hat Europe 2026, one of the world’s leading cybersecurity events, taking place in London from 7 to 10 December.ll
The lab, led by Nicola Franco, will participate in Black Hat Arsenal, the event’s dedicated showcase for open-source security tools, where researchers and developers demonstrate their technologies to the international cybersecurity community.
A bank statement, a hidden instruction, an AI assistant under attack
The demo recreates an apparently routine situation: a customer asks her AI assistant to review a bank statement. However, the PDF contains malicious instructions planted by an attacker, designed to persuade the assistant to perform an entirely different operation: sending confidential banking information to an external email address.
The attack exploits a vulnerability known as prompt injection, a technique that attempts to blur the boundary between information an AI system is supposed to process and instructions it is authorised to execute.
This is particularly relevant for AI agents, which are increasingly being deployed to automate complex tasks and interact directly with documents, applications and operational tools. A manipulated document can therefore become a vehicle for redirecting an agent’s behaviour, with consequences extending far beyond an incorrect response.
HackAgent: testing AI security before attackers exploit its weaknesses
HackAgent was developed to identify and analyse these vulnerabilities through automated red teaming, simulating adversarial behaviour to assess how effectively AI systems withstand manipulation attempts.
The toolkit enables researchers to organise testing campaigns, generate attacks, monitor target systems’ responses and evaluate outcomes. Its objective is to make AI security assessments more systematic, reproducible and accessible, contributing to the development of more trustworthy AI systems.
Participation in Black Hat Europe provides an opportunity to engage with the international cybersecurity community and showcase the AI Security Lab’s research on model robustness and AI system security.
Watch the HackAgent demo to discover how a seemingly harmless document can become an attack vector against an AI agent.



