Update and rename exposures/files/yarn-lock.yaml to http/exposures/files/yarn-lock.yaml

patch-1
Dhiyaneshwaran 2023-07-04 09:28:08 +05:30 committed by GitHub
parent 40ac625085
commit e37285242e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -1,13 +1,14 @@
id: yarn-lock
info:
name: yarn lock file disclosure
name: Yarn Lock File Disclosure
author: oppsec,noraj
severity: info
description: The yarn.lock file stores the versions of each Yarn dependency installed. It's a lock file for package.json.
description: |
The yarn.lock file stores the versions of each Yarn dependency installed. It's a lock file for package.json.
reference:
- https://classic.yarnpkg.com/lang/en/docs/yarn-lock/
tags: exposure,files
tags: exposure,files,yarn
requests:
- method: GET
@ -17,15 +18,16 @@ requests:
matchers-condition: and
matchers:
- type: word
part: body
words:
- "# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY."
- "# yarn lockfile v1"
condition: and
- type: word
part: header
words:
- "text/html"
part: header
- type: status
status: