18 lines
600 B
JSON
18 lines
600 B
JSON
{
|
|
"id": "stellaops.secrets.nuget-api-key",
|
|
"version": "1.0.0",
|
|
"name": "NuGet API Key",
|
|
"description": "Detects NuGet.org API keys",
|
|
"type": "regex",
|
|
"pattern": "oy2[a-z0-9]{43}",
|
|
"severity": "high",
|
|
"confidence": "high",
|
|
"keywords": ["oy2", "nuget", "NuGetApiKey"],
|
|
"filePatterns": ["*.yml", "*.yaml", "*.json", "*.env", "*.config", "nuget.config", "*.csproj", "*.ps1"],
|
|
"enabled": true,
|
|
"tags": ["nuget", "dotnet", "package-manager", "credentials", "api-key"],
|
|
"references": [
|
|
"https://docs.microsoft.com/en-us/nuget/nuget-org/publish-a-package#create-api-keys"
|
|
]
|
|
}
|