Code Monkey home page Code Monkey logo

dc32-sast-workshop's Introduction

DEFCON 32 SAST Workshop

Supercharge SAST: Semgrep Strategies for Secure Software is a meticulously designed workshop aimed at introducing participants to the world of Static Application Security Testing (SAST) through the lens of Semgrep, a cutting-edge tool that combines the simplicity of syntax with the power of complex analysis.

What You Will Learn

This workshop is structured to guide attendees from the foundational concepts of SAST and application security to the practical application of Semgrep for identifying and mitigating security risks in codebases.

Participants will:

  • Gain an understanding of SAST and its importance in the AppSec ecosystem.
  • Learn to navigate Semgrep’s rule syntax and create custom rules tailored to their specific security needs.
  • Engage in hands-on exercises to apply Semgrep on real-world code snippets and projects, enhancing their learning through practical application.
    • This repo contains the hands-on exercises for the workshop, with challenges and solutions for participants to test their Semgrep skills in Python, C# and TypeScript.
  • Explore the Semgrep Playground for testing and refining rules in an interactive environment.
  • Dive into advanced Semgrep features and techniques for a comprehensive security strategy.
  • Understand how Semgrep findings can be leveraged for LLM-based code analysis, taking code security to the next level.

Technical Level and Tools Used

This workshop is tailored for beginner to intermediate skill levels, focusing on practical, actionable insights that participants can immediately apply to their projects. The primary tool used will be Semgrep, supplemented by the Semgrep Playground for online rule testing.

Additional Resources

Semgrep Academy

Semgrep 101

Secure Coding

Semgrep Custom Rules Level 1

Secure Guardrails

Semgrep Documentation

Quick Start

Local scans with Semgrep

Writing Rules

Custom Rule Examples

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.