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 id: yarn-lock
info: info:
name: yarn lock file disclosure name: Yarn Lock File Disclosure
author: oppsec,noraj author: oppsec,noraj
severity: info 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: reference:
- https://classic.yarnpkg.com/lang/en/docs/yarn-lock/ - https://classic.yarnpkg.com/lang/en/docs/yarn-lock/
tags: exposure,files tags: exposure,files,yarn
requests: requests:
- method: GET - method: GET
@ -17,15 +18,16 @@ requests:
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: word - type: word
part: body
words: words:
- "# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY." - "# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY."
- "# yarn lockfile v1" - "# yarn lockfile v1"
condition: and condition: and
- type: word - type: word
part: header
words: words:
- "text/html" - "text/html"
part: header
- type: status - type: status
status: status: