Coder Social home page Coder Social logo

code-scanning-pr-scan's Introduction

Code Scanning JavaScript Tutorial

Welcome to the Code Scanning JavaScript Tutorial! This tutorial will take you through how to set up GitHub Advanced Security: Code Scanning the Pull Request. We will introduce a vulnerability CVE-2018-20835 (aka Zip Slip) in a Pull Request.

Procedure

  1. Duplicate this repository into your GitHub Organization
  2. Enable GitHub Advanced Security
  3. Configure the CodeQL Code Scanning workflow
  4. Complete a CodeQL scan for the main branch
  5. Edit Line 264 of index.js and commit this to a new branch

OLD: var srcpath = path.join(cwd, path.join('/', header.linkname))

NEW: var srcpath = path.resolve(cwd, header.linkname)

  1. Create a Pull Request to main from the new branch
  2. Allow CodeQL scan to complete for the PR

code-scanning-pr-scan's People

Contributors

mafintosh avatar piranna avatar rohitnb avatar luin avatar max-mapper avatar karlhorky avatar skywalker13 avatar finnp avatar chpio avatar gautaz avatar xat avatar sebakerckhof avatar mcibique avatar zkat avatar jcrugzz avatar issc29 avatar gmaclennan avatar feross avatar dominictarr avatar alantrrs avatar courajs avatar

Watchers

 avatar

Forkers

muraliv21

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.