Merge pull request #925 from oppsec/patch-6

Create yarn-lock.yaml
patch-1
PD-Team 2021-02-24 22:41:07 +05:30 committed by GitHub
commit 15bca488da
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