41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
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:
|
|
verified: true
|
|
max-request: 1
|
|
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
|
|
|
|
# digest: 4a0a00473045022100e002e20481965fa564f4205089c1189164496fc663256ed8e6d8c0d78339d7f6022001ac62c16e738bf8f85c5129ee4c4e3f1c7dcc37e8266a3d39c67339fb142027:922c64590222798bb761d5b6d8e72950
|