Skip to content

Crates.io API Key

ID: crates-api-key

Severity: info

Author: DhiyaneshDK

Tags: crates,token,exposure

id: crates-api-key
info:
name: Crates.io API Key
author: DhiyaneshDK
severity: info
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
metadata:
verified: true
max-request: 1
tags: crates,token,exposure
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- '\bcio[a-zA-Z0-9]{32}\b'
# digest: 490a00463044022019d5cf311801102dbd9e6b59b3f4054ab03532092ec0aa5bded342bce9bafa9e02204744e27f509fe86ac784accb9f4f417c5c23e054a80fe40aaf035d9a05850e71:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/tokens/crates/crates-api-key.yaml"

View on Github