PNPM Lock Yaml File Disclosure
ID: pnpm-lock
Severity: info
Author: noraj
Tags: exposure,files,node,npm,pnpm
Description
Section titled “Description”The pnpm-lock.yaml file is similar to the package-lock.json file used by npm or the yarn.lock file used by Yarn. It serves as a lock file that ensures consistent and reproducible installations of dependencies across different environments.
YAML Source
Section titled “YAML Source”id: pnpm-lock
info: name: PNPM Lock Yaml File Disclosure author: noraj severity: info description: | The pnpm-lock.yaml file is similar to the package-lock.json file used by npm or the yarn.lock file used by Yarn. It serves as a lock file that ensures consistent and reproducible installations of dependencies across different environments. reference: - https://pnpm.io/cli/install#tldr metadata: verified: true max-request: 1 shodan-query: html:"pnpm-lock.yaml" tags: exposure,files,node,npm,pnpm
http: - method: GET path: - "{{BaseURL}}/pnpm-lock.yaml"
matchers-condition: and matchers: - type: word part: body words: - "lockfileVersion:" - "specifiers:" - "packages:" condition: and
- type: status status: - 200# digest: 4b0a00483046022100e1ca39aa32dc1faa4005efeef37d15f8566ebf8a0d345fb9ffbe93dc6eb7a3f6022100888899634833b7f3e8de020d78c85d8ca7906fe03aad7bf78259d4271a80e2d3:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/files/pnpm-lock.yaml"