31 lines
721 B
YAML
31 lines
721 B
YAML
id: cratesio-api-key
|
|
|
|
info:
|
|
name: Crates.io API Key - Detect
|
|
author: DhiyaneshDK
|
|
severity: info
|
|
description: Crates.io API key was detected.
|
|
reference:
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/crates.io.yml
|
|
- https://crates.io/data-access
|
|
- https://github.com/rust-lang/crates.io/blob/master/src/util/token.rs
|
|
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:
|
|
verified: true
|
|
tags: crates,token,file
|
|
|
|
file:
|
|
- extensions:
|
|
- all
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '\bcio[a-zA-Z0-9]{32}\b'
|
|
|
|
# Enhanced by md on 2023/05/04
|