Add files via upload
parent
8a21f73b95
commit
a316468af3
|
@ -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
|
Loading…
Reference in New Issue