What is the Same-Origin Policy?

What is the Same-Origin Policy?

Building a safer Internet with the SOP for developers.Photo by Kelly Sikkema on UnsplashIn one sentence, the Same-Origin Policy is this: A script from one page can only access data from another page if they have the same origin.Good cookies, bad cookiesLet’s take a look at an example. Modern web applications often base ... Read More
ShiftLeft @ RSA

ShiftLeft @ RSA

Hunt bugs, detect malware, and win some snacks!Are you going to the RSA conference coming up on May 17th to 20th? If so, come join us in talks, workshops, and our developer challenge! Here’s what we are up to at RSA and RSA DevOpsConnect.Photo by Adam Solomon on UnsplashBug Hunting WorkshopLook out for ... Read More
Intro to the Content Security Policy (CSP)

Intro to the Content Security Policy (CSP)

What you need to know about CSP, a fundamental defense mechanism of the Internet.Photo by Florian Olivo on UnsplashThere are many decisions that go into the process of creating a secure website. One of these decisions is selecting which HTTP security headers to implement. HTTP security headers are response headers designed ... Read More
Managing Open Source Vulnerabilities

Managing Open Source Vulnerabilities

When you test your code, are you really testing all of it?Photo by Artem Sapegin on UnsplashIt seems impossible to write software without using open-source components. A single “import package” can mean thousands of lines of code added to an application. When you look at the software you’ve written, you’ll probably find ... Read More
Detecting Sensitive Data Leaks That Matter

Detecting Sensitive Data Leaks That Matter

How to scan for PII leaks, credentials, and other sensitive data leaks using data flows.Last time, I talked about the perils of leaving secrets in open-sourced code and how to detect those secrets using regex and entropy analysis.Scanning for Secrets in Source CodeHardcoded secrets are an example of a sensitive data ... Read More
Scanning for Secrets in Source Code

Scanning for Secrets in Source Code

How to uncover leak secrets with regex + entropy analysisImage is taken from https://twitter.com/DZoneInc/status/1361420207793659904.As a developer, I admit that I’ve committed secrets to public Github repositories before. Hardcoded secrets have always been a problem in organizations and are one of the first things I look for during a penetration test.When developers ... Read More
Writing for the Web

Writing for the Web

A guide for writing better technical articles + blog postsPhoto by Andrew Neel on UnsplashOne of the questions I get the most in my Twitter DMs is “How do I write better technical blog posts”?Technical writing is a specialist skill, and I am by no means an expert. But over the past few ... Read More
Preventing XXE in Java Applications

Preventing XXE in Java Applications

Impact, exploitation, and prevention of XML External Entity VulnerabilitiesPhoto by Piotr Chrobot on UnsplashWelcome back to AppSec simplified! In this tutorial, we are going to talk about how you can prevent XXEs in Java applications. If you are not already familiar with XXEs, please read my previous post first!Intro to XXE Vulnerabilities: ... Read More
How To Review Code For Vulnerabilities

How To Review Code For Vulnerabilities

Performing a code review to find vulnerabilities in applicationsPhoto by Joshua Aragon on UnsplashPerforming a source code review is one of the best ways to find security issues in an application. But how do you do it?In this tutorial, I will go through some tactics for performing a security code review on ... Read More
Detecting and Exploiting XXEs: AppSec Simplified

Detecting and Exploiting XXEs: AppSec Simplified

Finding XXE vulnerabilities in applications via code analysisWelcome back to AppSec Simplified! Last time, we talked about the fascinating XXEs vulnerabilities and how they can affect your application. If you are not already familiar with XXEs, please read that post first!Intro to XXE Vulnerabilities: AppSec SimplifiedThis time, let’s hunt for XXEs for ... Read More