2021-02-24 01:28:13 +00:00
|
|
|
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.
|
2021-04-06 06:46:11 +00:00
|
|
|
tags: file,exposure
|
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
|