[{"data":1,"prerenderedAt":1594},["ShallowReactive",2],{"navLinks":3,"sidebar_docs_navigation_\u002Fdocs\u002Fbot-detection":64,"navigation":191,"navLinks_footer":816,"\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fasn-classification_page":829,"\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fasn-classification_surround":1285,"\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fasn-classification":1288},{"id":4,"extension":5,"links":6,"meta":61,"stem":62,"__hash__":63},"navigationMenu\u002Fnavigation.json","json",[7,52,57],{"nested":8,"label":9,"icon":10,"to":11,"children":12},true,"Docs","i-lucide-book-open","\u002Fdocs\u002Fgetting-started",[13,19,26,32,39,45],{"label":14,"icon":15,"to":11,"description":16,"github":17,"badge":18},"Getting Started","i-lucide-rocket","An introduction to help you understand the core components.","https:\u002F\u002Fgithub.com\u002FSergo706\u002Fdocshub","Start Here",{"label":20,"icon":21,"to":22,"description":23,"github":24,"badge":25},"Auth H3 Client","i-lucide-key-round","\u002Fdocs\u002Fauth-h3client","Seamlessly enforce OAuth 2.0 authentication and session management integrated directly as the client of the IAM module.","https:\u002F\u002Fgithub.com\u002FSergo706\u002Fauth-h3client","Core",{"label":27,"icon":28,"to":29,"description":30,"github":31,"badge":25},"IAM","i-lucide-shield-check","\u002Fdocs\u002Fiam","Identity and Access Management featuring granular roles, permissions, and security policies.","https:\u002F\u002Fgithub.com\u002FSergo706\u002Fauth",{"label":33,"icon":34,"to":35,"description":36,"github":37,"badge":38},"Bot Detection","i-lucide-cpu","\u002Fdocs\u002Fbot-detection","Advanced behavioral analysis and request fingerprinting to stop malicious automated traffic.","https:\u002F\u002Fgithub.com\u002FSergo706\u002Fbot-detector","Security",{"label":40,"icon":41,"to":42,"description":43,"github":44,"badge":38},"Shield Base","i-lucide-database-zap","\u002Fdocs\u002Fshield-base","CLI and programmatic toolkit for compiling offline-ready IP intelligence databases from BGP, GeoIP, Tor, FireHOL, and other public threat feeds.","https:\u002F\u002Fgithub.com\u002FSergo706\u002Fshield-base-cli",{"label":46,"icon":47,"to":48,"description":49,"github":50,"badge":51},"Utils","i-lucide-wrench","\u002Fdocs\u002Futils","A standard library of highly optimized helpers for formatting, validation, and core logic.","https:\u002F\u002Fgithub.com\u002FSergo706\u002Futils","Library",{"nested":53,"label":54,"icon":55,"to":56},false,"Blog","i-lucide-pen-line","\u002Fblog",{"nested":53,"label":58,"icon":59,"to":60},"Website","lucide:app-window-mac","https:\u002F\u002Friavzon.com",{},"navigation","gkaQ0xRGxSLrLyM3kttLe0oBwkrR1EBjlepF8LSbwF8",[65],{"title":9,"path":66,"stem":67,"children":68,"page":53},"\u002Fdocs","docs",[69],{"title":70,"path":35,"stem":71,"children":72},"Bot Detector","docs\u002Fbot-detection\u002Findex",[73,74,77,81,85,106,180,183,187],{"title":70,"path":35,"stem":71},{"title":14,"path":75,"stem":76},"\u002Fdocs\u002Fbot-detection\u002Fgetting-started","docs\u002Fbot-detection\u002F00.getting-started",{"title":78,"path":79,"stem":80},"CLI","\u002Fdocs\u002Fbot-detection\u002Fcli","docs\u002Fbot-detection\u002F01.cli",{"title":82,"path":83,"stem":84},"Data Sources","\u002Fdocs\u002Fbot-detection\u002Fdata-sources","docs\u002Fbot-detection\u002F02.data-sources",{"title":86,"path":87,"stem":88,"children":89,"page":53},"Guides","\u002Fdocs\u002Fbot-detection\u002Fguides","docs\u002Fbot-detection\u002F03.guides",[90,94,98,102],{"title":91,"path":92,"stem":93},"Custom Checkers","\u002Fdocs\u002Fbot-detection\u002Fguides\u002Fcustom","docs\u002Fbot-detection\u002F03.guides\u002FCUSTOM",{"title":95,"path":96,"stem":97},"Scheduling Database Generation","\u002Fdocs\u002Fbot-detection\u002Fguides\u002Fgenerate","docs\u002Fbot-detection\u002F03.guides\u002FGENERATE",{"title":99,"path":100,"stem":101},"Logging","\u002Fdocs\u002Fbot-detection\u002Fguides\u002Flogging","docs\u002Fbot-detection\u002F03.guides\u002FLOGGING",{"title":103,"path":104,"stem":105},"Score Modes and Reputation Healing","\u002Fdocs\u002Fbot-detection\u002Fguides\u002Fscore","docs\u002Fbot-detection\u002F03.guides\u002FSCORE",{"title":107,"path":108,"stem":109,"children":110},"Checkers","\u002Fdocs\u002Fbot-detection\u002Fcheckers","docs\u002Fbot-detection\u002F04.checkers\u002Findex",[111,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176],{"title":107,"path":108,"stem":109},{"title":113,"path":114,"stem":115},"IP Validation","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fip-validation","docs\u002Fbot-detection\u002F04.checkers\u002F01.ip-validation",{"title":117,"path":118,"stem":119},"Good \u002F Bad Bot Verification","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fgood-bots","docs\u002Fbot-detection\u002F04.checkers\u002F02.good-bots",{"title":121,"path":122,"stem":123},"Browser & Device Fingerprint","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fbrowser-device","docs\u002Fbot-detection\u002F04.checkers\u002F03.browser-device",{"title":125,"path":126,"stem":127},"Locale Map","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Flocale-map","docs\u002Fbot-detection\u002F04.checkers\u002F04.locale-map",{"title":129,"path":130,"stem":131},"Known Threats","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fknown-threats","docs\u002Fbot-detection\u002F04.checkers\u002F05.known-threats",{"title":133,"path":134,"stem":135},"ASN Classification","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fasn-classification","docs\u002Fbot-detection\u002F04.checkers\u002F06.asn-classification",{"title":137,"path":138,"stem":139},"Tor Analysis","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Ftor-analysis","docs\u002Fbot-detection\u002F04.checkers\u002F07.tor-analysis",{"title":141,"path":142,"stem":143},"Timezone Consistency","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Ftimezone-consistency","docs\u002Fbot-detection\u002F04.checkers\u002F08.timezone-consistency",{"title":145,"path":146,"stem":147},"Honeypot","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fhoneypot","docs\u002Fbot-detection\u002F04.checkers\u002F09.honeypot",{"title":149,"path":150,"stem":151},"Known Bad IPs","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fknown-bad-ips","docs\u002Fbot-detection\u002F04.checkers\u002F10.known-bad-ips",{"title":153,"path":154,"stem":155},"Behavior Rate","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fbehavior-rate","docs\u002Fbot-detection\u002F04.checkers\u002F11.behavior-rate",{"title":157,"path":158,"stem":159},"Proxy \u002F ISP \u002F Cookie","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fproxy-isp-cookies","docs\u002Fbot-detection\u002F04.checkers\u002F12.proxy-isp-cookies",{"title":161,"path":162,"stem":163},"Session Coherence","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fsession-coherence","docs\u002Fbot-detection\u002F04.checkers\u002F13.session-coherence",{"title":165,"path":166,"stem":167},"Velocity Fingerprint","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fvelocity-fingerprint","docs\u002Fbot-detection\u002F04.checkers\u002F14.velocity-fingerprint",{"title":169,"path":170,"stem":171},"UA & Header Analysis","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fua-header","docs\u002Fbot-detection\u002F04.checkers\u002F15.ua-header",{"title":173,"path":174,"stem":175},"Geolocation","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fgeolocation","docs\u002Fbot-detection\u002F04.checkers\u002F16.geolocation",{"title":177,"path":178,"stem":179},"Known Bad User-Agents","\u002Fdocs\u002Fbot-detection\u002Fcheckers\u002Fknown-bad-ua","docs\u002Fbot-detection\u002F04.checkers\u002F17.known-bad-ua",{"title":38,"path":181,"stem":182},"\u002Fdocs\u002Fbot-detection\u002Fsecurity","docs\u002Fbot-detection\u002F04.security",{"title":184,"path":185,"stem":186},"API Reference","\u002Fdocs\u002Fbot-detection\u002Fapi","docs\u002Fbot-detection\u002F05.api",{"title":188,"path":189,"stem":190},"Configuration","\u002Fdocs\u002Fbot-detection\u002Fconfiguration","docs\u002Fbot-detection\u002F06.configuration",[192],{"title":9,"path":66,"stem":67,"children":193,"page":53},[194,338,373,378,556,623],{"title":20,"path":22,"stem":195,"children":196},"docs\u002Fauth-h3client\u002Findex",[197,198,207,243,269,291,294,314,317],{"title":20,"path":22,"stem":195},{"title":14,"path":199,"stem":200,"children":201},"\u002Fdocs\u002Fauth-h3client\u002Fgetting-started","docs\u002Fauth-h3client\u002F00.getting-started\u002Findex",[202,203],{"title":14,"path":199,"stem":200},{"title":204,"path":205,"stem":206},"Nuxt Module","\u002Fdocs\u002Fauth-h3client\u002Fgetting-started\u002Fnuxt","docs\u002Fauth-h3client\u002F00.getting-started\u002F00.nuxt",{"title":208,"path":209,"stem":210,"children":211},"Essentials","\u002Fdocs\u002Fauth-h3client\u002Fessentials","docs\u002Fauth-h3client\u002F01.essentials\u002Findex",[212,213,217,221,225,229,233,236,240],{"title":208,"path":209,"stem":210},{"title":214,"path":215,"stem":216},"Session Management","\u002Fdocs\u002Fauth-h3client\u002Fessentials\u002Fsession","docs\u002Fauth-h3client\u002F01.essentials\u002F00.session",{"title":218,"path":219,"stem":220},"Route Protection","\u002Fdocs\u002Fauth-h3client\u002Fessentials\u002Froute-protection","docs\u002Fauth-h3client\u002F01.essentials\u002F01.route-protection",{"title":222,"path":223,"stem":224},"CSRF Protection","\u002Fdocs\u002Fauth-h3client\u002Fessentials\u002Fcsrf","docs\u002Fauth-h3client\u002F01.essentials\u002F02.csrf",{"title":226,"path":227,"stem":228},"Auth Flows","\u002Fdocs\u002Fauth-h3client\u002Fessentials\u002Fauth-flows","docs\u002Fauth-h3client\u002F01.essentials\u002F03.auth-flows",{"title":230,"path":231,"stem":232},"OAuth and OIDC","\u002Fdocs\u002Fauth-h3client\u002Fessentials\u002Foauth","docs\u002Fauth-h3client\u002F01.essentials\u002F04.oauth",{"title":33,"path":234,"stem":235},"\u002Fdocs\u002Fauth-h3client\u002Fessentials\u002Fbot-detection","docs\u002Fauth-h3client\u002F01.essentials\u002F05.bot-detection",{"title":237,"path":238,"stem":239},"Cookies","\u002Fdocs\u002Fauth-h3client\u002Fessentials\u002Fcookies","docs\u002Fauth-h3client\u002F01.essentials\u002F06.cookies",{"title":99,"path":241,"stem":242},"\u002Fdocs\u002Fauth-h3client\u002Fessentials\u002Flogging","docs\u002Fauth-h3client\u002F01.essentials\u002F07.logging",{"title":244,"path":245,"stem":246,"children":247},"MFA","\u002Fdocs\u002Fauth-h3client\u002Fmfa","docs\u002Fauth-h3client\u002F02.mfa\u002Findex",[248,249,253,257,261,265],{"title":244,"path":245,"stem":246},{"title":250,"path":251,"stem":252},"Built-in MFA","\u002Fdocs\u002Fauth-h3client\u002Fmfa\u002Fbuilt-in-flow","docs\u002Fauth-h3client\u002F02.mfa\u002F01.built-in-flow",{"title":254,"path":255,"stem":256},"Password Reset","\u002Fdocs\u002Fauth-h3client\u002Fmfa\u002Fpassword-reset","docs\u002Fauth-h3client\u002F02.mfa\u002F02.password-reset",{"title":258,"path":259,"stem":260},"Email Change","\u002Fdocs\u002Fauth-h3client\u002Fmfa\u002Femail-change","docs\u002Fauth-h3client\u002F02.mfa\u002F03.email-change",{"title":262,"path":263,"stem":264},"Custom MFA Flow","\u002Fdocs\u002Fauth-h3client\u002Fmfa\u002Fcustom-flow","docs\u002Fauth-h3client\u002F02.mfa\u002F04.custom-flow",{"title":266,"path":267,"stem":268},"Client-Side MFA","\u002Fdocs\u002Fauth-h3client\u002Fmfa\u002Fclient-side","docs\u002Fauth-h3client\u002F02.mfa\u002F05.client-side",{"title":270,"path":271,"stem":272,"children":273},"Client-side","\u002Fdocs\u002Fauth-h3client\u002Fclient","docs\u002Fauth-h3client\u002F03.client\u002Findex",[274,275,279,283,287],{"title":270,"path":271,"stem":272},{"title":276,"path":277,"stem":278},"useAuthData","\u002Fdocs\u002Fauth-h3client\u002Fclient\u002Fuse-auth-data","docs\u002Fauth-h3client\u002F03.client\u002F00.use-auth-data",{"title":280,"path":281,"stem":282},"useMagicLink","\u002Fdocs\u002Fauth-h3client\u002Fclient\u002Fuse-magic-link","docs\u002Fauth-h3client\u002F03.client\u002F01.use-magic-link",{"title":284,"path":285,"stem":286},"executeRequest","\u002Fdocs\u002Fauth-h3client\u002Fclient\u002Fexecute-request","docs\u002Fauth-h3client\u002F03.client\u002F02.execute-request",{"title":288,"path":289,"stem":290},"getCsrfToken","\u002Fdocs\u002Fauth-h3client\u002Fclient\u002Fget-csrf-token","docs\u002Fauth-h3client\u002F03.client\u002F03.get-csrf-token",{"title":38,"path":292,"stem":293},"\u002Fdocs\u002Fauth-h3client\u002Fsecurity","docs\u002Fauth-h3client\u002F04.security",{"title":86,"path":295,"stem":296,"children":297,"page":53},"\u002Fdocs\u002Fauth-h3client\u002Fguides","docs\u002Fauth-h3client\u002F05.guides",[298,302,306,310],{"title":299,"path":300,"stem":301},"H3 and Nitro Setup","\u002Fdocs\u002Fauth-h3client\u002Fguides\u002Fh3-nitro","docs\u002Fauth-h3client\u002F05.guides\u002F00.h3-nitro",{"title":303,"path":304,"stem":305},"HMAC Inter-service Auth","\u002Fdocs\u002Fauth-h3client\u002Fguides\u002Fhmac","docs\u002Fauth-h3client\u002F05.guides\u002Fhmac",{"title":307,"path":308,"stem":309},"Image Upload","\u002Fdocs\u002Fauth-h3client\u002Fguides\u002Fimage-upload","docs\u002Fauth-h3client\u002F05.guides\u002Fimage-upload",{"title":311,"path":312,"stem":313},"mTLS Configuration","\u002Fdocs\u002Fauth-h3client\u002Fguides\u002Fmtls","docs\u002Fauth-h3client\u002F05.guides\u002Fmtls",{"title":188,"path":315,"stem":316},"\u002Fdocs\u002Fauth-h3client\u002Fconfiguration","docs\u002Fauth-h3client\u002F06.configuration",{"title":184,"path":318,"stem":319,"children":320},"\u002Fdocs\u002Fauth-h3client\u002Fapi","docs\u002Fauth-h3client\u002F07.api\u002Findex",[321,322,326,330,334],{"title":184,"path":318,"stem":319},{"title":323,"path":324,"stem":325},"Routes Reference","\u002Fdocs\u002Fauth-h3client\u002Fapi\u002Fcontrollers","docs\u002Fauth-h3client\u002F07.api\u002F00.controllers",{"title":327,"path":328,"stem":329},"Middleware Reference","\u002Fdocs\u002Fauth-h3client\u002Fapi\u002Fmiddleware","docs\u002Fauth-h3client\u002F07.api\u002F01.middleware",{"title":331,"path":332,"stem":333},"Client-side Reference","\u002Fdocs\u002Fauth-h3client\u002Fapi\u002Fcomposables","docs\u002Fauth-h3client\u002F07.api\u002F02.composables",{"title":335,"path":336,"stem":337},"Utilities","\u002Fdocs\u002Fauth-h3client\u002Fapi\u002Futilities","docs\u002Fauth-h3client\u002F07.api\u002F03.utilities",{"title":70,"path":35,"stem":71,"children":339},[340,341,342,343,344,350,370,371,372],{"title":70,"path":35,"stem":71},{"title":14,"path":75,"stem":76},{"title":78,"path":79,"stem":80},{"title":82,"path":83,"stem":84},{"title":86,"path":87,"stem":88,"children":345,"page":53},[346,347,348,349],{"title":91,"path":92,"stem":93},{"title":95,"path":96,"stem":97},{"title":99,"path":100,"stem":101},{"title":103,"path":104,"stem":105},{"title":107,"path":108,"stem":109,"children":351},[352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369],{"title":107,"path":108,"stem":109},{"title":113,"path":114,"stem":115},{"title":117,"path":118,"stem":119},{"title":121,"path":122,"stem":123},{"title":125,"path":126,"stem":127},{"title":129,"path":130,"stem":131},{"title":133,"path":134,"stem":135},{"title":137,"path":138,"stem":139},{"title":141,"path":142,"stem":143},{"title":145,"path":146,"stem":147},{"title":149,"path":150,"stem":151},{"title":153,"path":154,"stem":155},{"title":157,"path":158,"stem":159},{"title":161,"path":162,"stem":163},{"title":165,"path":166,"stem":167},{"title":169,"path":170,"stem":171},{"title":173,"path":174,"stem":175},{"title":177,"path":178,"stem":179},{"title":38,"path":181,"stem":182},{"title":184,"path":185,"stem":186},{"title":188,"path":189,"stem":190},{"title":374,"path":11,"stem":375,"children":376},"Introduction","docs\u002Fgetting-started\u002Findex",[377],{"title":374,"path":11,"stem":375},{"title":27,"path":29,"stem":379,"children":380},"docs\u002Fiam\u002Findex",[381,382,385,520,523,539,542],{"title":27,"path":29,"stem":379},{"title":14,"path":383,"stem":384},"\u002Fdocs\u002Fiam\u002Fgetting-started","docs\u002Fiam\u002F00.getting-started",{"title":208,"path":386,"stem":387,"children":388},"\u002Fdocs\u002Fiam\u002Fessentials","docs\u002Fiam\u002F01.essentials\u002Findex",[389,390,394,398,402,406,410,414,418,422,426,430,433,437,441,445,449,452,456,460,463,467,470],{"title":208,"path":386,"stem":387},{"title":391,"path":392,"stem":393},"Tokens","\u002Fdocs\u002Fiam\u002Fessentials\u002Ftokens","docs\u002Fiam\u002F01.essentials\u002F00.tokens",{"title":395,"path":396,"stem":397},"Access Tokens","\u002Fdocs\u002Fiam\u002Fessentials\u002Faccess-tokens","docs\u002Fiam\u002F01.essentials\u002F01.access-tokens",{"title":399,"path":400,"stem":401},"Refresh Tokens","\u002Fdocs\u002Fiam\u002Fessentials\u002Frefresh-tokens","docs\u002Fiam\u002F01.essentials\u002F02.refresh-tokens",{"title":403,"path":404,"stem":405},"Anomaly Detection","\u002Fdocs\u002Fiam\u002Fessentials\u002Fanomalies","docs\u002Fiam\u002F01.essentials\u002F03.anomalies",{"title":407,"path":408,"stem":409},"Signup","\u002Fdocs\u002Fiam\u002Fessentials\u002Fsignup","docs\u002Fiam\u002F01.essentials\u002F04.signup",{"title":411,"path":412,"stem":413},"Login","\u002Fdocs\u002Fiam\u002Fessentials\u002Flogin","docs\u002Fiam\u002F01.essentials\u002F05.login",{"title":415,"path":416,"stem":417},"Logout","\u002Fdocs\u002Fiam\u002Fessentials\u002Flogout","docs\u002Fiam\u002F01.essentials\u002F06.logout",{"title":419,"path":420,"stem":421},"OAuth","\u002Fdocs\u002Fiam\u002Fessentials\u002Foauth","docs\u002Fiam\u002F01.essentials\u002F07.oauth",{"title":423,"path":424,"stem":425},"Magic Links","\u002Fdocs\u002Fiam\u002Fessentials\u002Fmagic-links","docs\u002Fiam\u002F01.essentials\u002F08.magic-links",{"title":427,"path":428,"stem":429},"Emails","\u002Fdocs\u002Fiam\u002Fessentials\u002Femails","docs\u002Fiam\u002F01.essentials\u002F09.emails",{"title":244,"path":431,"stem":432},"\u002Fdocs\u002Fiam\u002Fessentials\u002Fmfa","docs\u002Fiam\u002F01.essentials\u002F10.mfa",{"title":434,"path":435,"stem":436},"Fingerprinting","\u002Fdocs\u002Fiam\u002Fessentials\u002Ffingerprinting","docs\u002Fiam\u002F01.essentials\u002F11.fingerprinting",{"title":438,"path":439,"stem":440},"Backend for Frontend","\u002Fdocs\u002Fiam\u002Fessentials\u002Fbff","docs\u002Fiam\u002F01.essentials\u002F12.bff",{"title":442,"path":443,"stem":444},"HMAC Authentication","\u002Fdocs\u002Fiam\u002Fessentials\u002Fhmac","docs\u002Fiam\u002F01.essentials\u002F13.hmac",{"title":446,"path":447,"stem":448},"XSS Protection","\u002Fdocs\u002Fiam\u002Fessentials\u002Fxss","docs\u002Fiam\u002F01.essentials\u002F14.xss",{"title":99,"path":450,"stem":451},"\u002Fdocs\u002Fiam\u002Fessentials\u002Flogging","docs\u002Fiam\u002F01.essentials\u002F15.logging",{"title":453,"path":454,"stem":455},"Rate Limiting","\u002Fdocs\u002Fiam\u002Fessentials\u002Frate-limiting","docs\u002Fiam\u002F01.essentials\u002F16.rate-limiting",{"title":457,"path":458,"stem":459},"Database","\u002Fdocs\u002Fiam\u002Fessentials\u002Fdatabase","docs\u002Fiam\u002F01.essentials\u002F17.database",{"title":237,"path":461,"stem":462},"\u002Fdocs\u002Fiam\u002Fessentials\u002Fcookies","docs\u002Fiam\u002F01.essentials\u002F18.cookies",{"title":464,"path":465,"stem":466},"Service Startup","\u002Fdocs\u002Fiam\u002Fessentials\u002Fservice","docs\u002Fiam\u002F01.essentials\u002F19.service",{"title":254,"path":468,"stem":469},"\u002Fdocs\u002Fiam\u002Fessentials\u002Fpassword-reset","docs\u002Fiam\u002F01.essentials\u002F20.password-reset",{"title":471,"path":472,"stem":473,"children":474},"API Tokens","\u002Fdocs\u002Fiam\u002Fessentials\u002Fapi","docs\u002Fiam\u002F01.essentials\u002F21.api\u002Findex",[475,476,480,484,514,517],{"title":471,"path":472,"stem":473},{"title":477,"path":478,"stem":479},"Creating Tokens","\u002Fdocs\u002Fiam\u002Fessentials\u002Fapi\u002Fcreation","docs\u002Fiam\u002F01.essentials\u002F21.api\u002F00.creation",{"title":481,"path":482,"stem":483},"Verifying Tokens","\u002Fdocs\u002Fiam\u002Fessentials\u002Fapi\u002Fverification","docs\u002Fiam\u002F01.essentials\u002F21.api\u002F01.verification",{"title":485,"path":486,"stem":487,"children":488},"Manage Tokens","\u002Fdocs\u002Fiam\u002Fessentials\u002Fapi\u002Fmanagement","docs\u002Fiam\u002F01.essentials\u002F21.api\u002F02.management\u002Findex",[489,490,494,498,502,506,510],{"title":485,"path":486,"stem":487},{"title":491,"path":492,"stem":493},"Privileges","\u002Fdocs\u002Fiam\u002Fessentials\u002Fapi\u002Fmanagement\u002Fprivilege","docs\u002Fiam\u002F01.essentials\u002F21.api\u002F02.management\u002F00.privilege",{"title":495,"path":496,"stem":497},"Revocation","\u002Fdocs\u002Fiam\u002Fessentials\u002Fapi\u002Fmanagement\u002Frevocation","docs\u002Fiam\u002F01.essentials\u002F21.api\u002F02.management\u002F01.revocation",{"title":499,"path":500,"stem":501},"Rotation","\u002Fdocs\u002Fiam\u002Fessentials\u002Fapi\u002Fmanagement\u002Frotation","docs\u002Fiam\u002F01.essentials\u002F21.api\u002F02.management\u002F02.rotation",{"title":503,"path":504,"stem":505},"IP Restriction","\u002Fdocs\u002Fiam\u002Fessentials\u002Fapi\u002Fmanagement\u002Fip-updates","docs\u002Fiam\u002F01.essentials\u002F21.api\u002F02.management\u002F03.ip-updates",{"title":507,"path":508,"stem":509},"Metadata","\u002Fdocs\u002Fiam\u002Fessentials\u002Fapi\u002Fmanagement\u002Fmetadata","docs\u002Fiam\u002F01.essentials\u002F21.api\u002F02.management\u002F04.metadata",{"title":511,"path":512,"stem":513},"Token Listing","\u002Fdocs\u002Fiam\u002Fessentials\u002Fapi\u002Fmanagement\u002Flist","docs\u002Fiam\u002F01.essentials\u002F21.api\u002F02.management\u002F05.list",{"title":453,"path":515,"stem":516},"\u002Fdocs\u002Fiam\u002Fessentials\u002Fapi\u002Frate-limiting","docs\u002Fiam\u002F01.essentials\u002F21.api\u002F03.rate-limiting",{"title":38,"path":518,"stem":519},"\u002Fdocs\u002Fiam\u002Fessentials\u002Fapi\u002Fsecurity","docs\u002Fiam\u002F01.essentials\u002F21.api\u002F04.security",{"title":38,"path":521,"stem":522},"\u002Fdocs\u002Fiam\u002Fsecurity","docs\u002Fiam\u002F02.security",{"title":86,"path":524,"stem":525,"children":526,"page":53},"\u002Fdocs\u002Fiam\u002Fguides","docs\u002Fiam\u002F03.guides",[527,531,535],{"title":528,"path":529,"stem":530},"Deployment","\u002Fdocs\u002Fiam\u002Fguides\u002Fdeployment","docs\u002Fiam\u002F03.guides\u002Fdeployment",{"title":532,"path":533,"stem":534},"Operation Scripts","\u002Fdocs\u002Fiam\u002Fguides\u002Foperation-scripts","docs\u002Fiam\u002F03.guides\u002Foperation-scripts",{"title":536,"path":537,"stem":538},"Role-Based Access Control","\u002Fdocs\u002Fiam\u002Fguides\u002Frbac","docs\u002Fiam\u002F03.guides\u002Frbac",{"title":188,"path":540,"stem":541},"\u002Fdocs\u002Fiam\u002Fconfiguration","docs\u002Fiam\u002F04.configuration",{"title":543,"path":544,"stem":545,"children":546,"page":53},"Api","\u002Fdocs\u002Fiam\u002Fapi","docs\u002Fiam\u002F05.API",[547,550,553],{"title":184,"path":548,"stem":549},"\u002Fdocs\u002Fiam\u002Fapi\u002Fapi","docs\u002Fiam\u002F05.API\u002F00.api",{"title":327,"path":551,"stem":552},"\u002Fdocs\u002Fiam\u002Fapi\u002Fmiddlewares","docs\u002Fiam\u002F05.API\u002F02.middlewares",{"title":323,"path":554,"stem":555},"\u002Fdocs\u002Fiam\u002Fapi\u002Froutes","docs\u002Fiam\u002F05.API\u002F03.routes",{"title":40,"path":42,"stem":557,"children":558},"docs\u002Fshield-base\u002Findex",[559,560,563,567,608,612,616,620],{"title":40,"path":42,"stem":557},{"title":14,"path":561,"stem":562},"\u002Fdocs\u002Fshield-base\u002Fgetting-started","docs\u002Fshield-base\u002F00.getting-started",{"title":564,"path":565,"stem":566},"CLI Reference","\u002Fdocs\u002Fshield-base\u002Fcli","docs\u002Fshield-base\u002F01.cli",{"title":82,"path":568,"stem":569,"children":570},"\u002Fdocs\u002Fshield-base\u002Fdata-sources","docs\u002Fshield-base\u002F02.data-sources\u002Findex",[571,572,576,580,584,588,592,596,600,604],{"title":82,"path":568,"stem":569},{"title":573,"path":574,"stem":575},"BGP \u002F ASN","\u002Fdocs\u002Fshield-base\u002Fdata-sources\u002Fbgp","docs\u002Fshield-base\u002F02.data-sources\u002Fbgp",{"title":577,"path":578,"stem":579},"City Geolocation","\u002Fdocs\u002Fshield-base\u002Fdata-sources\u002Fcity","docs\u002Fshield-base\u002F02.data-sources\u002Fcity",{"title":581,"path":582,"stem":583},"Country Geolocation","\u002Fdocs\u002Fshield-base\u002Fdata-sources\u002Fcountry","docs\u002Fshield-base\u002F02.data-sources\u002Fcountry",{"title":585,"path":586,"stem":587},"Verified Crawlers","\u002Fdocs\u002Fshield-base\u002Fdata-sources\u002Fcrawlers","docs\u002Fshield-base\u002F02.data-sources\u002Fcrawlers",{"title":589,"path":590,"stem":591},"Disposable Emails","\u002Fdocs\u002Fshield-base\u002Fdata-sources\u002Femail","docs\u002Fshield-base\u002F02.data-sources\u002Femail",{"title":593,"path":594,"stem":595},"FireHOL Threat Intelligence","\u002Fdocs\u002Fshield-base\u002Fdata-sources\u002Ffirehol","docs\u002Fshield-base\u002F02.data-sources\u002Ffirehol",{"title":597,"path":598,"stem":599},"Proxy Detection","\u002Fdocs\u002Fshield-base\u002Fdata-sources\u002Fproxy","docs\u002Fshield-base\u002F02.data-sources\u002Fproxy",{"title":601,"path":602,"stem":603},"Tor Nodes","\u002Fdocs\u002Fshield-base\u002Fdata-sources\u002Ftor","docs\u002Fshield-base\u002F02.data-sources\u002Ftor",{"title":605,"path":606,"stem":607},"Suspicious User-Agents","\u002Fdocs\u002Fshield-base\u002Fdata-sources\u002Fuseragent","docs\u002Fshield-base\u002F02.data-sources\u002Fuseragent",{"title":609,"path":610,"stem":611},"Programmatic Usage","\u002Fdocs\u002Fshield-base\u002Fusage","docs\u002Fshield-base\u002F03.usage",{"title":613,"path":614,"stem":615},"Custom Data Sources","\u002Fdocs\u002Fshield-base\u002Fcustom-data-sources","docs\u002Fshield-base\u002F04.custom-data-sources",{"title":617,"path":618,"stem":619},"TypeScript Types","\u002Fdocs\u002Fshield-base\u002Ftypes","docs\u002Fshield-base\u002F05.types",{"title":184,"path":621,"stem":622},"\u002Fdocs\u002Fshield-base\u002Fapi","docs\u002Fshield-base\u002F06.api",{"title":335,"path":48,"stem":624,"children":625},"docs\u002Futils\u002Findex",[626,627,644,677,774],{"title":335,"path":48,"stem":624},{"title":628,"path":629,"stem":630,"children":631,"page":53},"Eslint","\u002Fdocs\u002Futils\u002Feslint","docs\u002Futils\u002Feslint",[632,636,640],{"title":633,"path":634,"stem":635},"React Config","\u002Fdocs\u002Futils\u002Feslint\u002Freact","docs\u002Futils\u002Feslint\u002Freact",{"title":637,"path":638,"stem":639},"TypeScript Config","\u002Fdocs\u002Futils\u002Feslint\u002Ftypescript","docs\u002Futils\u002Feslint\u002Ftypescript",{"title":641,"path":642,"stem":643},"Vue Config","\u002Fdocs\u002Futils\u002Feslint\u002Fvue","docs\u002Futils\u002Feslint\u002Fvue",{"title":645,"path":646,"stem":647,"children":648,"page":53},"Server","\u002Fdocs\u002Futils\u002Fserver","docs\u002Futils\u002Fserver",[649,653,657,661,665,669,673],{"title":650,"path":651,"stem":652},"Encryption","\u002Fdocs\u002Futils\u002Fserver\u002Fencryption","docs\u002Futils\u002Fserver\u002Fencryption",{"title":654,"path":655,"stem":656},"Path Resolver","\u002Fdocs\u002Futils\u002Fserver\u002Fpathresolver","docs\u002Futils\u002Fserver\u002FpathResolver",{"title":658,"path":659,"stem":660},"File Replacements","\u002Fdocs\u002Futils\u002Fserver\u002Freplace","docs\u002Futils\u002Fserver\u002Freplace",{"title":662,"path":663,"stem":664},"run","\u002Fdocs\u002Futils\u002Fserver\u002Frun","docs\u002Futils\u002Fserver\u002Frun",{"title":666,"path":667,"stem":668},"scheduleTask","\u002Fdocs\u002Futils\u002Fserver\u002Fscheduletask","docs\u002Futils\u002Fserver\u002FscheduleTask",{"title":670,"path":671,"stem":672},"spawnRun","\u002Fdocs\u002Futils\u002Fserver\u002Fspawnrun","docs\u002Futils\u002Fserver\u002FspawnRun",{"title":674,"path":675,"stem":676},"uploadCsv","\u002Fdocs\u002Futils\u002Fserver\u002Fuploadcsv","docs\u002Futils\u002Fserver\u002FuploadCsv",{"title":678,"path":679,"stem":680,"children":681,"page":53},"Shared","\u002Fdocs\u002Futils\u002Fshared","docs\u002Futils\u002Fshared",[682,686,690,694,698,702,706,710,714,718,722,726,730,734,738,742,746,750,754,758,762,766,770],{"title":683,"path":684,"stem":685},"BatchQueue","\u002Fdocs\u002Futils\u002Fshared\u002Fbatchqueue","docs\u002Futils\u002Fshared\u002FbatchQueue",{"title":687,"path":688,"stem":689},"capitalize","\u002Fdocs\u002Futils\u002Fshared\u002Fcapitalize","docs\u002Futils\u002Fshared\u002Fcapitalize",{"title":691,"path":692,"stem":693},"chunkProcess","\u002Fdocs\u002Futils\u002Fshared\u002Fchunkprocess","docs\u002Futils\u002Fshared\u002FchunkProcess",{"title":695,"path":696,"stem":697},"cleanObject","\u002Fdocs\u002Futils\u002Fshared\u002Fcleanobject","docs\u002Futils\u002Fshared\u002FcleanObject",{"title":699,"path":700,"stem":701},"createConfigManager","\u002Fdocs\u002Futils\u002Fshared\u002Fconfigurationdefiner","docs\u002Futils\u002Fshared\u002FconfigurationDefiner",{"title":703,"path":704,"stem":705},"debounce","\u002Fdocs\u002Futils\u002Fshared\u002Fdebounce","docs\u002Futils\u002Fshared\u002Fdebounce",{"title":707,"path":708,"stem":709},"ensureArray","\u002Fdocs\u002Futils\u002Fshared\u002Fensurearray","docs\u002Futils\u002Fshared\u002FensureArray",{"title":711,"path":712,"stem":713},"fetchWithRetry","\u002Fdocs\u002Futils\u002Fshared\u002Ffetchwithretry","docs\u002Futils\u002Fshared\u002FfetchWithRetry",{"title":715,"path":716,"stem":717},"filterEmptyValues","\u002Fdocs\u002Futils\u002Fshared\u002Ffilteremptyvalues","docs\u002Futils\u002Fshared\u002FfilterEmptyValues",{"title":719,"path":720,"stem":721},"findStringsInObject","\u002Fdocs\u002Futils\u002Fshared\u002Ffindobjectvalues","docs\u002Futils\u002Fshared\u002FfindObjectValues",{"title":723,"path":724,"stem":725},"fisherYatesShuffle","\u002Fdocs\u002Futils\u002Fshared\u002Ffisheryatesshuffle","docs\u002Futils\u002Fshared\u002FfisherYatesShuffle",{"title":727,"path":728,"stem":729},"getRandomImage","\u002Fdocs\u002Futils\u002Fshared\u002Fgetrandomimage","docs\u002Futils\u002Fshared\u002FgetRandomImage",{"title":731,"path":732,"stem":733},"isObjectHasValues","\u002Fdocs\u002Futils\u002Fshared\u002Fisobjecthasvalues","docs\u002Futils\u002Fshared\u002FisObjectHasValues",{"title":735,"path":736,"stem":737},"isAsyncOrPromise","\u002Fdocs\u002Futils\u002Fshared\u002Fispromise","docs\u002Futils\u002Fshared\u002FisPromise",{"title":739,"path":740,"stem":741},"MiniCache","\u002Fdocs\u002Futils\u002Fshared\u002Fminicache","docs\u002Futils\u002Fshared\u002FminiCache",{"title":743,"path":744,"stem":745},"parseCookies","\u002Fdocs\u002Futils\u002Fshared\u002Fparserawcookies","docs\u002Futils\u002Fshared\u002FparseRawCookies",{"title":747,"path":748,"stem":749},"safeAction","\u002Fdocs\u002Futils\u002Fshared\u002Fpromiselocker","docs\u002Futils\u002Fshared\u002FpromiseLocker",{"title":751,"path":752,"stem":753},"Random","\u002Fdocs\u002Futils\u002Fshared\u002Frandom","docs\u002Futils\u002Fshared\u002Frandom",{"title":755,"path":756,"stem":757},"range","\u002Fdocs\u002Futils\u002Fshared\u002Frange","docs\u002Futils\u002Fshared\u002Frange",{"title":759,"path":760,"stem":761},"rateLimiters","\u002Fdocs\u002Futils\u002Fshared\u002Fratelimiters","docs\u002Futils\u002Fshared\u002FrateLimiters",{"title":763,"path":764,"stem":765},"safeObjectMerge","\u002Fdocs\u002Futils\u002Fshared\u002Fsafemerge","docs\u002Futils\u002Fshared\u002FsafeMerge",{"title":767,"path":768,"stem":769},"textTruncation","\u002Fdocs\u002Futils\u002Fshared\u002Ftexttruncation","docs\u002Futils\u002Fshared\u002FtextTruncation",{"title":771,"path":772,"stem":773},"validateZodSchema","\u002Fdocs\u002Futils\u002Fshared\u002Fvalidatezodschema","docs\u002Futils\u002Fshared\u002FvalidateZodSchema",{"title":775,"path":776,"stem":777,"children":778},"Utility Types","\u002Fdocs\u002Futils\u002Ftypes","docs\u002Futils\u002Ftypes\u002Findex",[779,780,784,788,792,796,800,804,808,812],{"title":775,"path":776,"stem":777},{"title":781,"path":782,"stem":783},"Brand","\u002Fdocs\u002Futils\u002Ftypes\u002Fbrand","docs\u002Futils\u002Ftypes\u002FBrand",{"title":785,"path":786,"stem":787},"DeepPartial","\u002Fdocs\u002Futils\u002Ftypes\u002Fdeeppartial","docs\u002Futils\u002Ftypes\u002FDeepPartial",{"title":789,"path":790,"stem":791},"Merge","\u002Fdocs\u002Futils\u002Ftypes\u002Fmerge","docs\u002Futils\u002Ftypes\u002FMerge",{"title":793,"path":794,"stem":795},"NonNullable","\u002Fdocs\u002Futils\u002Ftypes\u002Fnonnullable","docs\u002Futils\u002Ftypes\u002FNonNullable",{"title":797,"path":798,"stem":799},"Prettify","\u002Fdocs\u002Futils\u002Ftypes\u002Fprettify","docs\u002Futils\u002Ftypes\u002FPrettify",{"title":801,"path":802,"stem":803},"PromiseType","\u002Fdocs\u002Futils\u002Ftypes\u002Fpromisetype","docs\u002Futils\u002Ftypes\u002FPromiseType",{"title":805,"path":806,"stem":807},"RequireKeys","\u002Fdocs\u002Futils\u002Ftypes\u002Frequirekeys","docs\u002Futils\u002Ftypes\u002FRequireKeys",{"title":809,"path":810,"stem":811},"StandardResponse","\u002Fdocs\u002Futils\u002Ftypes\u002Fstandardresponse","docs\u002Futils\u002Ftypes\u002FStandardResponse",{"title":813,"path":814,"stem":815},"ValueOf","\u002Fdocs\u002Futils\u002Ftypes\u002Fvalueof","docs\u002Futils\u002Ftypes\u002FValueOf",{"id":4,"extension":5,"links":817,"meta":828,"stem":62,"__hash__":63},[818,826,827],{"nested":8,"label":9,"icon":10,"to":11,"children":819},[820,821,822,823,824,825],{"label":14,"icon":15,"to":11,"description":16,"github":17,"badge":18},{"label":20,"icon":21,"to":22,"description":23,"github":24,"badge":25},{"label":27,"icon":28,"to":29,"description":30,"github":31,"badge":25},{"label":33,"icon":34,"to":35,"description":36,"github":37,"badge":38},{"label":40,"icon":41,"to":42,"description":43,"github":44,"badge":38},{"label":46,"icon":47,"to":48,"description":49,"github":50,"badge":51},{"nested":53,"label":54,"icon":55,"to":56},{"nested":53,"label":58,"icon":59,"to":60},{},{"id":830,"title":133,"body":831,"description":1277,"extension":1278,"icon":1279,"meta":1280,"module":1281,"navigation":8,"path":134,"rawbody":1282,"seo":1283,"stem":135,"__hash__":1284},"docs\u002Fdocs\u002Fbot-detection\u002F04.checkers\u002F06.asn-classification.md",{"type":832,"value":833,"toc":1272},"minimark",[834,851,858,861,866,887,897,909,911,914,1130,1137,1188,1190,1194,1257,1259,1268],[835,836,837,838,842,843,846,847,850],"p",{},"The ASN classification checker examines the Autonomous System (AS) network of the client IP. BGP routing data classifies each AS as ",[839,840,841],"code",{},"Content"," (hosting, CDN, or cloud provider), ",[839,844,845],{},"Eyeballs"," (residential or business ISP), or ",[839,848,849],{},"Unknown",". Hosting networks are a primary source of bot traffic because they provide cheap, anonymous compute resources. Low-visibility ASNs (those with few advertised routes) are characteristic of residential proxy services.",[835,852,853,854,857],{},"This checker runs in the cheap phase using the pre-loaded ",[839,855,856],{},"asn.mmdb"," database.",[859,860],"hr",{},[862,863,865],"h2",{"id":864},"how-it-works","How It Works",[835,867,868,869,872,873,875,876,879,880,882,883,886],{},"The checker reads the AS classification from the BGP lookup result (",[839,870,871],{},"ctx.geoData.hosting","). If the AS is classified as ",[839,874,841],{},", it applies the ",[839,877,878],{},"contentClassification"," penalty. If the classification is ",[839,881,849],{},", it applies ",[839,884,885],{},"unknownClassification",".",[835,888,889,890,882,893,896],{},"The checker also counts the number of BGP routes visible for the AS. When the route count falls below ",[839,891,892],{},"lowVisibilityThreshold",[839,894,895],{},"lowVisibilityPenalty",". Route count is a meaningful signal because residential proxy networks often maintain only a handful of visible prefixes.",[835,898,899,900,904,905,908],{},"If an IP is both hosting-classified ",[901,902,903],"strong",{},"and"," below the visibility threshold, an additional ",[839,906,907],{},"comboHostingLowVisibility"," bonus penalty fires. This combination is highly characteristic of VPS-based proxy infrastructure.",[859,910],{},[862,912,188],{"id":913},"configuration",[915,916,922],"pre",{"className":917,"code":918,"filename":919,"language":920,"meta":921,"style":921},"language-ts shiki shiki-themes light-plus light-plus dracula","await defineConfiguration({\n  store: { main: { driver: 'sqlite', name: '.\u002Fbot-detector.db' } },\n  checkers: {\n    enableAsnClassification: {\n      enable: true,\n      penalties: {\n        contentClassification: 20,\n        unknownClassification: 10,\n        lowVisibilityPenalty: 10,\n        lowVisibilityThreshold: 15,\n        comboHostingLowVisibility: 20,\n      },\n    },\n  },\n})\n","server.ts","ts","",[839,923,924,941,996,1007,1017,1032,1042,1056,1069,1081,1094,1106,1112,1118,1124],{"__ignoreMap":921},[925,926,929,933,937],"span",{"class":927,"line":928},"line",1,[925,930,932],{"class":931},"sZ328","await",[925,934,936],{"class":935},"sHOzp"," defineConfiguration",[925,938,940],{"class":939},"sDd4n","({\n",[925,942,944,948,952,955,958,960,962,965,967,971,975,978,981,984,986,988,991,993],{"class":927,"line":943},2,[925,945,947],{"class":946},"sjsA6","  store",[925,949,951],{"class":950},"s34zl",":",[925,953,954],{"class":939}," { ",[925,956,957],{"class":946},"main",[925,959,951],{"class":950},[925,961,954],{"class":939},[925,963,964],{"class":946},"driver",[925,966,951],{"class":950},[925,968,970],{"class":969},"sFkSl"," '",[925,972,974],{"class":973},"sFB1V","sqlite",[925,976,977],{"class":969},"'",[925,979,980],{"class":939},", ",[925,982,983],{"class":946},"name",[925,985,951],{"class":950},[925,987,970],{"class":969},[925,989,990],{"class":973},".\u002Fbot-detector.db",[925,992,977],{"class":969},[925,994,995],{"class":939}," } },\n",[925,997,999,1002,1004],{"class":927,"line":998},3,[925,1000,1001],{"class":946},"  checkers",[925,1003,951],{"class":950},[925,1005,1006],{"class":939}," {\n",[925,1008,1010,1013,1015],{"class":927,"line":1009},4,[925,1011,1012],{"class":946},"    enableAsnClassification",[925,1014,951],{"class":950},[925,1016,1006],{"class":939},[925,1018,1020,1023,1025,1029],{"class":927,"line":1019},5,[925,1021,1022],{"class":946},"      enable",[925,1024,951],{"class":950},[925,1026,1028],{"class":1027},"sjR7W"," true",[925,1030,1031],{"class":939},",\n",[925,1033,1035,1038,1040],{"class":927,"line":1034},6,[925,1036,1037],{"class":946},"      penalties",[925,1039,951],{"class":950},[925,1041,1006],{"class":939},[925,1043,1045,1048,1050,1054],{"class":927,"line":1044},7,[925,1046,1047],{"class":946},"        contentClassification",[925,1049,951],{"class":950},[925,1051,1053],{"class":1052},"spgvN"," 20",[925,1055,1031],{"class":939},[925,1057,1059,1062,1064,1067],{"class":927,"line":1058},8,[925,1060,1061],{"class":946},"        unknownClassification",[925,1063,951],{"class":950},[925,1065,1066],{"class":1052}," 10",[925,1068,1031],{"class":939},[925,1070,1072,1075,1077,1079],{"class":927,"line":1071},9,[925,1073,1074],{"class":946},"        lowVisibilityPenalty",[925,1076,951],{"class":950},[925,1078,1066],{"class":1052},[925,1080,1031],{"class":939},[925,1082,1084,1087,1089,1092],{"class":927,"line":1083},10,[925,1085,1086],{"class":946},"        lowVisibilityThreshold",[925,1088,951],{"class":950},[925,1090,1091],{"class":1052}," 15",[925,1093,1031],{"class":939},[925,1095,1097,1100,1102,1104],{"class":927,"line":1096},11,[925,1098,1099],{"class":946},"        comboHostingLowVisibility",[925,1101,951],{"class":950},[925,1103,1053],{"class":1052},[925,1105,1031],{"class":939},[925,1107,1109],{"class":927,"line":1108},12,[925,1110,1111],{"class":939},"      },\n",[925,1113,1115],{"class":927,"line":1114},13,[925,1116,1117],{"class":939},"    },\n",[925,1119,1121],{"class":927,"line":1120},14,[925,1122,1123],{"class":939},"  },\n",[925,1125,1127],{"class":927,"line":1126},15,[925,1128,1129],{"class":939},"})\n",[835,1131,1132,1133,1136],{},"All weights live inside the ",[839,1134,1135],{},"penalties: {}"," sub-object.",[1138,1139,1140,1153,1161,1171,1181],"field-group",{},[1141,1142,1144],"field",{"name":878,"type":1143},"number",[835,1145,1146,1147,1149,1150,886],{},"Penalty for IPs in an AS classified as ",[839,1148,841],{}," (hosting, CDN, cloud provider). Default: ",[839,1151,1152],{},"20",[1141,1154,1155],{"name":885,"type":1143},[835,1156,1157,1158,886],{},"Penalty for IPs in an AS with no recognized classification. Default: ",[839,1159,1160],{},"10",[1141,1162,1163],{"name":895,"type":1143},[835,1164,1165,1166,1168,1169,886],{},"Penalty when the AS has fewer visible BGP routes than ",[839,1167,892],{},". Default: ",[839,1170,1160],{},[1141,1172,1173],{"name":892,"type":1143},[835,1174,1175,1176,1168,1178,886],{},"Minimum number of BGP routes for an AS to be considered normally visible. ASNs with fewer routes trigger ",[839,1177,895],{},[839,1179,1180],{},"15",[1141,1182,1183],{"name":907,"type":1143},[835,1184,1185,1186,886],{},"Additional penalty when the IP is both hosting-classified and below the visibility threshold. Default: ",[839,1187,1152],{},[859,1189],{},[862,1191,1193],{"id":1192},"reason-codes","Reason Codes",[1195,1196,1197,1210],"table",{},[1198,1199,1200],"thead",{},[1201,1202,1203,1207],"tr",{},[1204,1205,1206],"th",{},"Code",[1204,1208,1209],{},"Trigger",[1211,1212,1213,1227,1237,1247],"tbody",{},[1201,1214,1215,1221],{},[1216,1217,1218],"td",{},[839,1219,1220],{},"ASN_HOSTING_CLASSIFIED",[1216,1222,1223,1224,1226],{},"IP's AS is classified as ",[839,1225,841],{}," (hosting or CDN).",[1201,1228,1229,1234],{},[1216,1230,1231],{},[839,1232,1233],{},"ASN_CLASSIFICATION_UNKNOWN",[1216,1235,1236],{},"IP's AS has no recognized classification.",[1201,1238,1239,1244],{},[1216,1240,1241],{},[839,1242,1243],{},"ASN_LOW_VISIBILITY",[1216,1245,1246],{},"IP's AS has fewer visible BGP routes than the threshold.",[1201,1248,1249,1254],{},[1216,1250,1251],{},[839,1252,1253],{},"ASN_HOSTING_LOW_VISIBILITY_COMBO",[1216,1255,1256],{},"IP is both hosting-classified and below the visibility threshold.",[859,1258],{},[1260,1261,1262],"note",{},[835,1263,1264,1265,1267],{},"Many legitimate SaaS applications and development tools make requests from cloud provider IPs. If your API regularly receives traffic from cloud environments, consider lowering ",[839,1266,878],{}," or disabling this checker for those endpoints and relying on API key authentication instead.",[1269,1270,1271],"style",{},"html pre.shiki code .sZ328, html code.shiki .sZ328{--shiki-light:#AF00DB;--shiki-default:#AF00DB;--shiki-dark:#FF79C6}html pre.shiki code .sHOzp, html code.shiki .sHOzp{--shiki-light:#795E26;--shiki-default:#795E26;--shiki-dark:#50FA7B}html pre.shiki code .sDd4n, html code.shiki .sDd4n{--shiki-light:#000000;--shiki-default:#000000;--shiki-dark:#F8F8F2}html pre.shiki code .sjsA6, html code.shiki .sjsA6{--shiki-light:#001080;--shiki-default:#001080;--shiki-dark:#F8F8F2}html pre.shiki code .s34zl, html code.shiki .s34zl{--shiki-light:#001080;--shiki-default:#001080;--shiki-dark:#FF79C6}html pre.shiki code .sFkSl, html code.shiki .sFkSl{--shiki-light:#A31515;--shiki-default:#A31515;--shiki-dark:#E9F284}html pre.shiki code .sFB1V, html code.shiki .sFB1V{--shiki-light:#A31515;--shiki-default:#A31515;--shiki-dark:#F1FA8C}html pre.shiki code .sjR7W, html code.shiki .sjR7W{--shiki-light:#0000FF;--shiki-default:#0000FF;--shiki-dark:#BD93F9}html pre.shiki code .spgvN, html code.shiki .spgvN{--shiki-light:#098658;--shiki-default:#098658;--shiki-dark:#BD93F9}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":921,"searchDepth":943,"depth":943,"links":1273},[1274,1275,1276],{"id":864,"depth":943,"text":865},{"id":913,"depth":943,"text":188},{"id":1192,"depth":943,"text":1193},"Penalizes requests from hosting or CDN networks and low-visibility autonomous systems commonly associated with proxy services.","md","i-lucide-server",{},null,"---\ntitle: ASN Classification\ndescription: Penalizes requests from hosting or CDN networks and low-visibility autonomous systems commonly associated with proxy services.\nicon: i-lucide-server\n---\n\nThe ASN classification checker examines the Autonomous System (AS) network of the client IP. BGP routing data classifies each AS as `Content` (hosting, CDN, or cloud provider), `Eyeballs` (residential or business ISP), or `Unknown`. Hosting networks are a primary source of bot traffic because they provide cheap, anonymous compute resources. Low-visibility ASNs (those with few advertised routes) are characteristic of residential proxy services.\n\nThis checker runs in the cheap phase using the pre-loaded `asn.mmdb` database.\n\n---\n\n## How It Works\n\nThe checker reads the AS classification from the BGP lookup result (`ctx.geoData.hosting`). If the AS is classified as `Content`, it applies the `contentClassification` penalty. If the classification is `Unknown`, it applies `unknownClassification`.\n\nThe checker also counts the number of BGP routes visible for the AS. When the route count falls below `lowVisibilityThreshold`, it applies `lowVisibilityPenalty`. Route count is a meaningful signal because residential proxy networks often maintain only a handful of visible prefixes.\n\nIf an IP is both hosting-classified **and** below the visibility threshold, an additional `comboHostingLowVisibility` bonus penalty fires. This combination is highly characteristic of VPS-based proxy infrastructure.\n\n---\n\n## Configuration\n\n```ts [server.ts]\nawait defineConfiguration({\n  store: { main: { driver: 'sqlite', name: '.\u002Fbot-detector.db' } },\n  checkers: {\n    enableAsnClassification: {\n      enable: true,\n      penalties: {\n        contentClassification: 20,\n        unknownClassification: 10,\n        lowVisibilityPenalty: 10,\n        lowVisibilityThreshold: 15,\n        comboHostingLowVisibility: 20,\n      },\n    },\n  },\n})\n```\n\nAll weights live inside the `penalties: {}` sub-object.\n\n::field-group\n::field{name=\"contentClassification\" type=\"number\"}\nPenalty for IPs in an AS classified as `Content` (hosting, CDN, cloud provider). Default: `20`.\n::\n\n::field{name=\"unknownClassification\" type=\"number\"}\nPenalty for IPs in an AS with no recognized classification. Default: `10`.\n::\n\n::field{name=\"lowVisibilityPenalty\" type=\"number\"}\nPenalty when the AS has fewer visible BGP routes than `lowVisibilityThreshold`. Default: `10`.\n::\n\n::field{name=\"lowVisibilityThreshold\" type=\"number\"}\nMinimum number of BGP routes for an AS to be considered normally visible. ASNs with fewer routes trigger `lowVisibilityPenalty`. Default: `15`.\n::\n\n::field{name=\"comboHostingLowVisibility\" type=\"number\"}\nAdditional penalty when the IP is both hosting-classified and below the visibility threshold. Default: `20`.\n::\n::\n\n---\n\n## Reason Codes\n\n| Code | Trigger |\n| --- | --- |\n| `ASN_HOSTING_CLASSIFIED` | IP's AS is classified as `Content` (hosting or CDN). |\n| `ASN_CLASSIFICATION_UNKNOWN` | IP's AS has no recognized classification. |\n| `ASN_LOW_VISIBILITY` | IP's AS has fewer visible BGP routes than the threshold. |\n| `ASN_HOSTING_LOW_VISIBILITY_COMBO` | IP is both hosting-classified and below the visibility threshold. |\n\n---\n\n::note\nMany legitimate SaaS applications and development tools make requests from cloud provider IPs. If your API regularly receives traffic from cloud environments, consider lowering `contentClassification` or disabling this checker for those endpoints and relying on API key authentication instead.\n::\n",{"title":133,"description":1277},"wbios5rrUY_seK_g7cUH1yMyRl07jnH9bB7nR__S-KM",[1286,1287],{"title":129,"path":130,"stem":131,"children":-1},{"title":137,"path":138,"stem":139,"children":-1},{"id":830,"title":133,"body":1289,"description":1277,"extension":1278,"icon":1279,"meta":1592,"module":1281,"navigation":8,"path":134,"rawbody":1282,"seo":1593,"stem":135,"__hash__":1284},{"type":832,"value":1290,"toc":1587},[1291,1299,1303,1305,1307,1319,1325,1331,1333,1335,1485,1489,1527,1529,1531,1577,1579,1585],[835,1292,837,1293,842,1295,846,1297,850],{},[839,1294,841],{},[839,1296,845],{},[839,1298,849],{},[835,1300,853,1301,857],{},[839,1302,856],{},[859,1304],{},[862,1306,865],{"id":864},[835,1308,868,1309,872,1311,875,1313,879,1315,882,1317,886],{},[839,1310,871],{},[839,1312,841],{},[839,1314,878],{},[839,1316,849],{},[839,1318,885],{},[835,1320,889,1321,882,1323,896],{},[839,1322,892],{},[839,1324,895],{},[835,1326,899,1327,904,1329,908],{},[901,1328,903],{},[839,1330,907],{},[859,1332],{},[862,1334,188],{"id":913},[915,1336,1337],{"className":917,"code":918,"filename":919,"language":920,"meta":921,"style":921},[839,1338,1339,1347,1385,1393,1401,1411,1419,1429,1439,1449,1459,1469,1473,1477,1481],{"__ignoreMap":921},[925,1340,1341,1343,1345],{"class":927,"line":928},[925,1342,932],{"class":931},[925,1344,936],{"class":935},[925,1346,940],{"class":939},[925,1348,1349,1351,1353,1355,1357,1359,1361,1363,1365,1367,1369,1371,1373,1375,1377,1379,1381,1383],{"class":927,"line":943},[925,1350,947],{"class":946},[925,1352,951],{"class":950},[925,1354,954],{"class":939},[925,1356,957],{"class":946},[925,1358,951],{"class":950},[925,1360,954],{"class":939},[925,1362,964],{"class":946},[925,1364,951],{"class":950},[925,1366,970],{"class":969},[925,1368,974],{"class":973},[925,1370,977],{"class":969},[925,1372,980],{"class":939},[925,1374,983],{"class":946},[925,1376,951],{"class":950},[925,1378,970],{"class":969},[925,1380,990],{"class":973},[925,1382,977],{"class":969},[925,1384,995],{"class":939},[925,1386,1387,1389,1391],{"class":927,"line":998},[925,1388,1001],{"class":946},[925,1390,951],{"class":950},[925,1392,1006],{"class":939},[925,1394,1395,1397,1399],{"class":927,"line":1009},[925,1396,1012],{"class":946},[925,1398,951],{"class":950},[925,1400,1006],{"class":939},[925,1402,1403,1405,1407,1409],{"class":927,"line":1019},[925,1404,1022],{"class":946},[925,1406,951],{"class":950},[925,1408,1028],{"class":1027},[925,1410,1031],{"class":939},[925,1412,1413,1415,1417],{"class":927,"line":1034},[925,1414,1037],{"class":946},[925,1416,951],{"class":950},[925,1418,1006],{"class":939},[925,1420,1421,1423,1425,1427],{"class":927,"line":1044},[925,1422,1047],{"class":946},[925,1424,951],{"class":950},[925,1426,1053],{"class":1052},[925,1428,1031],{"class":939},[925,1430,1431,1433,1435,1437],{"class":927,"line":1058},[925,1432,1061],{"class":946},[925,1434,951],{"class":950},[925,1436,1066],{"class":1052},[925,1438,1031],{"class":939},[925,1440,1441,1443,1445,1447],{"class":927,"line":1071},[925,1442,1074],{"class":946},[925,1444,951],{"class":950},[925,1446,1066],{"class":1052},[925,1448,1031],{"class":939},[925,1450,1451,1453,1455,1457],{"class":927,"line":1083},[925,1452,1086],{"class":946},[925,1454,951],{"class":950},[925,1456,1091],{"class":1052},[925,1458,1031],{"class":939},[925,1460,1461,1463,1465,1467],{"class":927,"line":1096},[925,1462,1099],{"class":946},[925,1464,951],{"class":950},[925,1466,1053],{"class":1052},[925,1468,1031],{"class":939},[925,1470,1471],{"class":927,"line":1108},[925,1472,1111],{"class":939},[925,1474,1475],{"class":927,"line":1114},[925,1476,1117],{"class":939},[925,1478,1479],{"class":927,"line":1120},[925,1480,1123],{"class":939},[925,1482,1483],{"class":927,"line":1126},[925,1484,1129],{"class":939},[835,1486,1132,1487,1136],{},[839,1488,1135],{},[1138,1490,1491,1499,1505,1513,1521],{},[1141,1492,1493],{"name":878,"type":1143},[835,1494,1146,1495,1149,1497,886],{},[839,1496,841],{},[839,1498,1152],{},[1141,1500,1501],{"name":885,"type":1143},[835,1502,1157,1503,886],{},[839,1504,1160],{},[1141,1506,1507],{"name":895,"type":1143},[835,1508,1165,1509,1168,1511,886],{},[839,1510,892],{},[839,1512,1160],{},[1141,1514,1515],{"name":892,"type":1143},[835,1516,1175,1517,1168,1519,886],{},[839,1518,895],{},[839,1520,1180],{},[1141,1522,1523],{"name":907,"type":1143},[835,1524,1185,1525,886],{},[839,1526,1152],{},[859,1528],{},[862,1530,1193],{"id":1192},[1195,1532,1533,1541],{},[1198,1534,1535],{},[1201,1536,1537,1539],{},[1204,1538,1206],{},[1204,1540,1209],{},[1211,1542,1543,1553,1561,1569],{},[1201,1544,1545,1549],{},[1216,1546,1547],{},[839,1548,1220],{},[1216,1550,1223,1551,1226],{},[839,1552,841],{},[1201,1554,1555,1559],{},[1216,1556,1557],{},[839,1558,1233],{},[1216,1560,1236],{},[1201,1562,1563,1567],{},[1216,1564,1565],{},[839,1566,1243],{},[1216,1568,1246],{},[1201,1570,1571,1575],{},[1216,1572,1573],{},[839,1574,1253],{},[1216,1576,1256],{},[859,1578],{},[1260,1580,1581],{},[835,1582,1264,1583,1267],{},[839,1584,878],{},[1269,1586,1271],{},{"title":921,"searchDepth":943,"depth":943,"links":1588},[1589,1590,1591],{"id":864,"depth":943,"text":865},{"id":913,"depth":943,"text":188},{"id":1192,"depth":943,"text":1193},{},{"title":133,"description":1277},1780436277035]