forked from MASTERMONTYOFFICIAL/js_analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpatterns.txt
More file actions
80 lines (80 loc) · 4.33 KB
/
Copy pathpatterns.txt
File metadata and controls
80 lines (80 loc) · 4.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
AWS Access Key : AKIA[0-9A-Z]{16}
Google API Key:AIza[0-9A-Za-z\\-_]{35}
Firebase Secret:AAAA[A-Za-z0-9_-]{7}:[A-Za-z0-9_-]{140}
GitHub Token:ghp_[0-9a-zA-Z]{36}
GitLab Token:glpat-[0-9a-zA-Z-_]{20}
Slack Token:xox[baprs]-([0-9a-zA-Z]{10,48})?
Stripe Secret Key:sk_live_[0-9a-zA-Z]{24}
Stripe Publishable Key:pk_live_[0-9a-zA-Z]{24}
Twilio API Key:SK[0-9a-fA-F]{32}
SendGrid API Key:SG\.[\w\d\-_]{22}\.[\w\d\-_]{43}
Mailgun API Key:key-[0-9a-zA-Z]{32}
Dropbox Access Token:sl.[A-Za-z0-9_-]{20,100}
Shopify Access Token:shpat_[0-9a-fA-F]{32}
Facebook Access Token:EAACEdEose0cBA[0-9A-Za-z]+
Heroku API Key:[hH]eroku['\"][0-9a-f]{32}['\"]
DigitalOcean Token:dop_v1_[a-z0-9]{64}
Asana Personal Access Token:0/[0-9a-z]{32}
Linear API Key:lin_api_[a-zA-Z0-9]{40}
Telegram Bot Token:\d{9}:[a-zA-Z0-9_-]{35}
OAuth Client Secret:(?i)client_secret['"\s:=]+[a-zA-Z0-9\-_.~]{10,100}
OAuth Client ID:(?i)client_id['"\s:=]+[a-zA-Z0-9\-_.~]{10,100}
JWT Token:eyJ[A-Za-z0-9-_=]+?\.[A-Za-z0-9-_=]+\.?[A-Za-z0-9-_.+/=]*
Azure Client Secret:(?i)azure(.{0,20})?client.secret(.{0,20})?['\"][a-zA-Z0-9._%+-]{32,}['\"]
Microsoft Teams Webhook:https:\/\/[a-z]+\.webhook\.office\.com\/webhookb2\/[a-zA-Z0-9@\-]+\/.*
Private Key Block:-----BEGIN (RSA|DSA|EC|OPENSSH)? PRIVATE KEY-----
PEM File Content:-----BEGIN CERTIFICATE-----
PGP Private Key Block:-----BEGIN PGP PRIVATE KEY BLOCK-----
Bearer Token Generic:(?i)authorization:\s*Bearer\s+[a-zA-Z0-9\-._~+/]+=*
Session ID:(?i)(sessionid|session_id)['"\s:=]+[a-zA-Z0-9]{10,}
Cookie Name Generic:(?i)set-cookie:\s*[a-zA-Z0-9_-]+=
CSRF Token:(?i)csrf(token)?['"\s:=]+[a-zA-Z0-9-_]{8,}
JWT in Local Storage:localStorage\.setItem\(['"]token['"],\s*['"]eyJ[a-zA-Z0-9-_]+\.[a-zA-Z0-9-_]+\.[a-zA-Z0-9-_]+['"]\)
Password Assignment:(?i)(password|pwd|pass)['"\s:=]+[^\s'"]{4,100}
API Key in Variable:(?i)(api[_-]?key)['"\s:=]+[a-zA-Z0-9\-_.]{8,100}
Authorization Bearer Token:Bearer\s+[a-zA-Z0-9\-._~+/]+=*
MongoDB Connection URI:mongodb(\+srv)?:\/\/[^\s'"]+
PostgreSQL URI:postgres(?:ql)?:\/\/[^\s'"]+
MySQL URI:mysql:\/\/[^\s'"]+
Redis URI:redis:\/\/[^\s'"]+
Elasticsearch URI:elasticsearch:\/\/[^\s'"]+
Supabase DB Key:supabase\.co\/[a-z0-9]{15,}
Firebase URL:https:\/\/[a-z0-9-]+\.firebaseio\.com
JDBC URL:jdbc:\w+:\/\/[^\s'"]+
AWS RDS Hostname:[a-z0-9-]+\.rds\.amazonaws\.com
Cloud SQL URI (GCP):googleapis\.com\/sql\/v1beta4\/projects\/
Algolia API Key:(?i)(algolia|application)_?key['"\s:=]+[a-zA-Z0-9]{10,}
Firebase API Key:firebaseConfig\s*=\s*{[^}]*apiKey\s*:\s*['"][^'"]+['"]
Cloudinary URL:cloudinary:\/\/[0-9]{15}:[a-zA-Z0-9]+@[a-zA-Z]+
Sentry DSN:https:\/\/[a-zA-Z0-9]+@[a-z]+\.ingest\.sentry\.io\/\d+
Netlify Token:netlifyAuthToken\s*=\s*['"][a-z0-9]{40}['"]
GitHub OAuth App Secret:[a-f0-9]{40}
Segment API Key:(?i)segment(.{0,20})?key['"\s:=]+[a-zA-Z0-9]{10,}
Intercom Access Token:(?i)intercom(.{0,20})?token['"\s:=]+[a-zA-Z0-9-_]{20,}
Amplitude API Key:apiKey['"]?\s*:\s*['"][a-z0-9\-]{32,64}['"]
Plaid Client Secret:plaid(.{0,20})?(client)?secret['"\s:=]+[a-z0-9-_]{30,}
Docker Hub Password:(?i)docker(.{0,20})?password['"\s:=]+[^\s'"]{8,}
AWS IAM Role ARN:arn:aws:iam::[0-9]{12}:role\/[A-Za-z0-9_+=,.@\-_/]+
AWS S3 Bucket URL:s3:\/\/[a-z0-9\-\.]{3,63}
Kubernetes Secret Name:(?i)secretName:\s*['"]?[a-z0-9\-]+['"]?
Helm Secret Value:(?i)secret\s*:\s*['"][^'"]+['"]
GitHub Actions Secret Reference:secrets\.[A-Z0-9_]+
GitHub Actions Encrypted Value:encrypted_value:\s*['"][a-zA-Z0-9+/=]{10,}['"]
K8s Service Account Token:eyJhbGciOiJSUzI1NiIsImtpZCI6
Hashicorp Vault URL:https:\/\/vault\.[a-z0-9\-_\.]+\.com
CircleCI Token:circle-token=[a-z0-9]{40}
Travis CI Token:(?i)travis(.{0,20})?token['"\s:=]+[a-z0-9]{30,}
Jenkins Crumb Token:Jenkins-Crumb:\s*[a-z0-9]{30,}
Azure DevOps Token:[a-z0-9]{52}
GitHub Personal Access Token:ghp_[a-zA-Z0-9]{36}
GitHub Fine-Grained Token:github_pat_[0-9a-zA-Z_]{20,}
Bitbucket OAuth Key:bitbucket(.{0,20})?key['"\s:=]+[a-zA-Z0-9]{20,}
Bitbucket OAuth Secret:bitbucket(.{0,20})?secret['"\s:=]+[a-zA-Z0-9]{20,}
GitLab Runner Token:glrt-[a-zA-Z0-9_-]{20}
Netlify Access Token:netlifyAuthToken\s*=\s*['"][a-z0-9]{40}['"]
Private IP (Internal):\b(10\.\d{1,3}|\b192\.168|\b172\.(1[6-9]|2\d|3[01]))\.\d{1,3}\.\d{1,3}
Localhost Reference:localhost:[0-9]{2,5}
Dev/Stage URL:(dev|staging|test)\.[a-z0-9.-]+\.(com|net|io)
Internal Subdomain URL:https?:\/\/[a-z0-9.-]+\.internal\.[a-z]{2,}
Preprod URLs:https:\/\/preprod\.[a-z0-9-]+\.[a-z]{2,}
Email : /^[^\s@]+@[^\s@]+\.[^\s@]+$/