Income Tax portal: any taxpayer's records, one PAN away
Changing one PAN value returned another taxpayer's Aadhaar, bank accounts, and income. More than 135 million registered accounts were in scope until it was fixed.
Read the finding
Viral Vaghela · Senior Security Engineer at Twilio
Security researcher specializing in offensive operations, red teaming, and architecting resilient cloud infrastructure. Converting vulnerabilities into strategic defense assets.
My research, as covered by
Responsibly disclosed findings in government portals, healthcare, and open source, each with a full write-up.
Changing one PAN value returned another taxpayer's Aadhaar, bank accounts, and income. More than 135 million registered accounts were in scope until it was fixed.
Read the finding
Weaknesses across UMANG services exposed EPFO account numbers, LPG bookings, and Aadhaar numbers stored in plain text.
Read the finding
A public zip file held patient reports, ID documents, source code, and live payment and SMS gateway keys.
Read the finding
Published CVEs
Case study · Income Tax e-Filing Portal
How one changed value exposed 135 million taxpayers, and how it got fixed.
01
Every taxpayer signs in with their own PAN. In the background, the portal loaded your profile by sending that PAN to the server.
02
Swap the PAN in that background request for someone else's. No OTP, no second check: just your own session and their PAN.
03
The server never checked that the PAN belonged to the logged-in user. It returned the other person's name, Aadhaar, bank accounts, and income, for any of 135M+ registered accounts.
04
We reported it to CERT-In and the Income Tax Department in September 2025. It was fixed in early October, and TechCrunch published once it was safe.
The same four steps whether the target is a government portal, an npm package, or an LLM agent.
Step 1
OSINT and recon to find exposed assets, forgotten endpoints, and the data paths no one is watching.
Step 2
Manual testing of authorization, logic, and trust boundaries: IDOR, injection, auth bypass, and prompt injection in AI systems.
Step 3
Validate real-world exploitability with a minimal, safe proof, so the risk is clear and the fix gets prioritized.
Step 4
Report privately to the vendor, maintainer, or CERT-In, wait for the fix, then publish so others learn from it.
I'm a senior security engineer at Twilio, working on product security, offensive testing, and AI/LLM security. Before that I spent almost three years at Zscaler, leading AI red teaming and adversary emulation against critical infrastructure.
I don't just scan for vulnerabilities; I think like an attacker to build defenses that actually hold up. Outside work I create technical content for a community of 100K+ learners at @Viral_Codes, closing the gap between offensive security and the developers building what comes next.
Twilio
Sep 2026 — Present
Current
Sep 2026 — Present
Recently joined to work on product security, offensive testing, and AI/LLM security.
Zscaler
Jan 2024 — Sep 2026
Bengaluru, India
Sep 2024 — Sep 2026
Jan — Sep 2024
Independent
2022 — Present
Recognized by 50+ organizations for responsible disclosure of critical flaws, focused on cloud authentication bypasses, API logic flaws, and distributed-systems vulnerabilities.
Finlegal
Sep — Dec 2022
Remote
Security teams that have acknowledged my reports, and the agencies I've coordinated disclosures with.
Acknowledged by 50+ organizations, including:
Government findings reported through:
Open-source tools for OSINT, reversing, and network monitoring.
Dart · OSINT
A Dart package for gathering Instagram account data: profile details, image URLs, and metadata, without scrapers or official API keys.
Flutter · Law enforcement
An OSINT mobile app for police and cyber-crime investigators: geolocation tracking via short URLs, device forensics, and vehicle and IMEI lookups.
Google Play ↗ 1,000+ downloads
Python · Reversing
Detects hard-coded API keys, tokens, and PII in Android APKs using pattern matching and entropy analysis.
Source ↗ Used by 100+ researchers
Python · Threat intel
Monitors outgoing traffic and checks destination IPs against VirusTotal threat intelligence in real time.
Write-ups on web exploitation, Android security, and red-team tradecraft.
Web security · XSS
Sophisticated cross-site scripting techniques that bypass modern filters and security headers.
Android · ADB
The security implications of Android's multi-user feature when accessed over ADB, and where data can leak.
Red team · OSINT
How individual developer environments become a pivot point into enterprise infrastructure.
Red teaming, AI security, a disclosure you need help with, or the latest zero-day. Email is the fastest way to reach me.