Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 048b37d

Browse files
authored
Merge pull request #210 from stacklok/signatures-0512
Remove regular expressions for secret variable names
2 parents d54612c + 41140e3 commit 048b37d

File tree

1 file changed

+0
-103
lines changed

1 file changed

+0
-103
lines changed

signatures.yaml

Lines changed: 0 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,23 @@
11
---
22
- Amazon:
33
- Access Key: (?:A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA|ABIA|ACCA)[A-Z0-9]{16}
4-
- Secret Access Key Variable: (?i)(amazon|amz|aws)[-_]{0,1}(secret)[-_]{0,1}((access)[-_]{0,1}){0,1}key
54
# - Cognito User Pool ID: (?i)us-[a-z]{2,}-[a-z]{4,}-\d{1,}
65
- RDS Password: (?i)(rds\-master\-password|db\-password)
7-
- S3 Private Key Variable: (?i)AWS_S3_PRIVATE_KEY|s3_key|S3_PRIVATE_KEY
8-
- Security Token Header Variable: (?i)X-Amz-Security-Token
9-
- API Gateway Key Source Header Variable: (?i)x-amazon-apigateway-api-key-source
10-
- S3 Bucket: (?i)AWS_S3_BUCKET|s3_bucket
116
- SNS Confirmation URL: (?i)https:\/\/sns\.[a-z0-9-]+\.amazonaws\.com\/?Action=ConfirmSubscription&Token=[a-zA-Z0-9-=_]+
12-
- SES SMTP Password Variable: (?i)ses_smtp_password
13-
- AWS Private Key Variable: (?i)ec2\-private\-key|EC2_PRIVATE_KEY
147
- MWS Token: (amzn\.mws\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})
158
- AppSync GraphQL Key: \bda2-[a-z0-9]{26}
169

1710
- Microsoft:
18-
- Azure API Key Variable: (?i)Ocp-Apim-Subscription-Key
19-
- Azure Functions Key Header Variable: (?i)x-functions-key
2011
# - Azure account key
2112
# - Azure account name
2213
- Azure Connection String: (?i)(.*.windows.net).+(password)
2314
- Azure Endpoint Key: (?i)(defaultendpointsprotocol).+(key).+
2415
- Client Secret: (?i)(?:client_secret|ClientSecret)[\s:\"]{0,3}[a-zA-Z0-9\-_]{36,}
2516
- Graph API Key: (?i)MSGRAPH_[a-zA-Z0-9\-_]{20,40}
2617
- Outlook Webhook URL: (?i)https:\/\/outlook\.office\.com\/webhook\/[A-Za-z0-9\-]{60,}
27-
- OneDrive Access Token Variable: (?i)onedrive_access_token
28-
- SQL Connection Password Variable: mssql.connection.password
2918

3019
- DigitalOcean:
3120
- API Key: (?i)do_[a-z0-9]{60}
32-
- Environment Variable: (?i)\b(DO|DIGITALOCEAN).+(API|OAUTH|ACCESS)*(TOKEN|KEY)\b
3321

3422
- Shopify:
3523
- Custom App Token: (?i)shpca_[a-fA-F0-9]{32}
@@ -61,7 +49,6 @@
6149
- Cloud Service Account Private Key: (?i)"-----BEGIN PRIVATE KEY-----[A-Za-z0-9\/+=\n]+-----END PRIVATE KEY-----"
6250
- Cloud Service Account Key ID: (?i)"private_key_id":\s*"[a-f0-9]{32}"
6351
- Cloud Project Number: (?i)"project_number":\s*"\d{12}"
64-
- API Key Header Variable: (?i)x-goog-api-key
6552
- Client ID: "[0-9]+-[0-9A-Za-z_]{32}\\.apps\\.googleusercontent\\.com"
6653

6754
- GitHub:
@@ -77,21 +64,11 @@
7764
- GitLab:
7865
- Personal Access Token: (?i)glpat-[A-Za-z0-9\-_]{20}
7966
- OAuth Access Token: (?i)glOauth-[A-Za-z0-9\-_]{20,50}
80-
- GitLab CI Token Variable: (?i)gitlab(?:-|_|.)(?:ci(?:-|_|.))?(?:job(?:-|_|.))?token
8167
- Repository Access Token: (?i)glrepo-[A-Za-z0-9\-_]{20,50}
8268
- Secret File Token: (?i)(?:secret_token|CI_JOB_TOKEN)[^{}]{0,20}( ){0,1}[=:]( ){0,1}([A-Za-z0-9\-_]{20,50})
8369
- Project Secret Token: (?i)glproj-[A-Za-z0-9\-_]{20,50}
8470
#- Classic Token: (?i)(?:gitlab)[^{}()<>?*&:%@!\/= \n]{0,40}[\"\']?\s{0,50}(?::|=>|=)\s{0,50}[\"\']?([a-zA-Z0-9-_]{20})
8571

86-
- Cisco:
87-
- Meraki API Key Header Variable: (?i)X-Cisco-Meraki-API-Key
88-
89-
- CoinMarketCap:
90-
- API Key Header Variable: (?i)X-CMC_PRO_API_KEY
91-
92-
- Algolia:
93-
- API Key Header Variable: (?i)X-Algolia-API-Key
94-
9572
- Slack:
9673
- User Token: (xox[ps]-[0-9]{8,13}-[0-9]{8,13}-[0-9]{8,13}-[a-zA-Z0-9-]{10,32})
9774
- Bot Token: (xox[b]-[0-9]{8,13}-[0-9]{8,13}-[a-zA-Z0-9-]{20,30})
@@ -168,12 +145,6 @@
168145
- Telegram:
169146
- Bot API Key: (?:bot)*[0-9]{8,10}:AA[0-9A-Za-z\-_=]{33}
170147

171-
- SonarSource:
172-
- API Key Variable: sonar(qube|source)_(api_key|token|key)
173-
174-
- Kakao:
175-
- API Key Variable: (?i)KAKAO(_|-){0,1}API(_|-){0,1}KEY
176-
177148
- Airtable:
178149
- API Key: (?i)(?:airtable).{0,40}[\"\'`]?\s{0,50}(?::|=>|=|,)\s{0,50}[\"\'`]?(key[a-zA-Z0-9_-]{14})
179150
- Table URL: https:\/\/api\.airtable\.com\/v0\/[\w]+\/[\w]+
@@ -184,38 +155,12 @@
184155
#- Clearbit:
185156
# - API Key: (?i)(?:clearbit)[^{}]{0,20}( ){0,1}[=:]( ){0,1}.{0,40}(sk_[0-9a-z_]{24,32})
186157

187-
- Flask:
188-
- App Secret Key Variable: APP_SECRET_KEY
189-
190-
- Shodan:
191-
- API Key Variable: (?i)(shodan_key|shodan_api_key|shodan_token)
192-
193-
- Homebrew:
194-
- API Token Variable: (?i)HOMEBREW_GITHUB_API_TOKEN
195-
196-
- Jekyll:
197-
- GitHub API Token Variable: (?i)JEKYLL_GITHUB_TOKEN
198-
199158
- OpenAI:
200159
- Project API Key: (?i)sk-proj-[\w-]+T3BlbkFJ[\w-]+
201160
- User API Key: (?i)sk-[^proj]\w.+T3BlbkFJ[\w-]+
202-
- API Key Variable: (?i)openai(.|_)api_key
203161

204162
- Groq:
205163
- API Key: (?i)gsk_[A-Za-z0-9]+
206-
- API Key Variable: (?i)GROQ(_|-){0,1}API(_|-){0,1}KEY
207-
208-
- Pinecone:
209-
- API Key Variable: (?i)PINECONE(_|-){0,1}API(_|-){0,1}KEY
210-
211-
- LangChain:
212-
- API Key Variable: (?i)LANGCHAIN(_|-){0,1}API(_|-){0,1}KEY
213-
214-
- ElevenLabs:
215-
- API Key Variable: (?i)ELEVENLABS(_|-){0,1}API(_|-){0,1}KEY
216-
217-
- CartesiaAI:
218-
- API Key Variable: (?i)CARTESIA(_|-){0,1}API(_|-){0,1}KEY
219164

220165
- OpenWeatherMap:
221166
- API Key URL: (?i)(?:https?://api\.openweathermap\.org/data/[a-z0-9.+?\/]+=)([a-z0-9]{32})
@@ -231,9 +176,6 @@
231176
- API Key: (?i)key-[0-9a-zA-Z]{32}
232177
- Domain Sending Key: "[a-f0-9]{32}-[a-f0-9]{8}-[a-f0-9]{8}"
233178

234-
- Okta:
235-
- API Key Variable: (?i)(?:okta_api_key)
236-
237179
- Hashicorp:
238180
- Terraform API Token: (?i)([A-Za-z0-9]{14}.atlasv1.[A-Za-z0-9]{67})
239181
- Vault Unseal Key: (?i)unseal.?(?:key|token)[^)(|\s"\'<>,&#]?.{0,40}([a-fA-F0-9\/_\-=][^|\s"\'<>,&#]{43})
@@ -255,7 +197,6 @@
255197

256198
- Figma:
257199
- Personal Access Token: (figd_[a-zA-Z0-9-_]{14,32}_[a-zA-Z0-9-_]{14,32})
258-
- Token Header Variable: (?i)X-Figma-Token
259200

260201
- Adafruit.io:
261202
- API Key: aio_[a-zA-Z0-9]{28}
@@ -269,10 +210,6 @@
269210
#- IBM:
270211
# - Cloud User Key: (?i)(?:ibm)[^{}]{0,20}( ){0,1}[=:]( ){0,1}(-_[A-Za-z0-9_-]{42})
271212

272-
- Heroku:
273-
- API Key Variable: (?i)heroku_api_key
274-
- App Name Variable: (?i)heroku_app_name
275-
276213
- Freshdesk:
277214
- API Token: (?i)(?:freshdesk)[^{}()<>?*&:%@.\-!\/\n]{0,40}\b([0-9A-Za-z]{16,24})
278215

@@ -304,40 +241,19 @@
304241
- Access Token: (sq0atp-[0-9A-Za-z\-_]{22})
305242

306243
- Saucelabs:
307-
- TestFairy Key Variable: (?i)testfairy_{0,}(access_key|key|secret|token|shared_secret|sharedsecret)
308244
- TestFairy OAuth Token URL: https://testfairy\.atlassian\.net/plugins/servlet/oauth/authorize\?oauth_token-\w{32}
309-
- Key Variable: (?i)sauce_token
310-
311-
- Hockeyapp:
312-
- Key Variable: (?i)(?:hockeyapp_key)
313245

314246
- NuGet:
315247
- API Key: (?i)(?:nuget).{0,40}(oy2[a-z0-9]{43})
316248

317249
- Cloudinary:
318250
- API URL: cloudinary://.+/
319-
320-
- CodeClimate:
321-
- Key Variable: (?i)(?:codeclimate_key)
322-
323-
- Pingdom:
324-
- Token Variable: (?i)(?:pingdom_token)
325251

326252
- Ngrok:
327-
- Auth Token Variable: (?i)ngrok.set_auth_token
328253
- API Key Block: (?i)add-api-key
329254
- Authentication Token Block: (?i)add-authtoken
330255
- Connection URL Block: (?i)add-connect-url
331256

332-
- Line:
333-
- Token Variable: (?i)line_(channel|secret|token)
334-
335-
- Crunchbase:
336-
- API Key Header Variable: (?i)X-Cb-User-Key
337-
338-
- RapidAPI:
339-
- Key Header Variable: (?i)x-rapidapi-key
340-
341257
- WeChat:
342258
- App Key: (?:^|['\"`])(wx[a-f0-9]{16})(?:$|['\"`])
343259

@@ -347,17 +263,9 @@
347263
- Vercel:
348264
- Blob Read/Write Token: vercel_blob_rw_\w{47,49}
349265
- Project ID: \bprj_.{28}\b
350-
- Project ID Variable: (?i)PROJECT_ID_VERCEL
351-
- Turbo Build Token Variable: (?i)TURBO_TOKEN
352-
- Access Token Variable: (?i)VERCEL_ACCESS_TOKEN
353-
354-
- PuTTY:
355-
- Private Lines Variable: Private-Lines
356-
- Private MAC Variable: Private-MAC
357266

358267
- Postgresql:
359268
- URL: (?i)(?:pgsql:|postgres:|postgresql:)//[\S]{1,256}:[\S]{1,256}@[-.%\w\/:]+\.[\S]+
360-
- Password Variable: (?i)POSTGRES_PASSWORD
361269

362270
- GitHub:
363271
- Access Token: (?i)\bghp_[A-Za-z0-9]{36}\b
@@ -382,19 +290,8 @@
382290
- Bearer Token: "(Authorization: )*((b|B)earer [a-zA-Z0-9+\\/._=-]{16,512})(={0,2})"
383291
- Basic Token: "(Authorization: )*((b|B)asic [a-zA-Z0-9+\\/._=-]{16,512})(={0,2})"
384292
- JSON Web Token: \beyJ[a-zA-Z0-9]{3,}\.eyJ[A-Za-z0-9_\\/+-]{3,}\.[A-Za-z0-9_\\/+-]{3,}\b
385-
- JSON Web Token Variable: (?i)JWT_SECRET
386293
# Tokens
387294
#- Refresh Token Variable: (?i)refresh[_-]{0,1}token
388-
- Access Token Variable: (?i)access[_-]{0,1}token
389-
- Token Variable: (?i)token
390-
- Password Variable: (?i)password
391-
- API Key Variable: (?i)_api_key
392-
- API Key Header Variable: X-Api-Key
393-
- Secret Key Variable: (?i)secret_key
394-
- User Key Variable: (?i)user_key
395-
- Secret Variable: (?i).+secret\b
396-
- Consumer Key Variable: (?i)consumer(\.|_)?key
397-
- Consumer Secret Variable: (?i)consumer(\.|_)?secret
398295
# URLs
399296
- Auth URL: (?i)((https?|ftps?|ssh|sftp)://[^":@>\]\[\n\s*/]+:[^:@/>\]\[\n\s*/]+([^>\]\[\n\s*:][@]{1})\w+(\.\w+)+)
400297
- Redis URL: (?i)((redis?)://[^":@>\]\[\n\s*/]+:[^:@/>\]\[\n\s*/]+([^>\]\[\n\s*:][@]{1})\w+(\.\w+)+)

0 commit comments

Comments
 (0)