Add files via upload

patch-1
Afaq 2021-01-07 19:51:12 +05:00 committed by GitHub
parent 8a21f73b95
commit a316468af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
id: package-lock-json
info:
name: npm package-lock.json information disclosure
author: afaq & geeknik
severity: info
description: npm packages contain a file, usually in the project root, called package-lock.json - this file contains all the dependencies and verison details of the project.
requests:
- method: GET
path:
- "{{BaseURL}}/package-lock.json"
matchers-condition: and
matchers:
- type: word
words:
- "name"
- "version"
condition: and
- type: word
words:
- "application/json"
part: header
- type: status
status:
- 200