2023-03-24 02:24:37 +00:00
|
|
|
id: cratesio-api-key
|
|
|
|
|
|
|
|
info:
|
2023-05-04 17:33:50 +00:00
|
|
|
name: Crates.io API Key - Detect
|
2023-03-24 02:24:37 +00:00
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
2023-05-04 17:33:50 +00:00
|
|
|
description: Crates.io API key was detected.
|
2023-03-24 02:24:37 +00:00
|
|
|
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
|
2023-05-04 17:33:50 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 0
|
2023-05-04 17:33:50 +00:00
|
|
|
cwe-id: CWE-200
|
2023-03-24 02:24:37 +00:00
|
|
|
metadata:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: keys,file,crates,token
|
2023-03-24 02:24:37 +00:00
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
2023-05-04 17:33:50 +00:00
|
|
|
- '\bcio[a-zA-Z0-9]{32}\b'
|
|
|
|
|
|
|
|
# Enhanced by md on 2023/05/04
|
2024-01-26 08:31:11 +00:00
|
|
|
# digest: 4b0a00483046022100cdb57fbebbea0f610e2da0421aa23ce8ed6cdc12d5bb09d7b02f8b7f99f47eb5022100bf1a5d9c555af349ba146cd09185e141c95bd8e4ea0a6eb00049f2b22b21b300:922c64590222798bb761d5b6d8e72950
|