Security researcher on AI agents and identity systems, and a software engineer who builds MCP servers and agent tooling. Based in Beirut. US citizen, no sponsorship needed, open to relocating.
- Found and fixed a false SAFE in Microsoft's RAMPART: a safety probe passed while the agent it tested exfiltrated data on every turn, because a tool-only adapter couldn't observe side effects. Merged as a breaking change. Also merged a PyRIT reset hook for realtime and WebSocket targets.
- Reported a prompt-injection gap in github-mcp-server's lockdown mode, fixed in v1.10.0 (writeup).
- Three credited reports to Keycloak: one fixed and shipped in 26.8.2, and my fix for another in review (writeup). A merged overflow fix in netcdf-c.
- Warden runs a Claude agent on IT offboarding under policy, approval, audit and revocation. In 190 live runs on Claude Haiku, Sonnet and Opus 5.5 where a note planted in the data asks the agent to disable a shared admin account, none proposed it; when the task itself asked, Warden blocked all 18 attempts.
- controlarm won't record a security test as negative until the same run shows the target answering and the plain version of the attack being refused.
- malt-reward-hacking: in METR's MALT dataset, a check for one word finds 223 of the 224 runs labeled sabotage and none of the 6,047 normal ones, because METR's edit leaves the agent stating its instructed intent. With those statements removed by an LLM rewrite, in a pre-specified follow-up, a monitor reading only the agent's messages loses 0.186 AUROC, and one that also sees the actions about 0.09.
- Hack The Box Ambassador in Beirut. I built WeSecure, a boot-to-root machine with a full writeup.
Writeups and resume: mahdi-al-hakim.github.io · mahdi.a.alhakim@gmail.com · LinkedIn