Imed Bounab (@imaibou) header
Imed Bounab (@imaibou) profile picture

Penetration tester & Web developer Founder @Devsecurely I will teach you how to secure your applications

Paris
Joined June 2013
Photo by Imed Bounab (@imaibou)Photo by Imed Bounab (@imaibou)Photo by Imed Bounab (@imaibou)Photo by Imed Bounab (@imaibou)Photo by Imed Bounab (@imaibou)Photo by Imed Bounab (@imaibou)Photo by Imed Bounab (@imaibou)Photo by Imed Bounab (@imaibou)Photo by Imed Bounab (@imaibou)Photo by Imed Bounab (@imaibou)
Your application is vulnerable, and you don't even realize it. Hackers have special vision. They don't see websites the way others do. If you don't understand that, your defenses are useless. Let me show you 👇🧵
5
3
1
46
3,004
"We'll do a security audit before launch". No, you won't. You'll launch. Get busy. Delay the audit. Ship the next feature. Security is not a pre-launch checklist. It's a habit.
1
5
150
There's probably a hardcoded secret in your codebase right now. grep for 'password', 'secret', 'api_key', 'token'. Do it right now. I'll wait.
2
119
Junior devs don't make security mistakes. Untrained devs do. The junior dev who pushed AWS credentials to a public repo wasn't careless. Nobody showed him why it mattered. No .gitignore. No pre-commit hook. No onboarding. Blame the system, not the person.
1
2
134
One XSS vulnerability. Every user session gone. localStorage is convenient for JWTs. It's also readable by any JavaScript on your page. If an attacker can inject JS code, he'll be able to steal all the users' sessions. httpOnly cookies can't be touched by JS. Use them instead.
2
66
The one-liner that turns your login form into real auth. If a user can attempt your login form 10 000 times without hitting a wall, you don't have auth. You have a suggestion. Rate limiting. Add it.
1
45
Your framework is not your security team. React escapes your output. Laravel sanitizes your queries. That's it. Broken access control, business logic flaws, insecure APIs. Your framework has no idea those exist. Thinking you're covered is worse than knowing you're not.
1
88
Your logs are trying to tell you something. Most breaches show up in the error logs before anyone notices. Failed logins at 3am. Unexpected 500s on the payment endpoint. The same IP hitting every admin route. The devs who read logs catch it first. Are you one of them?
40
We don't hire "performance specialists" to avoid infinite loops. Security is the same. It's not a job title. It's a baseline skill every developer should own.
2
1
45
Learning web security ruins you. In a good way. Me before learning web security: "nobody's targeting my app" Me after: rate limiting on the contact form
36
"We have SSL so we're safe." No, you're not. HTTPS means the envelope is sealed. Not that what's inside is safe. SQL injection, XSS, broken auth... None of it cares about your SSL cert.
1
1
37
Your login page is being scanned right now. "My site is too small to be hacked." Bots don't care about your size. They scan millions of URLs looking for unprotected login pages. Yours included. No rate limiting? You're already being probed.
3
51
This is how most web apps get hacked. Your app takes user input. Does every field get validated before it touches your database or your HTML? If you paused on that, you have a vulnerability. Not "maybe." Not "probably." 10-minute checklist 👇
1
2
54
What security concept only clicked once you saw real code get exploited, not explained in a doc? Building something for web devs around this. 👀
1
54
Qihoo 360 (China's largest cybersecurity company) shipped their wildcard SSL private key inside the public installer for their new AI product. The key was inside a .7z archive. Anyone who downloaded it could intercept every user's encrypted traffic on *.myclaw.360.cn 🧵
1
60
It gets worse. The certificate came from WoTrus CA: a company Qihoo 360 owns. WoTrus is the rebranded WoSign, which all browsers stopped trusting in 2016 for faking certificate dates and hiding a fraudulent acquisition. Same company. New name. You're not ready for the ironies
1
18
Pentesters check for 3 missing headers in the first 60 seconds. Absence means an automatic finding in the report. X-Content-Type-Options: nosniff X-Frame-Options: DENY Strict-Transport-Security Add them before you ship. Clickjacking, MIME sniffing, SSL stripping: gone.
27
Your first JS course showed you how to build a login form. It never showed you how hackers break one. That's why most developers ship insecure code. Not because they're lazy. But because no one taught them.
2
41
Please use this guys!
We're introducing Codex Security. An application security agent that helps you secure your codebase by finding vulnerabilities, validating them, and proposing fixes you can review and patch. Now, teams can focus on the vulnerabilities that matter and ship code faster. openai.com/index/codex-secur…
1
70
My website got HACKED back in 2011. I lost everything: users, data, months of work. I then started to learn everything I could about cybersecurity and became a penetration tester. Now I teach developers how to build apps that don't get wrecked like mine did. Let's #connect!
5
11
265
How am I supposed to run my business now?
5
208