Hadiqa Khan

Application Security Engineer · Karachi · open to remote and relocation

AppSec engineer with an attacker's eye.

Half my job is building security in. The other half is trying to break it. Clients in the USA, UK and Saudi Arabia.

client and internal web apps and APIs assessed
15+
critical/high findings found and helped fix
40+
first-pass assessment, down from 5–7 days
5–7 hrs
fewer post-deployment vulnerabilities
40%

Key achievements

From the offensive side

I break it first, so the fix lands in the right place.

Every finding below went to the team with its root cause and a fix. Testing is how I make the AppSec work sharper, not a separate job. The usual suspects: authentication bypasses, broken access control, IDOR/BOLA and privilege escalation.

#ClassFindingStatus
01AuthZRecurring access-control flaws, one root causeTraced repeated broken-access-control findings back to a shared backend cause and recommended reusable authorization patterns. (client web apps)Fixes verified across affected features
02AuthZCross-tenant JWT validation bypassTokens could be used across tenant boundaries. Found during an overnight AI-assisted repository review. (pre-prod repo)Reported as critical/high next morning
03PrivEscAdmin mass-assignment privilege escalationMass assignment let a regular user grant themselves administrative privileges. (pre-prod repo)Reported with root cause
04AuthNFirst-login flow bypassA hardcoded client-side key encrypted an isFirstLogin flag in localStorage; tampering skipped create-password. (pre-prod portal)Reported before launch
05SecretsExposed production credentialsLive credentials committed to source, alongside temporary-password weaknesses. (pre-prod repo)Reported as critical/high
06LogicFail-open account checksAccount validation that allowed access when the check itself failed. (pre-prod repo)Reported with root cause
07Gray-boxGo-live pentest of a fleet platformManual and automated gray-box testing of web, mobile and API surfaces before production. (fleet platform)Remediated and retested before go-live
08Black-boxBlack-box PoC pentestProof-of-concept black-box test of web and API surfaces, run ahead of a full engagement. (new client)PoC delivered ahead of full engagement

CTF results

Procom CTF'23
1st of 50 teams
NED NCCS'22 CTF
1st
National Cyber Hackathon qualifier
3rd of ~50

Training and giving back

  • TCM Practical Ethical Hacking. TryHackMe Jr Penetration Tester and PenTest+ path.
  • Ran the seven-day Hackweek'23 bootcamp as ACM chapter president and built its "Ripperdoc" TryHackMe room. Talks at BSides Pakistan.
  • Toolkit: Burp Suite · OWASP ZAP · Semgrep · CodeQL · Gitleaks · Nessus
  • Read my write-ups on Medium ↗TryHackMe: oggy101 ↗

All projects

Showing 22 of 22 projects

Background

Jul 2023 to now
Security Engineer II, ByteCorp TechnologiesAppSec, cloud security, DevSecOps and GRC. Leads internal vulnerability management, co-led SOC 2 Type II (attested two years running) and runs the cybersecurity trainee program.
Jan to Jul 2023
Junior SOC Analyst, SupersecureMonitored client environments with Stellar Cyber OpenXDR, SIEM, SOAR and UBA, and wrote detection rules.
Jul to Oct 2022
Cyber Threat Hunting Intern, ThincsCorpResearched APT tactics and techniques, and ran static and dynamic malware analysis.
2019 to 2023
BS Computer Science, FAST KarachiCum laude. First female president of the ACM Cyber Security Chapter.

Case study 02 · AppSec · Offensive · Client web apps and APIs

Many access-control bugs. One root cause.

Testing client web apps and APIs, I kept finding the same class of broken access control. Instead of filing them one by one, I traced them back to a shared backend cause and fixed the pattern.

Role
Tester and code reviewer
Scope
Client web apps and APIs
Methods
White-box · black-box · code review
Finding classes
IDOR/BOLA · auth bypass · privilege escalation
Status
Fixes verified across features

01

The pattern

Assessments kept turning up the same kinds of findings: authentication bypasses, broken access controls, IDOR/BOLA and privilege escalation.

On their own they looked like separate bugs in separate features. Patching them one at a time would have meant the next feature shipped with the same flaw.

02

Tracing the cause

I reviewed the Python, Java and JavaScript codebases manually and with automated tooling, and followed the recurring flaws back to one shared backend root cause.

The middleware handled authentication but had no authorization layer, so every route was left to enforce access on its own. Wherever a route missed a check, users could reach other users' data or higher-privilege actions.

03

What I did

  1. A

    Validated each finding

    Confirmed exploitability and assessed impact before raising it, so the team only chased real issues.

  2. B

    Traced them to one cause

    Mapped the separate findings back to the shared backend logic they all depended on.

  3. C

    Put authorization where it belonged

    Recommended adding a reusable authorization layer to the middleware, so access checks apply to every route by default instead of being rewritten per feature.

  4. D

    Verified across every feature

    Retested each affected feature after the fix to confirm the whole class was closed.

04

Outcome

One fix pattern instead of a stream of one-off patches, verified across every affected feature.

05

What I'd do next

Add authorization tests to CI that call every route as each role, so a missing check fails the build before it ships. Then make the middleware authorization layer the default for new routes, so developers have to opt out deliberately rather than remember to opt in.