nuclei-templates/http/exposures/files/bun-lock.yaml

39 lines
920 B
YAML

id: bun-lock
info:
name: Bun Lock File Disclosure
author: noraj
severity: info
description: |
The bun.lockb 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://bun.sh/docs/install/lockfile
metadata:
max-request: 1
verified: true
fofa-query: body=="bun.lockb"
tags: exposure,files,node,npm,bun
http:
- method: GET
path:
- "{{BaseURL}}/bun.lockb"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "bun-lockfile-format-v0"
- "#!/usr/bin/env bun"
condition: or
- type: word
part: header
words:
- "application/octet-stream"
- type: status
status:
- 200