Category index

Cyber Security

4276 articles

4276 ARTICLES

FEATURED REPORT

Fixing SQL Injection: ORM is not enough

Using a programmable SQL interface such as an ORM (Object Relational Mapping) is a good way to reduce risk of SQL Injection, which is a very bad vulnerability to have. However, ORM packages are not bullet proof. This post explains why you shouldn’t put all your SQL Injection protection eggs in the ORM basket, and what more can you do.

BY
MIN READ 1 MIN READ
EXPLORE north_east
Fixing SQL Injection: ORM is not enough
Fixing `marked` XSS vulnerability
CYBERSECURITY

Fixing `marked` XSS vulnerability

A recently published vulnerability in the npm marked package shows how attackers can use the flexibility of the Markdown format to introduce Cross-Site Scripting vulnerabilities. This post explains the issue and the fix, and discusses the difficulty of sanitizing complex user input.

1 MIN READ arrow_forward
Exploiting Buffer
CYBERSECURITY

Exploiting Buffer

In this post, we explain how the “Buffer” class works, and why it behaves the way it does. We’ll run an exploit against a vulnerable application, to better demonstrate the ramifications.

1 MIN READ arrow_forward
How to prevent malicious packages
CYBERSECURITY

How to prevent malicious packages

Last week, CERT alerted users to the risk of publishing or consuming a malicious npm package. This important risk is not unique to npm, but it is more likely to happen in this ecosystem. This post explains the risk and how you can protect yourself.

1 MIN READ arrow_forward
Using Node.js event loop for timing attacks
CYBERSECURITY

Using Node.js event loop for timing attacks

A little over 3 years ago, a few friends and I started a group called pasten to participate in the Chaos Computer Club’s Capture The Flag (CTF) competition. It is a jeopardy style CTF, where the participating teams need to solve security related challenges in various categories such as exploitation, reverse engineering, web, forensic & crypto.

1 MIN READ arrow_forward
Keeping your open source credentials closed
CYBERSECURITY

Keeping your open source credentials closed

Leaking credentials means exposing secrets that provide access to different accounts. The most common types of leaked credentials are passwords, API keys and SSH private keys. In this post, we discuss best practices you can establish as part of your flow to introduce multiple layers of defense that help prevent mistakes.

1 MIN READ arrow_forward