dhacker is a free site of hands-on application and AI security write-ups. Every article is built around code you can run: we read the vulnerable code, exploit it in a local lab, fix it, and re-test to prove the fix holds.

How a write-up works

  1. Read the code. We start from a small, realistic app or pipeline and find the flaw by reading it.
  2. Exploit it in a local lab. The attack runs against a lab on your own machine, never against a real system.
  3. Fix it. We show the correct fix, not just a workaround.
  4. Re-test. We run the same attack again to confirm the fix holds, and note how a defender would detect it.

Topics are AI security, web security, pentesting, DevSecOps and code review. Browse them all on the All posts page.

Free courses

There are two free, module-by-module courses, each with a lab per module:

Labs and signing in

Practice labs are zip files you run on your own machine. They listen on 127.0.0.1 and most use Docker. To download them, sign in with your email: we send a one-time magic link, so there is no password to create. You can also opt in to a weekly roundup email and switch it off whenever you like. See the Privacy Policy for what we store.

Who it is for

Use it responsibly

Everything here is for education. Only test systems you own or have written permission to test. The Disclaimer has the details.

Contact

Questions, corrections or ideas: email [email protected]. More on the Contact page.