taiko-mono
taiko-mono copied to clipboard
feat(taikoon): geoblocking
Using Vercel's geolocation headers to ban the following countries:
const bannedCountries = [
'AF', // Afghanistan (AF)
'BY', // Belarus (BY)
'MM', // Burma/Myanmar (MM)
'CF', // Central African Republic (CF)
'CN', // China (CN)
'CU', // Cuba (CU)
'CD', // Democratic Republic of the Congo (CD)
'ET', // Ethiopia (ET)
'IR', // Iran (IR)
'IQ', // Iraq (IQ)
'LB', // Lebanon (LB)
'LY', // Libya (LY)
'ML', // Mali (ML)
'NI', // Nicaragua (NI)
'KP', // North Korea (KP)
'RU', // Russia (RU)
'SO', // Somalia (SO)
'SS', // South Sudan (SS)
'SD', // Sudan (SD)
'SY', // Syria (SY)
'VE', // Venezuela (VE)
'US', // United States (US)
]
feat(taikoon): geoblocking
Generated at commit: 7b155dfe4b4f70060e9341ffdfbc738e4ff196e2
🚨 Report Summary
Severity Level | Results | |
---|---|---|
Contracts | Critical High Medium Low Note Total | 2 2 0 6 41 51 |
Dependencies | Critical High Medium Low Note Total | 0 0 0 0 0 0 |
For more details view the full report in OpenZeppelin Code Inspector