39 lines
870 B
YAML
39 lines
870 B
YAML
id: pyproject-toml
|
|
|
|
info:
|
|
name: pyproject.toml Configuration - Detect
|
|
author: DhiyaneshDK
|
|
severity: info
|
|
description: pyproject.toml configuration was detected.
|
|
reference: https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
|
cvss-score: 0.0
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
max-request: 1
|
|
verified: true
|
|
shodan-query: html:"pyproject.toml"
|
|
tags: exposure,pyproject,pip,devops,cicd
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/pyproject.toml"
|
|
|
|
matchers-condition: or
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "[tool.black]"
|
|
- "exclude ="
|
|
condition: and
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "[tool.poetry]"
|
|
- "name ="
|
|
condition: and
|