2021-02-24 01:28:13 +00:00
|
|
|
id: yarn-lock
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: yarn lock file disclosure
|
|
|
|
author: oppsec
|
|
|
|
severity: info
|
2021-09-05 21:13:45 +00:00
|
|
|
description: The yarn.lock file stores the versions of each Yarn dependency installed.
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: exposure,files
|
2021-02-24 01:28:13 +00:00
|
|
|
|
|
|
|
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
|