Create yarn-lock.yaml

patch-1
oppsec 2021-02-23 22:28:13 -03:00 committed by GitHub
parent d96af11c2a
commit d330406eb4
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: yarn-lock
info:
name: yarn lock file disclosure
author: oppsec
severity: info
description: yarn.lock is a file which store all exactly versions of each dependency were installed.
requests:
- method: GET
path:
- "{{BaseURL}}/yarn.lock"
matchers-condition: and
matchers:
- type: word
words:
- "# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY."
- "# yarn lockfile v1"
condition: and
- type: word
words:
- "text/html"
part: header
- type: status
status:
- 200