Cybersecurity for Developers
Write code attackers can't easily break.
Security from a builder's point of view: threat modelling, the OWASP Top 10, cryptography basics, authentication and access control, injection and XSS, secrets, supply-chain risks, API security and the new risks AI brings, with legal ways to practise and a career map.
You will be able to
- Threat-model a feature before building it
- Explain and prevent the OWASP Top 10
- Store passwords and secrets correctly
- Prevent injection, XSS and broken access control
- Secure APIs and dependencies
- Defend AI features against prompt injection and data leaks
Who it's for
Every developer, plus students curious about a cybersecurity career.
Before you start
Basic web development knowledge
Roles it leads to
Lessons
Module 1
Foundations
Mindset, OWASP and cryptography.
The security mindset and threat modelling
Learn how security people think and use four questions plus STRIDE to find what can go wrong in your own app before attackers do.
The OWASP Top 10 explained
A plain-English tour of the OWASP Top 10:2025: what each risk means, a coffee-shop example, and the main defence, so you can spot these problems in your own code and answer interview questions.
Cryptography basics: hashing, encryption and TLS
Learn the difference between hashing, encryption, signing and TLS, when to use each, and how to use them safely in code without inventing your own cryptography.
Module 2
Secure coding
Fix the bugs attackers actually exploit.
Passwords, authentication and MFA done right
Build the core of a safe login in Python: Argon2 password storage, generic errors, rate limiting, TOTP multi-factor codes and secure session cookies, and learn when to use a proven library instead.
Authorisation and broken access control
Reproduce an IDOR bug in a small orders API on your own machine, fix it with object-level and role checks, and lock the fix in with tests, so a customer can never read another customer's order.
Injection attacks: SQL, command and XSS
See how SQL injection, command injection and XSS work on tiny practice code you run yourself, then fix each with parameterised queries, argument lists, output encoding and a CSP header.
Managing secrets and API keys
Keep API keys and passwords out of your code and Git: load them from the environment, ignore .env, understand why frontends cannot hide secrets, scan for leaks and learn what to do in the first hour after one leaks.
Dependencies and supply-chain security
Learn how attackers use the packages you install, then practise the habits that protect you: auditing, lockfiles, hash pinning, vetting new packages and automatic updates with Dependabot.
Securing APIs: rate limits, CORS and input checks
Harden a FastAPI service for Brew & Bean with rate limiting, a CORS allowlist and strict input validation, then test each defence with curl. Learn what CORS does and does not protect.
Module 3
Modern threats and careers
AI risks, tools, practice and careers.
AI security: prompt injection, data leaks and model risks
Learn the main security risks of apps that use LLMs: prompt injection, unsafe output handling, over-powerful agents, data leaks and model supply-chain issues, and the defences that limit the damage.
Security testing tools: ZAP, Semgrep and Trivy
Install and use three free security tools: Semgrep to scan source code, Trivy to scan dependencies, images and config, and OWASP ZAP to test a running app. Practise only on your own code and a deliberately vulnerable lab.
Practise legally: CTFs and labs
Learn the legal line in security testing, the best free places to practise, and complete your first labs: run OWASP Juice Shop locally, solve a CTF-style decoding puzzle, and plan a six-week path.
Cybersecurity careers and certifications
Understand the main cybersecurity roles, which skills each needs, how entry-level certifications fit, and how to build public proof of skill. A practical map for developers and students.
Tools, courses & exams
Hand-picked, free first. Free tiers and exam fees change, so check the provider's page.
Free tools
OWASP Threat Dragon
OWASP
A free open-source tool for drawing data-flow diagrams and recording threats, handy for the threat-modelling exercise in this track.
OWASP ZAP
ZAP project (Checkmarx)
A free web application scanner and proxy for testing your own apps. Good first tool for finding common issues.
Semgrep Community Edition
Semgrep
Scans source code for insecure patterns such as SQL injection and hard-coded secrets, with ready-made rules for Python and JavaScript.
The open-source scanner is free to run locally; hosted platform features have paid plans.
Trivy
Aqua Security
An open-source scanner for dependencies, container images and configuration files. Quick way to find known vulnerable packages.
Gitleaks
Gitleaks
Finds secrets such as API keys in files and Git history; can run as a pre-commit hook.
Burp Suite Community Edition
PortSwigger
An intercepting proxy for inspecting and replaying web requests against your own apps and training labs.
The Community edition is free with limits; Professional and Enterprise are paid.
Have I Been Pwned
Troy Hunt
Shows whether an email appeared in known breaches and offers a breached-password check you can use in sign-up forms.
Checking an email address and the Pwned Passwords range API are free; some API features are paid.
Free courses
Web Security Academy
PortSwigger
A free, well-structured online course with interactive labs covering SQL injection, XSS, access control and more. Excellent hands-on follow-up to this track.
NPTEL cyber security courses
NPTEL / IIT and IISc faculty
Search NPTEL for cyber security and cryptography courses taught by Indian faculty, with a certificate option that colleges often recognise.
Course videos and materials are free; the optional proctored certification exam has a fee, check the course page for the current amount.
Official docs
OWASP Top 10
OWASP
The official list of the most critical web application security risks, with a page for each category. Read the current edition.
OWASP Cheat Sheet Series
OWASP
Short practical guides for developers on topics like password storage, SQL injection prevention, XSS and session management.
MDN Web Security
Mozilla
Clear browser-side security reference: CSP, cookies, same-origin policy and secure contexts.
Practice
OWASP Juice Shop
OWASP
An intentionally vulnerable web app you run on your own machine to practise finding and understanding OWASP Top 10 problems legally.
OWASP WebGoat
OWASP
A deliberately insecure Java application with guided lessons for learning web vulnerabilities safely.
picoCTF
Carnegie Mellon University
A beginner-friendly capture-the-flag platform with year-round practice challenges and a yearly competition.
TryHackMe
TryHackMe
Guided browser-based labs and learning paths for beginners, including web security and cyber defence.
Many beginner rooms are free; a paid subscription unlocks more content and faster machines.
OverTheWire Wargames
OverTheWire
Free command-line puzzles (start with Bandit) that teach Linux and security thinking step by step.
Exams & certifications
ISC2 Certified in Cybersecurity (CC)
ISC2
An entry-level certification that suits freshers and career switchers who want a first credential.
ISC2 has offered free self-paced training and exam access through promotions; fees and offers change, so check the official page.
CompTIA Security+
CompTIA
A widely recognised general security certification. Suits people with some IT experience or a few months of focused study; no free official exam.
Exam fee applies; check the official page for the current fee in INR or USD.