2021-02-24 01:28:13 +00:00
|
|
|
id: yarn-lock
|
|
|
|
|
|
|
|
info:
|
2023-07-04 03:58:08 +00:00
|
|
|
name: Yarn Lock File Disclosure
|
2023-01-06 17:19:54 +00:00
|
|
|
author: oppsec,noraj
|
2021-02-24 01:28:13 +00:00
|
|
|
severity: info
|
2023-07-04 03:58:08 +00:00
|
|
|
description: |
|
|
|
|
The yarn.lock file stores the versions of each Yarn dependency installed. It's a lock file for package.json.
|
2023-01-06 17:19:54 +00:00
|
|
|
reference:
|
|
|
|
- https://classic.yarnpkg.com/lang/en/docs/yarn-lock/
|
2023-07-07 05:04:59 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-07-04 03:58:08 +00:00
|
|
|
tags: exposure,files,yarn
|
2021-02-24 01:28:13 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-07-04 10:55:39 +00:00
|
|
|
|
2021-02-24 01:28:13 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/yarn.lock"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2023-07-04 03:58:08 +00:00
|
|
|
part: body
|
2021-02-24 01:28:13 +00:00
|
|
|
words:
|
|
|
|
- "# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY."
|
|
|
|
- "# yarn lockfile v1"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
2023-07-04 03:58:08 +00:00
|
|
|
part: header
|
2021-02-24 01:28:13 +00:00
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|