It starts with a simple `curl` command and ends with a critical Prototype Pollution vulnerability. Learn to think like an attacker in this Capture the Flag introduction.
#1about 4 minutes
Introduction to developer-first security and CTFs
The concept of 'hack yourself' is introduced as a powerful way for developers to learn security principles by actively participating in challenges.
#2about 3 minutes
Understanding the purpose and benefits of CTF events
Capture the Flag events are cross-functional, team-based challenges designed to help developers learn about security vulnerabilities in a hands-on way.
#3about 2 minutes
Following the rules of engagement for a CTF
Effective participation in a CTF requires communication and collaboration, while avoiding spoilers or attacking the backend infrastructure.
#4about 2 minutes
Beginning the 'Invisible Ink' CTF challenge
The walkthrough begins by examining the challenge description, the target web application, and the provided source code files for initial clues.
#5about 6 minutes
Using curl for initial web application reconnaissance
The `curl` command is used to send GET and POST requests to the target URL, revealing how to correctly format requests with the proper content type.
#6about 1 minute
Scanning dependencies for vulnerabilities with the Snyk CLI
The Snyk CLI tool is used to scan the project's `package.json` file, which quickly identifies a known prototype pollution vulnerability in a dependency.
#7about 4 minutes
Explaining the prototype pollution vulnerability in JavaScript
Prototype pollution is a JavaScript-specific vulnerability that allows an attacker to modify an object's base prototype, injecting properties into every object in the application.
#8about 5 minutes
Analyzing source code to find the exploit vector
By examining the application's `index.js` file, the vulnerable `lodash.merge` function is identified as the entry point for the prototype pollution attack.
Related jobs
Jobs that call for the skills explored in this talk.
Dev Digest 216: CyberSec + Mythos, Stack Overflow for Agents & DOOM in TTFInside last week’s Dev Digest 216 .
🧠 Prompts are now tools in Chrome
📜 The AI Coding Agent Manifesto
🔐 How Claude Mythos changes Cyber Security
🧱 GitHub Stacked PRs to battle AI slop
⚙️ Git commands to run before reading code
🐍 A Python framework f...
Dev Digest 138 - Are you secure about this?Hello there! This is the 2nd "out of the can" edition of 3 as I am on vacation in Greece eating lovely things on the beach. So, fewer news, but lots of great resources. Many around the topic of security. Enjoy! News and ArticlesGoogle Pixel phones t...
Daniel Cranney
Dev Digest 188: CfP time, the risks of NPM and IKEA algorithmsInside last week’s Dev Digest 188 .
🤖 GitHub Copilot CLI is now in public review
💻 Microsoft is bringing ‘vibe working’ to office apps
🎣 Attackers abuse AI tools to generate captchas in fishing attacks
⚠️ When LLMs autonomously attack
🧠 Common cause...
From learning to earning
Jobs that call for the skills explored in this talk.