Skip to content

octodemo/code-scanning-demo-office-hours-15JUL20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Scanning JavaScript Demo

This repository demonstrates an instance of a XSS Vulnerability

  1. Run through the setup flow in the security tab to enable code scanning. Commit directly to master.

  2. Go to actions, and confirm that the analysis has run successfully.

  3. Edit App.js and replace this code snippet:

  let formText = "Predefined Text"

with:

let search = window.location.search;
let params = new URLSearchParams(search);
let formText = params.get('text');
  1. Create a PR. Wait for validation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published