23 lines
502 B
YAML
23 lines
502 B
YAML
|
id: nuget-api-key
|
||
|
|
||
|
info:
|
||
|
name: NuGet API Key
|
||
|
author: DhiyaneshDK
|
||
|
severity: info
|
||
|
reference:
|
||
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/nuget.yml
|
||
|
- https://docs.microsoft.com/en-us/nuget/nuget-org/publish-a-package#create-api-keys
|
||
|
metadata:
|
||
|
verified: "true"
|
||
|
tags: nuget,token,exposure
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}"
|
||
|
|
||
|
extractors:
|
||
|
- type: regex
|
||
|
part: body
|
||
|
regex:
|
||
|
- "(oy2[a-z0-9]{43})"
|