8000 mahdi-al-hakim (Mahdi Alhakim) · GitHub
[go: up one dir, main page]

Skip to content
View mahdi-al-hakim's full-sized avatar

Block or report mahdi-al-hakim

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
mahdi-al-hakim/README.md

Mahdi Alhakim

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

Pinned Loading

  1. malt-reward-hacking malt-reward-hacking Public

    In METR's MALT, one word finds 223 of 224 sabotage runs and 0 of 6,047 normal runs: a label-word baseline for prompted runs, and a monitor on organic reward hacking.

    Python

  2. warden warden Public

    A control plane that runs a Claude agent on access-management work under policy, human approval, a hash-chained audit log, and a revocation kill switch.

    Python

  3. controlarm controlarm Public

    A harness that refuses to call a security test negative until the run shows the target answering and the plain attack being refused

    Python

  4. WeSecure WeSecure Public

    A Linux boot-to-root VM (CTF machine): a multi-stage chain through a forged CRC32 integrity check and a confused deputy to root. Full writeup and a reproducible Packer/Ansible build.

    Shell

0