gitleaks.toml 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849
  1. # This file has been auto-generated. Do not edit manually.
  2. # If you would like to contribute new rules, please use
  3. # cmd/generate/config/main.go and follow the contributing guidelines
  4. # at https://github.com/zricethezav/gitleaks/blob/master/CONTRIBUTING.md
  5. # This is the default gitleaks configuration file.
  6. # Rules and allowlists are defined within this file.
  7. # Rules instruct gitleaks on what should be considered a secret.
  8. # Allowlists instruct gitleaks on what is allowed, i.e. not a secret.
  9. title = "gitleaks config"
  10. [allowlist]
  11. description = "global allow lists"
  12. paths = [
  13. '''gitleaks.toml''',
  14. '''(.*?)(jpg|gif|doc|docx|zip|xls|pdf|bin|svg|socket|vsidx|v2|suo|wsuo|.dll|pdb|exe)$''',
  15. '''(go.mod|go.sum)$''',
  16. '''gradle.lockfile''',
  17. '''node_modules''',
  18. '''package-lock.json''',
  19. '''yarn.lock''',
  20. '''pnpm-lock.yaml''',
  21. '''Database.refactorlog''',
  22. '''vendor''',
  23. ]
  24. [[rules]]
  25. id = "adafruit-api-key"
  26. description = "Adafruit API Key"
  27. regex = '''(?i)(?:adafruit)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9_-]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  28. keywords = [
  29. "adafruit",
  30. ]
  31. [[rules]]
  32. id = "adobe-client-id"
  33. description = "Adobe Client ID (OAuth Web)"
  34. regex = '''(?i)(?:adobe)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  35. keywords = [
  36. "adobe",
  37. ]
  38. [[rules]]
  39. id = "adobe-client-secret"
  40. description = "Adobe Client Secret"
  41. regex = '''(?i)\b((p8e-)(?i)[a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  42. keywords = [
  43. "p8e-",
  44. ]
  45. [[rules]]
  46. id = "age secret key"
  47. description = "Age secret key"
  48. regex = '''AGE-SECRET-KEY-1[QPZRY9X8GF2TVDW0S3JN54KHCE6MUA7L]{58}'''
  49. keywords = [
  50. "age-secret-key-1",
  51. ]
  52. [[rules]]
  53. id = "airtable-api-key"
  54. description = "Airtable API Key"
  55. regex = '''(?i)(?:airtable)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{17})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  56. keywords = [
  57. "airtable",
  58. ]
  59. [[rules]]
  60. id = "algolia-api-key"
  61. description = "Algolia API Key"
  62. regex = '''(?i)(?:algolia)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  63. keywords = [
  64. "algolia",
  65. ]
  66. [[rules]]
  67. id = "alibaba-access-key-id"
  68. description = "Alibaba AccessKey ID"
  69. regex = '''(?i)\b((LTAI)(?i)[a-z0-9]{20})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  70. keywords = [
  71. "ltai",
  72. ]
  73. [[rules]]
  74. id = "alibaba-secret-key"
  75. description = "Alibaba Secret Key"
  76. regex = '''(?i)(?:alibaba)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{30})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  77. keywords = [
  78. "alibaba",
  79. ]
  80. [[rules]]
  81. id = "asana-client-id"
  82. description = "Asana Client ID"
  83. regex = '''(?i)(?:asana)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([0-9]{16})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  84. keywords = [
  85. "asana",
  86. ]
  87. [[rules]]
  88. id = "asana-client-secret"
  89. description = "Asana Client Secret"
  90. regex = '''(?i)(?:asana)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  91. keywords = [
  92. "asana",
  93. ]
  94. [[rules]]
  95. id = "atlassian-api-token"
  96. description = "Atlassian API token"
  97. regex = '''(?i)(?:atlassian|confluence|jira)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{24})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  98. keywords = [
  99. "atlassian","confluence","jira",
  100. ]
  101. [[rules]]
  102. id = "authress-service-client-access-key"
  103. description = "Authress Service Client Access Key"
  104. regex = '''(?i)\b((?:sc|ext|scauth|authress)_[a-z0-9]{5,30}\.[a-z0-9]{4,6}\.acc[_-][a-z0-9-]{10,32}\.[a-z0-9+/_=-]{30,120})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  105. keywords = [
  106. "sc_","ext_","scauth_","authress_",
  107. ]
  108. [[rules]]
  109. id = "aws-access-token"
  110. description = "AWS"
  111. regex = '''(?:A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}'''
  112. keywords = [
  113. "akia","agpa","aida","aroa","aipa","anpa","anva","asia",
  114. ]
  115. [[rules]]
  116. id = "beamer-api-token"
  117. description = "Beamer API token"
  118. regex = '''(?i)(?:beamer)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(b_[a-z0-9=_\-]{44})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  119. keywords = [
  120. "beamer",
  121. ]
  122. [[rules]]
  123. id = "bitbucket-client-id"
  124. description = "Bitbucket Client ID"
  125. regex = '''(?i)(?:bitbucket)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  126. keywords = [
  127. "bitbucket",
  128. ]
  129. [[rules]]
  130. id = "bitbucket-client-secret"
  131. description = "Bitbucket Client Secret"
  132. regex = '''(?i)(?:bitbucket)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9=_\-]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  133. keywords = [
  134. "bitbucket",
  135. ]
  136. [[rules]]
  137. id = "bittrex-access-key"
  138. description = "Bittrex Access Key"
  139. regex = '''(?i)(?:bittrex)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  140. keywords = [
  141. "bittrex",
  142. ]
  143. [[rules]]
  144. id = "bittrex-secret-key"
  145. description = "Bittrex Secret Key"
  146. regex = '''(?i)(?:bittrex)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  147. keywords = [
  148. "bittrex",
  149. ]
  150. [[rules]]
  151. id = "clojars-api-token"
  152. description = "Clojars API token"
  153. regex = '''(?i)(CLOJARS_)[a-z0-9]{60}'''
  154. keywords = [
  155. "clojars",
  156. ]
  157. [[rules]]
  158. id = "codecov-access-token"
  159. description = "Codecov Access Token"
  160. regex = '''(?i)(?:codecov)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  161. keywords = [
  162. "codecov",
  163. ]
  164. [[rules]]
  165. id = "coinbase-access-token"
  166. description = "Coinbase Access Token"
  167. regex = '''(?i)(?:coinbase)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9_-]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  168. keywords = [
  169. "coinbase",
  170. ]
  171. [[rules]]
  172. id = "confluent-access-token"
  173. description = "Confluent Access Token"
  174. regex = '''(?i)(?:confluent)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{16})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  175. keywords = [
  176. "confluent",
  177. ]
  178. [[rules]]
  179. id = "confluent-secret-key"
  180. description = "Confluent Secret Key"
  181. regex = '''(?i)(?:confluent)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  182. keywords = [
  183. "confluent",
  184. ]
  185. [[rules]]
  186. id = "contentful-delivery-api-token"
  187. description = "Contentful delivery API token"
  188. regex = '''(?i)(?:contentful)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9=_\-]{43})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  189. keywords = [
  190. "contentful",
  191. ]
  192. [[rules]]
  193. id = "databricks-api-token"
  194. description = "Databricks API token"
  195. regex = '''(?i)\b(dapi[a-h0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  196. keywords = [
  197. "dapi",
  198. ]
  199. [[rules]]
  200. id = "datadog-access-token"
  201. description = "Datadog Access Token"
  202. regex = '''(?i)(?:datadog)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{40})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  203. keywords = [
  204. "datadog",
  205. ]
  206. [[rules]]
  207. id = "defined-networking-api-token"
  208. description = "Defined Networking API token"
  209. regex = '''(?i)(?:dnkey)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(dnkey-[a-z0-9=_\-]{26}-[a-z0-9=_\-]{52})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  210. keywords = [
  211. "dnkey",
  212. ]
  213. [[rules]]
  214. id = "digitalocean-access-token"
  215. description = "DigitalOcean OAuth Access Token"
  216. regex = '''(?i)\b(doo_v1_[a-f0-9]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  217. keywords = [
  218. "doo_v1_",
  219. ]
  220. [[rules]]
  221. id = "digitalocean-pat"
  222. description = "DigitalOcean Personal Access Token"
  223. regex = '''(?i)\b(dop_v1_[a-f0-9]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  224. keywords = [
  225. "dop_v1_",
  226. ]
  227. [[rules]]
  228. id = "digitalocean-refresh-token"
  229. description = "DigitalOcean OAuth Refresh Token"
  230. regex = '''(?i)\b(dor_v1_[a-f0-9]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  231. keywords = [
  232. "dor_v1_",
  233. ]
  234. [[rules]]
  235. id = "discord-api-token"
  236. description = "Discord API key"
  237. regex = '''(?i)(?:discord)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  238. keywords = [
  239. "discord",
  240. ]
  241. [[rules]]
  242. id = "discord-client-id"
  243. description = "Discord client ID"
  244. regex = '''(?i)(?:discord)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([0-9]{18})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  245. keywords = [
  246. "discord",
  247. ]
  248. [[rules]]
  249. id = "discord-client-secret"
  250. description = "Discord client secret"
  251. regex = '''(?i)(?:discord)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9=_\-]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  252. keywords = [
  253. "discord",
  254. ]
  255. [[rules]]
  256. id = "doppler-api-token"
  257. description = "Doppler API token"
  258. regex = '''(dp\.pt\.)(?i)[a-z0-9]{43}'''
  259. keywords = [
  260. "doppler",
  261. ]
  262. [[rules]]
  263. id = "droneci-access-token"
  264. description = "Droneci Access Token"
  265. regex = '''(?i)(?:droneci)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  266. keywords = [
  267. "droneci",
  268. ]
  269. [[rules]]
  270. id = "dropbox-api-token"
  271. description = "Dropbox API secret"
  272. regex = '''(?i)(?:dropbox)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{15})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  273. keywords = [
  274. "dropbox",
  275. ]
  276. [[rules]]
  277. id = "dropbox-long-lived-api-token"
  278. description = "Dropbox long lived API token"
  279. regex = '''(?i)(?:dropbox)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{11}(AAAAAAAAAA)[a-z0-9\-_=]{43})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  280. keywords = [
  281. "dropbox",
  282. ]
  283. [[rules]]
  284. id = "dropbox-short-lived-api-token"
  285. description = "Dropbox short lived API token"
  286. regex = '''(?i)(?:dropbox)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(sl\.[a-z0-9\-=_]{135})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  287. keywords = [
  288. "dropbox",
  289. ]
  290. [[rules]]
  291. id = "duffel-api-token"
  292. description = "Duffel API token"
  293. regex = '''duffel_(test|live)_(?i)[a-z0-9_\-=]{43}'''
  294. keywords = [
  295. "duffel",
  296. ]
  297. [[rules]]
  298. id = "dynatrace-api-token"
  299. description = "Dynatrace API token"
  300. regex = '''dt0c01\.(?i)[a-z0-9]{24}\.[a-z0-9]{64}'''
  301. keywords = [
  302. "dynatrace",
  303. ]
  304. [[rules]]
  305. id = "easypost-api-token"
  306. description = "EasyPost API token"
  307. regex = '''\bEZAK(?i)[a-z0-9]{54}'''
  308. keywords = [
  309. "ezak",
  310. ]
  311. [[rules]]
  312. id = "easypost-test-api-token"
  313. description = "EasyPost test API token"
  314. regex = '''\bEZTK(?i)[a-z0-9]{54}'''
  315. keywords = [
  316. "eztk",
  317. ]
  318. [[rules]]
  319. id = "etsy-access-token"
  320. description = "Etsy Access Token"
  321. regex = '''(?i)(?:etsy)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{24})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  322. keywords = [
  323. "etsy",
  324. ]
  325. [[rules]]
  326. id = "facebook"
  327. description = "Facebook Access Token"
  328. regex = '''(?i)(?:facebook)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  329. keywords = [
  330. "facebook",
  331. ]
  332. [[rules]]
  333. id = "fastly-api-token"
  334. description = "Fastly API key"
  335. regex = '''(?i)(?:fastly)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9=_\-]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  336. keywords = [
  337. "fastly",
  338. ]
  339. [[rules]]
  340. id = "finicity-api-token"
  341. description = "Finicity API token"
  342. regex = '''(?i)(?:finicity)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  343. keywords = [
  344. "finicity",
  345. ]
  346. [[rules]]
  347. id = "finicity-client-secret"
  348. description = "Finicity Client Secret"
  349. regex = '''(?i)(?:finicity)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{20})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  350. keywords = [
  351. "finicity",
  352. ]
  353. [[rules]]
  354. id = "finnhub-access-token"
  355. description = "Finnhub Access Token"
  356. regex = '''(?i)(?:finnhub)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{20})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  357. keywords = [
  358. "finnhub",
  359. ]
  360. [[rules]]
  361. id = "flickr-access-token"
  362. description = "Flickr Access Token"
  363. regex = '''(?i)(?:flickr)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  364. keywords = [
  365. "flickr",
  366. ]
  367. [[rules]]
  368. id = "flutterwave-encryption-key"
  369. description = "Flutterwave Encryption Key"
  370. regex = '''FLWSECK_TEST-(?i)[a-h0-9]{12}'''
  371. keywords = [
  372. "flwseck_test",
  373. ]
  374. [[rules]]
  375. id = "flutterwave-public-key"
  376. description = "Finicity Public Key"
  377. regex = '''FLWPUBK_TEST-(?i)[a-h0-9]{32}-X'''
  378. keywords = [
  379. "flwpubk_test",
  380. ]
  381. [[rules]]
  382. id = "flutterwave-secret-key"
  383. description = "Flutterwave Secret Key"
  384. regex = '''FLWSECK_TEST-(?i)[a-h0-9]{32}-X'''
  385. keywords = [
  386. "flwseck_test",
  387. ]
  388. [[rules]]
  389. id = "frameio-api-token"
  390. description = "Frame.io API token"
  391. regex = '''fio-u-(?i)[a-z0-9\-_=]{64}'''
  392. keywords = [
  393. "fio-u-",
  394. ]
  395. [[rules]]
  396. id = "freshbooks-access-token"
  397. description = "Freshbooks Access Token"
  398. regex = '''(?i)(?:freshbooks)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  399. keywords = [
  400. "freshbooks",
  401. ]
  402. [[rules]]
  403. id = "gcp-api-key"
  404. description = "GCP API key"
  405. regex = '''(?i)\b(AIza[0-9A-Za-z\\-_]{35})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  406. keywords = [
  407. "aiza",
  408. ]
  409. [[rules]]
  410. id = "generic-api-key"
  411. description = "Generic API Key"
  412. regex = '''(?i)(?:key|api|token|secret|client|passwd|password|auth|access)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([0-9a-z\-_.=]{10,150})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  413. entropy = 3.5
  414. keywords = [
  415. "key","api","token","secret","client","passwd","password","auth","access",
  416. ]
  417. [rules.allowlist]
  418. stopwords = [
  419. "client",
  420. "endpoint",
  421. "vpn",
  422. "_ec2_",
  423. "aws_",
  424. "authorize",
  425. "author",
  426. "define",
  427. "config",
  428. "credential",
  429. "setting",
  430. "sample",
  431. "xxxxxx",
  432. "000000",
  433. "buffer",
  434. "delete",
  435. "aaaaaa",
  436. "fewfwef",
  437. "getenv",
  438. "env_",
  439. "system",
  440. "example",
  441. "ecdsa",
  442. "sha256",
  443. "sha1",
  444. "sha2",
  445. "md5",
  446. "alert",
  447. "wizard",
  448. "target",
  449. "onboard",
  450. "welcome",
  451. "page",
  452. "exploit",
  453. "experiment",
  454. "expire",
  455. "rabbitmq",
  456. "scraper",
  457. "widget",
  458. "music",
  459. "dns_",
  460. "dns-",
  461. "yahoo",
  462. "want",
  463. "json",
  464. "action",
  465. "script",
  466. "fix_",
  467. "fix-",
  468. "develop",
  469. "compas",
  470. "stripe",
  471. "service",
  472. "master",
  473. "metric",
  474. "tech",
  475. "gitignore",
  476. "rich",
  477. "open",
  478. "stack",
  479. "irc_",
  480. "irc-",
  481. "sublime",
  482. "kohana",
  483. "has_",
  484. "has-",
  485. "fabric",
  486. "wordpres",
  487. "role",
  488. "osx_",
  489. "osx-",
  490. "boost",
  491. "addres",
  492. "queue",
  493. "working",
  494. "sandbox",
  495. "internet",
  496. "print",
  497. "vision",
  498. "tracking",
  499. "being",
  500. "generator",
  501. "traffic",
  502. "world",
  503. "pull",
  504. "rust",
  505. "watcher",
  506. "small",
  507. "auth",
  508. "full",
  509. "hash",
  510. "more",
  511. "install",
  512. "auto",
  513. "complete",
  514. "learn",
  515. "paper",
  516. "installer",
  517. "research",
  518. "acces",
  519. "last",
  520. "binding",
  521. "spine",
  522. "into",
  523. "chat",
  524. "algorithm",
  525. "resource",
  526. "uploader",
  527. "video",
  528. "maker",
  529. "next",
  530. "proc",
  531. "lock",
  532. "robot",
  533. "snake",
  534. "patch",
  535. "matrix",
  536. "drill",
  537. "terminal",
  538. "term",
  539. "stuff",
  540. "genetic",
  541. "generic",
  542. "identity",
  543. "audit",
  544. "pattern",
  545. "audio",
  546. "web_",
  547. "web-",
  548. "crud",
  549. "problem",
  550. "statu",
  551. "cms-",
  552. "cms_",
  553. "arch",
  554. "coffee",
  555. "workflow",
  556. "changelog",
  557. "another",
  558. "uiview",
  559. "content",
  560. "kitchen",
  561. "gnu_",
  562. "gnu-",
  563. "gnu.",
  564. "conf",
  565. "couchdb",
  566. "client",
  567. "opencv",
  568. "rendering",
  569. "update",
  570. "concept",
  571. "varnish",
  572. "gui_",
  573. "gui-",
  574. "gui.",
  575. "version",
  576. "shared",
  577. "extra",
  578. "product",
  579. "still",
  580. "not_",
  581. "not-",
  582. "not.",
  583. "drop",
  584. "ring",
  585. "png_",
  586. "png-",
  587. "png.",
  588. "actively",
  589. "import",
  590. "output",
  591. "backup",
  592. "start",
  593. "embedded",
  594. "registry",
  595. "pool",
  596. "semantic",
  597. "instagram",
  598. "bash",
  599. "system",
  600. "ninja",
  601. "drupal",
  602. "jquery",
  603. "polyfill",
  604. "physic",
  605. "league",
  606. "guide",
  607. "pack",
  608. "synopsi",
  609. "sketch",
  610. "injection",
  611. "svg_",
  612. "svg-",
  613. "svg.",
  614. "friendly",
  615. "wave",
  616. "convert",
  617. "manage",
  618. "camera",
  619. "link",
  620. "slide",
  621. "timer",
  622. "wrapper",
  623. "gallery",
  624. "url_",
  625. "url-",
  626. "url.",
  627. "todomvc",
  628. "requirej",
  629. "party",
  630. "http",
  631. "payment",
  632. "async",
  633. "library",
  634. "home",
  635. "coco",
  636. "gaia",
  637. "display",
  638. "universal",
  639. "func",
  640. "metadata",
  641. "hipchat",
  642. "under",
  643. "room",
  644. "config",
  645. "personal",
  646. "realtime",
  647. "resume",
  648. "database",
  649. "testing",
  650. "tiny",
  651. "basic",
  652. "forum",
  653. "meetup",
  654. "yet_",
  655. "yet-",
  656. "yet.",
  657. "cento",
  658. "dead",
  659. "fluentd",
  660. "editor",
  661. "utilitie",
  662. "run_",
  663. "run-",
  664. "run.",
  665. "box_",
  666. "box-",
  667. "box.",
  668. "bot_",
  669. "bot-",
  670. "bot.",
  671. "making",
  672. "sample",
  673. "group",
  674. "monitor",
  675. "ajax",
  676. "parallel",
  677. "cassandra",
  678. "ultimate",
  679. "site",
  680. "get_",
  681. "get-",
  682. "get.",
  683. "gen_",
  684. "gen-",
  685. "gen.",
  686. "gem_",
  687. "gem-",
  688. "gem.",
  689. "extended",
  690. "image",
  691. "knife",
  692. "asset",
  693. "nested",
  694. "zero",
  695. "plugin",
  696. "bracket",
  697. "mule",
  698. "mozilla",
  699. "number",
  700. "act_",
  701. "act-",
  702. "act.",
  703. "map_",
  704. "map-",
  705. "map.",
  706. "micro",
  707. "debug",
  708. "openshift",
  709. "chart",
  710. "expres",
  711. "backend",
  712. "task",
  713. "source",
  714. "translate",
  715. "jbos",
  716. "composer",
  717. "sqlite",
  718. "profile",
  719. "mustache",
  720. "mqtt",
  721. "yeoman",
  722. "have",
  723. "builder",
  724. "smart",
  725. "like",
  726. "oauth",
  727. "school",
  728. "guideline",
  729. "captcha",
  730. "filter",
  731. "bitcoin",
  732. "bridge",
  733. "color",
  734. "toolbox",
  735. "discovery",
  736. "new_",
  737. "new-",
  738. "new.",
  739. "dashboard",
  740. "when",
  741. "setting",
  742. "level",
  743. "post",
  744. "standard",
  745. "port",
  746. "platform",
  747. "yui_",
  748. "yui-",
  749. "yui.",
  750. "grunt",
  751. "animation",
  752. "haskell",
  753. "icon",
  754. "latex",
  755. "cheat",
  756. "lua_",
  757. "lua-",
  758. "lua.",
  759. "gulp",
  760. "case",
  761. "author",
  762. "without",
  763. "simulator",
  764. "wifi",
  765. "directory",
  766. "lisp",
  767. "list",
  768. "flat",
  769. "adventure",
  770. "story",
  771. "storm",
  772. "gpu_",
  773. "gpu-",
  774. "gpu.",
  775. "store",
  776. "caching",
  777. "attention",
  778. "solr",
  779. "logger",
  780. "demo",
  781. "shortener",
  782. "hadoop",
  783. "finder",
  784. "phone",
  785. "pipeline",
  786. "range",
  787. "textmate",
  788. "showcase",
  789. "app_",
  790. "app-",
  791. "app.",
  792. "idiomatic",
  793. "edit",
  794. "our_",
  795. "our-",
  796. "our.",
  797. "out_",
  798. "out-",
  799. "out.",
  800. "sentiment",
  801. "linked",
  802. "why_",
  803. "why-",
  804. "why.",
  805. "local",
  806. "cube",
  807. "gmail",
  808. "job_",
  809. "job-",
  810. "job.",
  811. "rpc_",
  812. "rpc-",
  813. "rpc.",
  814. "contest",
  815. "tcp_",
  816. "tcp-",
  817. "tcp.",
  818. "usage",
  819. "buildout",
  820. "weather",
  821. "transfer",
  822. "automated",
  823. "sphinx",
  824. "issue",
  825. "sas_",
  826. "sas-",
  827. "sas.",
  828. "parallax",
  829. "jasmine",
  830. "addon",
  831. "machine",
  832. "solution",
  833. "dsl_",
  834. "dsl-",
  835. "dsl.",
  836. "episode",
  837. "menu",
  838. "theme",
  839. "best",
  840. "adapter",
  841. "debugger",
  842. "chrome",
  843. "tutorial",
  844. "life",
  845. "step",
  846. "people",
  847. "joomla",
  848. "paypal",
  849. "developer",
  850. "solver",
  851. "team",
  852. "current",
  853. "love",
  854. "visual",
  855. "date",
  856. "data",
  857. "canva",
  858. "container",
  859. "future",
  860. "xml_",
  861. "xml-",
  862. "xml.",
  863. "twig",
  864. "nagio",
  865. "spatial",
  866. "original",
  867. "sync",
  868. "archived",
  869. "refinery",
  870. "science",
  871. "mapping",
  872. "gitlab",
  873. "play",
  874. "ext_",
  875. "ext-",
  876. "ext.",
  877. "session",
  878. "impact",
  879. "set_",
  880. "set-",
  881. "set.",
  882. "see_",
  883. "see-",
  884. "see.",
  885. "migration",
  886. "commit",
  887. "community",
  888. "shopify",
  889. "what'",
  890. "cucumber",
  891. "statamic",
  892. "mysql",
  893. "location",
  894. "tower",
  895. "line",
  896. "code",
  897. "amqp",
  898. "hello",
  899. "send",
  900. "index",
  901. "high",
  902. "notebook",
  903. "alloy",
  904. "python",
  905. "field",
  906. "document",
  907. "soap",
  908. "edition",
  909. "email",
  910. "php_",
  911. "php-",
  912. "php.",
  913. "command",
  914. "transport",
  915. "official",
  916. "upload",
  917. "study",
  918. "secure",
  919. "angularj",
  920. "akka",
  921. "scalable",
  922. "package",
  923. "request",
  924. "con_",
  925. "con-",
  926. "con.",
  927. "flexible",
  928. "security",
  929. "comment",
  930. "module",
  931. "flask",
  932. "graph",
  933. "flash",
  934. "apache",
  935. "change",
  936. "window",
  937. "space",
  938. "lambda",
  939. "sheet",
  940. "bookmark",
  941. "carousel",
  942. "friend",
  943. "objective",
  944. "jekyll",
  945. "bootstrap",
  946. "first",
  947. "article",
  948. "gwt_",
  949. "gwt-",
  950. "gwt.",
  951. "classic",
  952. "media",
  953. "websocket",
  954. "touch",
  955. "desktop",
  956. "real",
  957. "read",
  958. "recorder",
  959. "moved",
  960. "storage",
  961. "validator",
  962. "add-on",
  963. "pusher",
  964. "scs_",
  965. "scs-",
  966. "scs.",
  967. "inline",
  968. "asp_",
  969. "asp-",
  970. "asp.",
  971. "timeline",
  972. "base",
  973. "encoding",
  974. "ffmpeg",
  975. "kindle",
  976. "tinymce",
  977. "pretty",
  978. "jpa_",
  979. "jpa-",
  980. "jpa.",
  981. "used",
  982. "user",
  983. "required",
  984. "webhook",
  985. "download",
  986. "resque",
  987. "espresso",
  988. "cloud",
  989. "mongo",
  990. "benchmark",
  991. "pure",
  992. "cakephp",
  993. "modx",
  994. "mode",
  995. "reactive",
  996. "fuel",
  997. "written",
  998. "flickr",
  999. "mail",
  1000. "brunch",
  1001. "meteor",
  1002. "dynamic",
  1003. "neo_",
  1004. "neo-",
  1005. "neo.",
  1006. "new_",
  1007. "new-",
  1008. "new.",
  1009. "net_",
  1010. "net-",
  1011. "net.",
  1012. "typo",
  1013. "type",
  1014. "keyboard",
  1015. "erlang",
  1016. "adobe",
  1017. "logging",
  1018. "ckeditor",
  1019. "message",
  1020. "iso_",
  1021. "iso-",
  1022. "iso.",
  1023. "hook",
  1024. "ldap",
  1025. "folder",
  1026. "reference",
  1027. "railscast",
  1028. "www_",
  1029. "www-",
  1030. "www.",
  1031. "tracker",
  1032. "azure",
  1033. "fork",
  1034. "form",
  1035. "digital",
  1036. "exporter",
  1037. "skin",
  1038. "string",
  1039. "template",
  1040. "designer",
  1041. "gollum",
  1042. "fluent",
  1043. "entity",
  1044. "language",
  1045. "alfred",
  1046. "summary",
  1047. "wiki",
  1048. "kernel",
  1049. "calendar",
  1050. "plupload",
  1051. "symfony",
  1052. "foundry",
  1053. "remote",
  1054. "talk",
  1055. "search",
  1056. "dev_",
  1057. "dev-",
  1058. "dev.",
  1059. "del_",
  1060. "del-",
  1061. "del.",
  1062. "token",
  1063. "idea",
  1064. "sencha",
  1065. "selector",
  1066. "interface",
  1067. "create",
  1068. "fun_",
  1069. "fun-",
  1070. "fun.",
  1071. "groovy",
  1072. "query",
  1073. "grail",
  1074. "red_",
  1075. "red-",
  1076. "red.",
  1077. "laravel",
  1078. "monkey",
  1079. "slack",
  1080. "supported",
  1081. "instant",
  1082. "value",
  1083. "center",
  1084. "latest",
  1085. "work",
  1086. "but_",
  1087. "but-",
  1088. "but.",
  1089. "bug_",
  1090. "bug-",
  1091. "bug.",
  1092. "virtual",
  1093. "tweet",
  1094. "statsd",
  1095. "studio",
  1096. "path",
  1097. "real-time",
  1098. "frontend",
  1099. "notifier",
  1100. "coding",
  1101. "tool",
  1102. "firmware",
  1103. "flow",
  1104. "random",
  1105. "mediawiki",
  1106. "bosh",
  1107. "been",
  1108. "beer",
  1109. "lightbox",
  1110. "theory",
  1111. "origin",
  1112. "redmine",
  1113. "hub_",
  1114. "hub-",
  1115. "hub.",
  1116. "require",
  1117. "pro_",
  1118. "pro-",
  1119. "pro.",
  1120. "ant_",
  1121. "ant-",
  1122. "ant.",
  1123. "any_",
  1124. "any-",
  1125. "any.",
  1126. "recipe",
  1127. "closure",
  1128. "mapper",
  1129. "event",
  1130. "todo",
  1131. "model",
  1132. "redi",
  1133. "provider",
  1134. "rvm_",
  1135. "rvm-",
  1136. "rvm.",
  1137. "program",
  1138. "memcached",
  1139. "rail",
  1140. "silex",
  1141. "foreman",
  1142. "activity",
  1143. "license",
  1144. "strategy",
  1145. "batch",
  1146. "streaming",
  1147. "fast",
  1148. "use_",
  1149. "use-",
  1150. "use.",
  1151. "usb_",
  1152. "usb-",
  1153. "usb.",
  1154. "impres",
  1155. "academy",
  1156. "slider",
  1157. "please",
  1158. "layer",
  1159. "cros",
  1160. "now_",
  1161. "now-",
  1162. "now.",
  1163. "miner",
  1164. "extension",
  1165. "own_",
  1166. "own-",
  1167. "own.",
  1168. "app_",
  1169. "app-",
  1170. "app.",
  1171. "debian",
  1172. "symphony",
  1173. "example",
  1174. "feature",
  1175. "serie",
  1176. "tree",
  1177. "project",
  1178. "runner",
  1179. "entry",
  1180. "leetcode",
  1181. "layout",
  1182. "webrtc",
  1183. "logic",
  1184. "login",
  1185. "worker",
  1186. "toolkit",
  1187. "mocha",
  1188. "support",
  1189. "back",
  1190. "inside",
  1191. "device",
  1192. "jenkin",
  1193. "contact",
  1194. "fake",
  1195. "awesome",
  1196. "ocaml",
  1197. "bit_",
  1198. "bit-",
  1199. "bit.",
  1200. "drive",
  1201. "screen",
  1202. "prototype",
  1203. "gist",
  1204. "binary",
  1205. "nosql",
  1206. "rest",
  1207. "overview",
  1208. "dart",
  1209. "dark",
  1210. "emac",
  1211. "mongoid",
  1212. "solarized",
  1213. "homepage",
  1214. "emulator",
  1215. "commander",
  1216. "django",
  1217. "yandex",
  1218. "gradle",
  1219. "xcode",
  1220. "writer",
  1221. "crm_",
  1222. "crm-",
  1223. "crm.",
  1224. "jade",
  1225. "startup",
  1226. "error",
  1227. "using",
  1228. "format",
  1229. "name",
  1230. "spring",
  1231. "parser",
  1232. "scratch",
  1233. "magic",
  1234. "try_",
  1235. "try-",
  1236. "try.",
  1237. "rack",
  1238. "directive",
  1239. "challenge",
  1240. "slim",
  1241. "counter",
  1242. "element",
  1243. "chosen",
  1244. "doc_",
  1245. "doc-",
  1246. "doc.",
  1247. "meta",
  1248. "should",
  1249. "button",
  1250. "packet",
  1251. "stream",
  1252. "hardware",
  1253. "android",
  1254. "infinite",
  1255. "password",
  1256. "software",
  1257. "ghost",
  1258. "xamarin",
  1259. "spec",
  1260. "chef",
  1261. "interview",
  1262. "hubot",
  1263. "mvc_",
  1264. "mvc-",
  1265. "mvc.",
  1266. "exercise",
  1267. "leaflet",
  1268. "launcher",
  1269. "air_",
  1270. "air-",
  1271. "air.",
  1272. "photo",
  1273. "board",
  1274. "boxen",
  1275. "way_",
  1276. "way-",
  1277. "way.",
  1278. "computing",
  1279. "welcome",
  1280. "notepad",
  1281. "portfolio",
  1282. "cat_",
  1283. "cat-",
  1284. "cat.",
  1285. "can_",
  1286. "can-",
  1287. "can.",
  1288. "magento",
  1289. "yaml",
  1290. "domain",
  1291. "card",
  1292. "yii_",
  1293. "yii-",
  1294. "yii.",
  1295. "checker",
  1296. "browser",
  1297. "upgrade",
  1298. "only",
  1299. "progres",
  1300. "aura",
  1301. "ruby_",
  1302. "ruby-",
  1303. "ruby.",
  1304. "polymer",
  1305. "util",
  1306. "lite",
  1307. "hackathon",
  1308. "rule",
  1309. "log_",
  1310. "log-",
  1311. "log.",
  1312. "opengl",
  1313. "stanford",
  1314. "skeleton",
  1315. "history",
  1316. "inspector",
  1317. "help",
  1318. "soon",
  1319. "selenium",
  1320. "lab_",
  1321. "lab-",
  1322. "lab.",
  1323. "scheme",
  1324. "schema",
  1325. "look",
  1326. "ready",
  1327. "leveldb",
  1328. "docker",
  1329. "game",
  1330. "minimal",
  1331. "logstash",
  1332. "messaging",
  1333. "within",
  1334. "heroku",
  1335. "mongodb",
  1336. "kata",
  1337. "suite",
  1338. "picker",
  1339. "win_",
  1340. "win-",
  1341. "win.",
  1342. "wip_",
  1343. "wip-",
  1344. "wip.",
  1345. "panel",
  1346. "started",
  1347. "starter",
  1348. "front-end",
  1349. "detector",
  1350. "deploy",
  1351. "editing",
  1352. "based",
  1353. "admin",
  1354. "capture",
  1355. "spree",
  1356. "page",
  1357. "bundle",
  1358. "goal",
  1359. "rpg_",
  1360. "rpg-",
  1361. "rpg.",
  1362. "setup",
  1363. "side",
  1364. "mean",
  1365. "reader",
  1366. "cookbook",
  1367. "mini",
  1368. "modern",
  1369. "seed",
  1370. "dom_",
  1371. "dom-",
  1372. "dom.",
  1373. "doc_",
  1374. "doc-",
  1375. "doc.",
  1376. "dot_",
  1377. "dot-",
  1378. "dot.",
  1379. "syntax",
  1380. "sugar",
  1381. "loader",
  1382. "website",
  1383. "make",
  1384. "kit_",
  1385. "kit-",
  1386. "kit.",
  1387. "protocol",
  1388. "human",
  1389. "daemon",
  1390. "golang",
  1391. "manager",
  1392. "countdown",
  1393. "connector",
  1394. "swagger",
  1395. "map_",
  1396. "map-",
  1397. "map.",
  1398. "mac_",
  1399. "mac-",
  1400. "mac.",
  1401. "man_",
  1402. "man-",
  1403. "man.",
  1404. "orm_",
  1405. "orm-",
  1406. "orm.",
  1407. "org_",
  1408. "org-",
  1409. "org.",
  1410. "little",
  1411. "zsh_",
  1412. "zsh-",
  1413. "zsh.",
  1414. "shop",
  1415. "show",
  1416. "workshop",
  1417. "money",
  1418. "grid",
  1419. "server",
  1420. "octopres",
  1421. "svn_",
  1422. "svn-",
  1423. "svn.",
  1424. "ember",
  1425. "embed",
  1426. "general",
  1427. "file",
  1428. "important",
  1429. "dropbox",
  1430. "portable",
  1431. "public",
  1432. "docpad",
  1433. "fish",
  1434. "sbt_",
  1435. "sbt-",
  1436. "sbt.",
  1437. "done",
  1438. "para",
  1439. "network",
  1440. "common",
  1441. "readme",
  1442. "popup",
  1443. "simple",
  1444. "purpose",
  1445. "mirror",
  1446. "single",
  1447. "cordova",
  1448. "exchange",
  1449. "object",
  1450. "design",
  1451. "gateway",
  1452. "account",
  1453. "lamp",
  1454. "intellij",
  1455. "math",
  1456. "mit_",
  1457. "mit-",
  1458. "mit.",
  1459. "control",
  1460. "enhanced",
  1461. "emitter",
  1462. "multi",
  1463. "add_",
  1464. "add-",
  1465. "add.",
  1466. "about",
  1467. "socket",
  1468. "preview",
  1469. "vagrant",
  1470. "cli_",
  1471. "cli-",
  1472. "cli.",
  1473. "powerful",
  1474. "top_",
  1475. "top-",
  1476. "top.",
  1477. "radio",
  1478. "watch",
  1479. "fluid",
  1480. "amazon",
  1481. "report",
  1482. "couchbase",
  1483. "automatic",
  1484. "detection",
  1485. "sprite",
  1486. "pyramid",
  1487. "portal",
  1488. "advanced",
  1489. "plu_",
  1490. "plu-",
  1491. "plu.",
  1492. "runtime",
  1493. "git_",
  1494. "git-",
  1495. "git.",
  1496. "uri_",
  1497. "uri-",
  1498. "uri.",
  1499. "haml",
  1500. "node",
  1501. "sql_",
  1502. "sql-",
  1503. "sql.",
  1504. "cool",
  1505. "core",
  1506. "obsolete",
  1507. "handler",
  1508. "iphone",
  1509. "extractor",
  1510. "array",
  1511. "copy",
  1512. "nlp_",
  1513. "nlp-",
  1514. "nlp.",
  1515. "reveal",
  1516. "pop_",
  1517. "pop-",
  1518. "pop.",
  1519. "engine",
  1520. "parse",
  1521. "check",
  1522. "html",
  1523. "nest",
  1524. "all_",
  1525. "all-",
  1526. "all.",
  1527. "chinese",
  1528. "buildpack",
  1529. "what",
  1530. "tag_",
  1531. "tag-",
  1532. "tag.",
  1533. "proxy",
  1534. "style",
  1535. "cookie",
  1536. "feed",
  1537. "restful",
  1538. "compiler",
  1539. "creating",
  1540. "prelude",
  1541. "context",
  1542. "java",
  1543. "rspec",
  1544. "mock",
  1545. "backbone",
  1546. "light",
  1547. "spotify",
  1548. "flex",
  1549. "related",
  1550. "shell",
  1551. "which",
  1552. "clas",
  1553. "webapp",
  1554. "swift",
  1555. "ansible",
  1556. "unity",
  1557. "console",
  1558. "tumblr",
  1559. "export",
  1560. "campfire",
  1561. "conway'",
  1562. "made",
  1563. "riak",
  1564. "hero",
  1565. "here",
  1566. "unix",
  1567. "unit",
  1568. "glas",
  1569. "smtp",
  1570. "how_",
  1571. "how-",
  1572. "how.",
  1573. "hot_",
  1574. "hot-",
  1575. "hot.",
  1576. "debug",
  1577. "release",
  1578. "diff",
  1579. "player",
  1580. "easy",
  1581. "right",
  1582. "old_",
  1583. "old-",
  1584. "old.",
  1585. "animate",
  1586. "time",
  1587. "push",
  1588. "explorer",
  1589. "course",
  1590. "training",
  1591. "nette",
  1592. "router",
  1593. "draft",
  1594. "structure",
  1595. "note",
  1596. "salt",
  1597. "where",
  1598. "spark",
  1599. "trello",
  1600. "power",
  1601. "method",
  1602. "social",
  1603. "via_",
  1604. "via-",
  1605. "via.",
  1606. "vim_",
  1607. "vim-",
  1608. "vim.",
  1609. "select",
  1610. "webkit",
  1611. "github",
  1612. "ftp_",
  1613. "ftp-",
  1614. "ftp.",
  1615. "creator",
  1616. "mongoose",
  1617. "led_",
  1618. "led-",
  1619. "led.",
  1620. "movie",
  1621. "currently",
  1622. "pdf_",
  1623. "pdf-",
  1624. "pdf.",
  1625. "load",
  1626. "markdown",
  1627. "phalcon",
  1628. "input",
  1629. "custom",
  1630. "atom",
  1631. "oracle",
  1632. "phonegap",
  1633. "ubuntu",
  1634. "great",
  1635. "rdf_",
  1636. "rdf-",
  1637. "rdf.",
  1638. "popcorn",
  1639. "firefox",
  1640. "zip_",
  1641. "zip-",
  1642. "zip.",
  1643. "cuda",
  1644. "dotfile",
  1645. "static",
  1646. "openwrt",
  1647. "viewer",
  1648. "powered",
  1649. "graphic",
  1650. "les_",
  1651. "les-",
  1652. "les.",
  1653. "doe_",
  1654. "doe-",
  1655. "doe.",
  1656. "maven",
  1657. "word",
  1658. "eclipse",
  1659. "lab_",
  1660. "lab-",
  1661. "lab.",
  1662. "hacking",
  1663. "steam",
  1664. "analytic",
  1665. "option",
  1666. "abstract",
  1667. "archive",
  1668. "reality",
  1669. "switcher",
  1670. "club",
  1671. "write",
  1672. "kafka",
  1673. "arduino",
  1674. "angular",
  1675. "online",
  1676. "title",
  1677. "don't",
  1678. "contao",
  1679. "notice",
  1680. "analyzer",
  1681. "learning",
  1682. "zend",
  1683. "external",
  1684. "staging",
  1685. "busines",
  1686. "tdd_",
  1687. "tdd-",
  1688. "tdd.",
  1689. "scanner",
  1690. "building",
  1691. "snippet",
  1692. "modular",
  1693. "bower",
  1694. "stm_",
  1695. "stm-",
  1696. "stm.",
  1697. "lib_",
  1698. "lib-",
  1699. "lib.",
  1700. "alpha",
  1701. "mobile",
  1702. "clean",
  1703. "linux",
  1704. "nginx",
  1705. "manifest",
  1706. "some",
  1707. "raspberry",
  1708. "gnome",
  1709. "ide_",
  1710. "ide-",
  1711. "ide.",
  1712. "block",
  1713. "statistic",
  1714. "info",
  1715. "drag",
  1716. "youtube",
  1717. "koan",
  1718. "facebook",
  1719. "paperclip",
  1720. "art_",
  1721. "art-",
  1722. "art.",
  1723. "quality",
  1724. "tab_",
  1725. "tab-",
  1726. "tab.",
  1727. "need",
  1728. "dojo",
  1729. "shield",
  1730. "computer",
  1731. "stat",
  1732. "state",
  1733. "twitter",
  1734. "utility",
  1735. "converter",
  1736. "hosting",
  1737. "devise",
  1738. "liferay",
  1739. "updated",
  1740. "force",
  1741. "tip_",
  1742. "tip-",
  1743. "tip.",
  1744. "behavior",
  1745. "active",
  1746. "call",
  1747. "answer",
  1748. "deck",
  1749. "better",
  1750. "principle",
  1751. "ches",
  1752. "bar_",
  1753. "bar-",
  1754. "bar.",
  1755. "reddit",
  1756. "three",
  1757. "haxe",
  1758. "just",
  1759. "plug-in",
  1760. "agile",
  1761. "manual",
  1762. "tetri",
  1763. "super",
  1764. "beta",
  1765. "parsing",
  1766. "doctrine",
  1767. "minecraft",
  1768. "useful",
  1769. "perl",
  1770. "sharing",
  1771. "agent",
  1772. "switch",
  1773. "view",
  1774. "dash",
  1775. "channel",
  1776. "repo",
  1777. "pebble",
  1778. "profiler",
  1779. "warning",
  1780. "cluster",
  1781. "running",
  1782. "markup",
  1783. "evented",
  1784. "mod_",
  1785. "mod-",
  1786. "mod.",
  1787. "share",
  1788. "csv_",
  1789. "csv-",
  1790. "csv.",
  1791. "response",
  1792. "good",
  1793. "house",
  1794. "connect",
  1795. "built",
  1796. "build",
  1797. "find",
  1798. "ipython",
  1799. "webgl",
  1800. "big_",
  1801. "big-",
  1802. "big.",
  1803. "google",
  1804. "scala",
  1805. "sdl_",
  1806. "sdl-",
  1807. "sdl.",
  1808. "sdk_",
  1809. "sdk-",
  1810. "sdk.",
  1811. "native",
  1812. "day_",
  1813. "day-",
  1814. "day.",
  1815. "puppet",
  1816. "text",
  1817. "routing",
  1818. "helper",
  1819. "linkedin",
  1820. "crawler",
  1821. "host",
  1822. "guard",
  1823. "merchant",
  1824. "poker",
  1825. "over",
  1826. "writing",
  1827. "free",
  1828. "classe",
  1829. "component",
  1830. "craft",
  1831. "nodej",
  1832. "phoenix",
  1833. "longer",
  1834. "quick",
  1835. "lazy",
  1836. "memory",
  1837. "clone",
  1838. "hacker",
  1839. "middleman",
  1840. "factory",
  1841. "motion",
  1842. "multiple",
  1843. "tornado",
  1844. "hack",
  1845. "ssh_",
  1846. "ssh-",
  1847. "ssh.",
  1848. "review",
  1849. "vimrc",
  1850. "driver",
  1851. "driven",
  1852. "blog",
  1853. "particle",
  1854. "table",
  1855. "intro",
  1856. "importer",
  1857. "thrift",
  1858. "xmpp",
  1859. "framework",
  1860. "refresh",
  1861. "react",
  1862. "font",
  1863. "librarie",
  1864. "variou",
  1865. "formatter",
  1866. "analysi",
  1867. "karma",
  1868. "scroll",
  1869. "tut_",
  1870. "tut-",
  1871. "tut.",
  1872. "apple",
  1873. "tag_",
  1874. "tag-",
  1875. "tag.",
  1876. "tab_",
  1877. "tab-",
  1878. "tab.",
  1879. "category",
  1880. "ionic",
  1881. "cache",
  1882. "homebrew",
  1883. "reverse",
  1884. "english",
  1885. "getting",
  1886. "shipping",
  1887. "clojure",
  1888. "boot",
  1889. "book",
  1890. "branch",
  1891. "combination",
  1892. "combo",
  1893. ]
  1894. [[rules]]
  1895. id = "github-app-token"
  1896. description = "GitHub App Token"
  1897. regex = '''(ghu|ghs)_[0-9a-zA-Z]{36}'''
  1898. keywords = [
  1899. "ghu_","ghs_",
  1900. ]
  1901. [[rules]]
  1902. id = "github-fine-grained-pat"
  1903. description = "GitHub Fine-Grained Personal Access Token"
  1904. regex = '''github_pat_[0-9a-zA-Z_]{82}'''
  1905. keywords = [
  1906. "github_pat_",
  1907. ]
  1908. [[rules]]
  1909. id = "github-oauth"
  1910. description = "GitHub OAuth Access Token"
  1911. regex = '''gho_[0-9a-zA-Z]{36}'''
  1912. keywords = [
  1913. "gho_",
  1914. ]
  1915. [[rules]]
  1916. id = "github-pat"
  1917. description = "GitHub Personal Access Token"
  1918. regex = '''ghp_[0-9a-zA-Z]{36}'''
  1919. keywords = [
  1920. "ghp_",
  1921. ]
  1922. [[rules]]
  1923. id = "github-refresh-token"
  1924. description = "GitHub Refresh Token"
  1925. regex = '''ghr_[0-9a-zA-Z]{36}'''
  1926. keywords = [
  1927. "ghr_",
  1928. ]
  1929. [[rules]]
  1930. id = "gitlab-pat"
  1931. description = "GitLab Personal Access Token"
  1932. regex = '''glpat-[0-9a-zA-Z\-\_]{20}'''
  1933. keywords = [
  1934. "glpat-",
  1935. ]
  1936. [[rules]]
  1937. id = "gitlab-ptt"
  1938. description = "GitLab Pipeline Trigger Token"
  1939. regex = '''glptt-[0-9a-f]{40}'''
  1940. keywords = [
  1941. "glptt-",
  1942. ]
  1943. [[rules]]
  1944. id = "gitlab-rrt"
  1945. description = "GitLab Runner Registration Token"
  1946. regex = '''GR1348941[0-9a-zA-Z\-\_]{20}'''
  1947. keywords = [
  1948. "gr1348941",
  1949. ]
  1950. [[rules]]
  1951. id = "gitter-access-token"
  1952. description = "Gitter Access Token"
  1953. regex = '''(?i)(?:gitter)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9_-]{40})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  1954. keywords = [
  1955. "gitter",
  1956. ]
  1957. [[rules]]
  1958. id = "gocardless-api-token"
  1959. description = "GoCardless API token"
  1960. regex = '''(?i)(?:gocardless)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(live_(?i)[a-z0-9\-_=]{40})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  1961. keywords = [
  1962. "live_","gocardless",
  1963. ]
  1964. [[rules]]
  1965. id = "grafana-api-key"
  1966. description = "Grafana api key (or Grafana cloud api key)"
  1967. regex = '''(?i)\b(eyJrIjoi[A-Za-z0-9]{70,400}={0,2})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  1968. keywords = [
  1969. "eyjrijoi",
  1970. ]
  1971. [[rules]]
  1972. id = "grafana-cloud-api-token"
  1973. description = "Grafana cloud api token"
  1974. regex = '''(?i)\b(glc_[A-Za-z0-9+/]{32,400}={0,2})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  1975. keywords = [
  1976. "glc_",
  1977. ]
  1978. [[rules]]
  1979. id = "grafana-service-account-token"
  1980. description = "Grafana service account token"
  1981. regex = '''(?i)\b(glsa_[A-Za-z0-9]{32}_[A-Fa-f0-9]{8})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  1982. keywords = [
  1983. "glsa_",
  1984. ]
  1985. [[rules]]
  1986. id = "hashicorp-tf-api-token"
  1987. description = "HashiCorp Terraform user/org API token"
  1988. regex = '''(?i)[a-z0-9]{14}\.atlasv1\.[a-z0-9\-_=]{60,70}'''
  1989. keywords = [
  1990. "atlasv1",
  1991. ]
  1992. [[rules]]
  1993. id = "hashicorp-tf-password"
  1994. description = "HashiCorp Terraform password field"
  1995. regex = '''(?i)(?:administrator_login_password|password)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}("[a-z0-9=_\-]{8,20}")(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  1996. keywords = [
  1997. "administrator_login_password","password",
  1998. ]
  1999. [[rules]]
  2000. id = "heroku-api-key"
  2001. description = "Heroku API Key"
  2002. regex = '''(?i)(?:heroku)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2003. keywords = [
  2004. "heroku",
  2005. ]
  2006. [[rules]]
  2007. id = "hubspot-api-key"
  2008. description = "HubSpot API Token"
  2009. regex = '''(?i)(?:hubspot)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2010. keywords = [
  2011. "hubspot",
  2012. ]
  2013. [[rules]]
  2014. id = "huggingface-access-token"
  2015. description = "Hugging Face Access token"
  2016. regex = '''(?:^|[\\'"` >=:])(hf_[a-zA-Z]{34})(?:$|[\\'"` <])'''
  2017. entropy = 1
  2018. keywords = [
  2019. "hf_",
  2020. ]
  2021. [[rules]]
  2022. id = "huggingface-organization-api-token"
  2023. description = "Hugging Face Organization API token"
  2024. regex = '''(?:^|[\\'"` >=:\(,)])(api_org_[a-zA-Z]{34})(?:$|[\\'"` <\),])'''
  2025. entropy = 2
  2026. keywords = [
  2027. "api_org_",
  2028. ]
  2029. [[rules]]
  2030. id = "infracost-api-token"
  2031. description = "Infracost API Token"
  2032. regex = '''(?i)\b(ico-[a-zA-Z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2033. keywords = [
  2034. "ico-",
  2035. ]
  2036. [[rules]]
  2037. id = "intercom-api-key"
  2038. description = "Intercom API Token"
  2039. regex = '''(?i)(?:intercom)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9=_\-]{60})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2040. keywords = [
  2041. "intercom",
  2042. ]
  2043. [[rules]]
  2044. id = "jfrog-api-key"
  2045. description = "JFrog API Key"
  2046. regex = '''(?i)(?:jfrog|artifactory|bintray|xray)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{73})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2047. keywords = [
  2048. "jfrog","artifactory","bintray","xray",
  2049. ]
  2050. [[rules]]
  2051. id = "jfrog-identity-token"
  2052. description = "JFrog Identity Token"
  2053. regex = '''(?i)(?:jfrog|artifactory|bintray|xray)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2054. keywords = [
  2055. "jfrog","artifactory","bintray","xray",
  2056. ]
  2057. [[rules]]
  2058. id = "jwt"
  2059. description = "JSON Web Token"
  2060. regex = '''\b(ey[a-zA-Z0-9]{17,}\.ey[a-zA-Z0-9\/\\_-]{17,}\.(?:[a-zA-Z0-9\/\\_-]{10,}={0,2})?)(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2061. keywords = [
  2062. "ey",
  2063. ]
  2064. [[rules]]
  2065. id = "jwt-base64"
  2066. description = "Base64-encoded JSON Web Token"
  2067. regex = '''\bZXlK(?:(?P<alg>aGJHY2lPaU)|(?P<apu>aGNIVWlPaU)|(?P<apv>aGNIWWlPaU)|(?P<aud>aGRXUWlPaU)|(?P<b64>aU5qUWlP)|(?P<crit>amNtbDBJanBi)|(?P<cty>amRIa2lPaU)|(?P<epk>bGNHc2lPbn)|(?P<enc>bGJtTWlPaU)|(?P<jku>cWEzVWlPaU)|(?P<jwk>cWQyc2lPb)|(?P<iss>cGMzTWlPaU)|(?P<iv>cGRpSTZJ)|(?P<kid>cmFXUWlP)|(?P<key_ops>clpYbGZiM0J6SWpwY)|(?P<kty>cmRIa2lPaUp)|(?P<nonce>dWIyNWpaU0k2)|(?P<p2c>d01tTWlP)|(?P<p2s>d01uTWlPaU)|(?P<ppt>d2NIUWlPaU)|(?P<sub>emRXSWlPaU)|(?P<svt>emRuUWlP)|(?P<tag>MFlXY2lPaU)|(?P<typ>MGVYQWlPaUp)|(?P<url>MWNtd2l)|(?P<use>MWMyVWlPaUp)|(?P<ver>MlpYSWlPaU)|(?P<version>MlpYSnphVzl1SWpv)|(?P<x>NElqb2)|(?P<x5c>NE5XTWlP)|(?P<x5t>NE5YUWlPaU)|(?P<x5ts256>NE5YUWpVekkxTmlJNkl)|(?P<x5u>NE5YVWlPaU)|(?P<zip>NmFYQWlPaU))[a-zA-Z0-9\/\\_+\-\r\n]{40,}={0,2}'''
  2068. keywords = [
  2069. "zxlk",
  2070. ]
  2071. [[rules]]
  2072. id = "kraken-access-token"
  2073. description = "Kraken Access Token"
  2074. regex = '''(?i)(?:kraken)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9\/=_\+\-]{80,90})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2075. keywords = [
  2076. "kraken",
  2077. ]
  2078. [[rules]]
  2079. id = "kucoin-access-token"
  2080. description = "Kucoin Access Token"
  2081. regex = '''(?i)(?:kucoin)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{24})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2082. keywords = [
  2083. "kucoin",
  2084. ]
  2085. [[rules]]
  2086. id = "kucoin-secret-key"
  2087. description = "Kucoin Secret Key"
  2088. regex = '''(?i)(?:kucoin)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2089. keywords = [
  2090. "kucoin",
  2091. ]
  2092. [[rules]]
  2093. id = "launchdarkly-access-token"
  2094. description = "Launchdarkly Access Token"
  2095. regex = '''(?i)(?:launchdarkly)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9=_\-]{40})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2096. keywords = [
  2097. "launchdarkly",
  2098. ]
  2099. [[rules]]
  2100. id = "linear-api-key"
  2101. description = "Linear API Token"
  2102. regex = '''lin_api_(?i)[a-z0-9]{40}'''
  2103. keywords = [
  2104. "lin_api_",
  2105. ]
  2106. [[rules]]
  2107. id = "linear-client-secret"
  2108. description = "Linear Client Secret"
  2109. regex = '''(?i)(?:linear)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2110. keywords = [
  2111. "linear",
  2112. ]
  2113. [[rules]]
  2114. id = "linkedin-client-id"
  2115. description = "LinkedIn Client ID"
  2116. regex = '''(?i)(?:linkedin|linked-in)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{14})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2117. keywords = [
  2118. "linkedin","linked-in",
  2119. ]
  2120. [[rules]]
  2121. id = "linkedin-client-secret"
  2122. description = "LinkedIn Client secret"
  2123. regex = '''(?i)(?:linkedin|linked-in)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{16})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2124. keywords = [
  2125. "linkedin","linked-in",
  2126. ]
  2127. [[rules]]
  2128. id = "lob-api-key"
  2129. description = "Lob API Key"
  2130. regex = '''(?i)(?:lob)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}((live|test)_[a-f0-9]{35})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2131. keywords = [
  2132. "test_","live_",
  2133. ]
  2134. [[rules]]
  2135. id = "lob-pub-api-key"
  2136. description = "Lob Publishable API Key"
  2137. regex = '''(?i)(?:lob)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}((test|live)_pub_[a-f0-9]{31})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2138. keywords = [
  2139. "test_pub","live_pub","_pub",
  2140. ]
  2141. [[rules]]
  2142. id = "mailchimp-api-key"
  2143. description = "Mailchimp API key"
  2144. regex = '''(?i)(?:mailchimp)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{32}-us20)(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2145. keywords = [
  2146. "mailchimp",
  2147. ]
  2148. [[rules]]
  2149. id = "mailgun-private-api-token"
  2150. description = "Mailgun private API token"
  2151. regex = '''(?i)(?:mailgun)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(key-[a-f0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2152. keywords = [
  2153. "mailgun",
  2154. ]
  2155. [[rules]]
  2156. id = "mailgun-pub-key"
  2157. description = "Mailgun public validation key"
  2158. regex = '''(?i)(?:mailgun)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(pubkey-[a-f0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2159. keywords = [
  2160. "mailgun",
  2161. ]
  2162. [[rules]]
  2163. id = "mailgun-signing-key"
  2164. description = "Mailgun webhook signing key"
  2165. regex = '''(?i)(?:mailgun)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-h0-9]{32}-[a-h0-9]{8}-[a-h0-9]{8})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2166. keywords = [
  2167. "mailgun",
  2168. ]
  2169. [[rules]]
  2170. id = "mapbox-api-token"
  2171. description = "MapBox API token"
  2172. regex = '''(?i)(?:mapbox)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(pk\.[a-z0-9]{60}\.[a-z0-9]{22})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2173. keywords = [
  2174. "mapbox",
  2175. ]
  2176. [[rules]]
  2177. id = "mattermost-access-token"
  2178. description = "Mattermost Access Token"
  2179. regex = '''(?i)(?:mattermost)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{26})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2180. keywords = [
  2181. "mattermost",
  2182. ]
  2183. [[rules]]
  2184. id = "messagebird-api-token"
  2185. description = "MessageBird API token"
  2186. regex = '''(?i)(?:messagebird|message-bird|message_bird)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{25})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2187. keywords = [
  2188. "messagebird","message-bird","message_bird",
  2189. ]
  2190. [[rules]]
  2191. id = "messagebird-client-id"
  2192. description = "MessageBird client ID"
  2193. regex = '''(?i)(?:messagebird|message-bird|message_bird)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2194. keywords = [
  2195. "messagebird","message-bird","message_bird",
  2196. ]
  2197. [[rules]]
  2198. id = "microsoft-teams-webhook"
  2199. description = "Microsoft Teams Webhook"
  2200. regex = '''https:\/\/[a-z0-9]+\.webhook\.office\.com\/webhookb2\/[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}@[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}\/IncomingWebhook\/[a-z0-9]{32}\/[a-z0-9]{8}-([a-z0-9]{4}-){3}[a-z0-9]{12}'''
  2201. keywords = [
  2202. "webhook.office.com","webhookb2","incomingwebhook",
  2203. ]
  2204. [[rules]]
  2205. id = "netlify-access-token"
  2206. description = "Netlify Access Token"
  2207. regex = '''(?i)(?:netlify)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9=_\-]{40,46})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2208. keywords = [
  2209. "netlify",
  2210. ]
  2211. [[rules]]
  2212. id = "new-relic-browser-api-token"
  2213. description = "New Relic ingest browser API token"
  2214. regex = '''(?i)(?:new-relic|newrelic|new_relic)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(NRJS-[a-f0-9]{19})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2215. keywords = [
  2216. "nrjs-",
  2217. ]
  2218. [[rules]]
  2219. id = "new-relic-user-api-id"
  2220. description = "New Relic user API ID"
  2221. regex = '''(?i)(?:new-relic|newrelic|new_relic)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2222. keywords = [
  2223. "new-relic","newrelic","new_relic",
  2224. ]
  2225. [[rules]]
  2226. id = "new-relic-user-api-key"
  2227. description = "New Relic user API Key"
  2228. regex = '''(?i)(?:new-relic|newrelic|new_relic)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(NRAK-[a-z0-9]{27})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2229. keywords = [
  2230. "nrak",
  2231. ]
  2232. [[rules]]
  2233. id = "npm-access-token"
  2234. description = "npm access token"
  2235. regex = '''(?i)\b(npm_[a-z0-9]{36})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2236. keywords = [
  2237. "npm_",
  2238. ]
  2239. [[rules]]
  2240. id = "nytimes-access-token"
  2241. description = "Nytimes Access Token"
  2242. regex = '''(?i)(?:nytimes|new-york-times,|newyorktimes)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9=_\-]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2243. keywords = [
  2244. "nytimes","new-york-times","newyorktimes",
  2245. ]
  2246. [[rules]]
  2247. id = "okta-access-token"
  2248. description = "Okta Access Token"
  2249. regex = '''(?i)(?:okta)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9=_\-]{42})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2250. keywords = [
  2251. "okta",
  2252. ]
  2253. [[rules]]
  2254. id = "openai-api-key"
  2255. description = "OpenAI API Key"
  2256. regex = '''(?i)\b(sk-[a-zA-Z0-9]{20}T3BlbkFJ[a-zA-Z0-9]{20})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2257. keywords = [
  2258. "t3blbkfj",
  2259. ]
  2260. [[rules]]
  2261. id = "plaid-api-token"
  2262. description = "Plaid API Token"
  2263. regex = '''(?i)(?:plaid)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(access-(?:sandbox|development|production)-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2264. keywords = [
  2265. "plaid",
  2266. ]
  2267. [[rules]]
  2268. id = "plaid-client-id"
  2269. description = "Plaid Client ID"
  2270. regex = '''(?i)(?:plaid)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{24})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2271. entropy = 3.5
  2272. keywords = [
  2273. "plaid",
  2274. ]
  2275. [[rules]]
  2276. id = "plaid-secret-key"
  2277. description = "Plaid Secret key"
  2278. regex = '''(?i)(?:plaid)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{30})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2279. entropy = 3.5
  2280. keywords = [
  2281. "plaid",
  2282. ]
  2283. [[rules]]
  2284. id = "planetscale-api-token"
  2285. description = "PlanetScale API token"
  2286. regex = '''(?i)\b(pscale_tkn_(?i)[a-z0-9=\-_\.]{32,64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2287. keywords = [
  2288. "pscale_tkn_",
  2289. ]
  2290. [[rules]]
  2291. id = "planetscale-oauth-token"
  2292. description = "PlanetScale OAuth token"
  2293. regex = '''(?i)\b(pscale_oauth_(?i)[a-z0-9=\-_\.]{32,64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2294. keywords = [
  2295. "pscale_oauth_",
  2296. ]
  2297. [[rules]]
  2298. id = "planetscale-password"
  2299. description = "PlanetScale password"
  2300. regex = '''(?i)\b(pscale_pw_(?i)[a-z0-9=\-_\.]{32,64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2301. keywords = [
  2302. "pscale_pw_",
  2303. ]
  2304. [[rules]]
  2305. id = "postman-api-token"
  2306. description = "Postman API token"
  2307. regex = '''(?i)\b(PMAK-(?i)[a-f0-9]{24}\-[a-f0-9]{34})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2308. keywords = [
  2309. "pmak-",
  2310. ]
  2311. [[rules]]
  2312. id = "prefect-api-token"
  2313. description = "Prefect API token"
  2314. regex = '''(?i)\b(pnu_[a-z0-9]{36})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2315. keywords = [
  2316. "pnu_",
  2317. ]
  2318. [[rules]]
  2319. id = "private-key"
  2320. description = "Private Key"
  2321. regex = '''(?i)-----BEGIN[ A-Z0-9_-]{0,100}PRIVATE KEY( BLOCK)?-----[\s\S-]*KEY( BLOCK)?----'''
  2322. keywords = [
  2323. "-----begin",
  2324. ]
  2325. [[rules]]
  2326. id = "pulumi-api-token"
  2327. description = "Pulumi API token"
  2328. regex = '''(?i)\b(pul-[a-f0-9]{40})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2329. keywords = [
  2330. "pul-",
  2331. ]
  2332. [[rules]]
  2333. id = "pypi-upload-token"
  2334. description = "PyPI upload token"
  2335. regex = '''pypi-AgEIcHlwaS5vcmc[A-Za-z0-9\-_]{50,1000}'''
  2336. keywords = [
  2337. "pypi-ageichlwas5vcmc",
  2338. ]
  2339. [[rules]]
  2340. id = "rapidapi-access-token"
  2341. description = "RapidAPI Access Token"
  2342. regex = '''(?i)(?:rapidapi)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9_-]{50})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2343. keywords = [
  2344. "rapidapi",
  2345. ]
  2346. [[rules]]
  2347. id = "readme-api-token"
  2348. description = "Readme API token"
  2349. regex = '''(?i)\b(rdme_[a-z0-9]{70})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2350. keywords = [
  2351. "rdme_",
  2352. ]
  2353. [[rules]]
  2354. id = "rubygems-api-token"
  2355. description = "Rubygem API token"
  2356. regex = '''(?i)\b(rubygems_[a-f0-9]{48})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2357. keywords = [
  2358. "rubygems_",
  2359. ]
  2360. [[rules]]
  2361. id = "scalingo-api-token"
  2362. description = "Scalingo API token"
  2363. regex = '''\btk-us-[a-zA-Z0-9-_]{48}\b'''
  2364. keywords = [
  2365. "tk-us-",
  2366. ]
  2367. [[rules]]
  2368. id = "sendbird-access-id"
  2369. description = "Sendbird Access ID"
  2370. regex = '''(?i)(?:sendbird)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2371. keywords = [
  2372. "sendbird",
  2373. ]
  2374. [[rules]]
  2375. id = "sendbird-access-token"
  2376. description = "Sendbird Access Token"
  2377. regex = '''(?i)(?:sendbird)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{40})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2378. keywords = [
  2379. "sendbird",
  2380. ]
  2381. [[rules]]
  2382. id = "sendgrid-api-token"
  2383. description = "SendGrid API token"
  2384. regex = '''(?i)\b(SG\.(?i)[a-z0-9=_\-\.]{66})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2385. keywords = [
  2386. "sg.",
  2387. ]
  2388. [[rules]]
  2389. id = "sendinblue-api-token"
  2390. description = "Sendinblue API token"
  2391. regex = '''(?i)\b(xkeysib-[a-f0-9]{64}\-(?i)[a-z0-9]{16})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2392. keywords = [
  2393. "xkeysib-",
  2394. ]
  2395. [[rules]]
  2396. id = "sentry-access-token"
  2397. description = "Sentry Access Token"
  2398. regex = '''(?i)(?:sentry)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2399. keywords = [
  2400. "sentry",
  2401. ]
  2402. [[rules]]
  2403. id = "shippo-api-token"
  2404. description = "Shippo API token"
  2405. regex = '''(?i)\b(shippo_(live|test)_[a-f0-9]{40})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2406. keywords = [
  2407. "shippo_",
  2408. ]
  2409. [[rules]]
  2410. id = "shopify-access-token"
  2411. description = "Shopify access token"
  2412. regex = '''shpat_[a-fA-F0-9]{32}'''
  2413. keywords = [
  2414. "shpat_",
  2415. ]
  2416. [[rules]]
  2417. id = "shopify-custom-access-token"
  2418. description = "Shopify custom access token"
  2419. regex = '''shpca_[a-fA-F0-9]{32}'''
  2420. keywords = [
  2421. "shpca_",
  2422. ]
  2423. [[rules]]
  2424. id = "shopify-private-app-access-token"
  2425. description = "Shopify private app access token"
  2426. regex = '''shppa_[a-fA-F0-9]{32}'''
  2427. keywords = [
  2428. "shppa_",
  2429. ]
  2430. [[rules]]
  2431. id = "shopify-shared-secret"
  2432. description = "Shopify shared secret"
  2433. regex = '''shpss_[a-fA-F0-9]{32}'''
  2434. keywords = [
  2435. "shpss_",
  2436. ]
  2437. [[rules]]
  2438. id = "sidekiq-secret"
  2439. description = "Sidekiq Secret"
  2440. regex = '''(?i)(?:BUNDLE_ENTERPRISE__CONTRIBSYS__COM|BUNDLE_GEMS__CONTRIBSYS__COM)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-f0-9]{8}:[a-f0-9]{8})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2441. keywords = [
  2442. "bundle_enterprise__contribsys__com","bundle_gems__contribsys__com",
  2443. ]
  2444. [[rules]]
  2445. id = "sidekiq-sensitive-url"
  2446. description = "Sidekiq Sensitive URL"
  2447. regex = '''(?i)\b(http(?:s??):\/\/)([a-f0-9]{8}:[a-f0-9]{8})@(?:gems.contribsys.com|enterprise.contribsys.com)(?:[\/|\#|\?|:]|$)'''
  2448. secretGroup = 2
  2449. keywords = [
  2450. "gems.contribsys.com","enterprise.contribsys.com",
  2451. ]
  2452. [[rules]]
  2453. id = "slack-app-token"
  2454. description = "Slack App-level token"
  2455. regex = '''(?i)(xapp-\d-[A-Z0-9]+-\d+-[a-z0-9]+)'''
  2456. keywords = [
  2457. "xapp",
  2458. ]
  2459. [[rules]]
  2460. id = "slack-bot-token"
  2461. description = "Slack Bot token"
  2462. regex = '''(xoxb-[0-9]{10,13}\-[0-9]{10,13}[a-zA-Z0-9-]*)'''
  2463. keywords = [
  2464. "xoxb",
  2465. ]
  2466. [[rules]]
  2467. id = "slack-config-access-token"
  2468. description = "Slack Configuration access token"
  2469. regex = '''(?i)(xoxe.xox[bp]-\d-[A-Z0-9]{163,166})'''
  2470. keywords = [
  2471. "xoxe.xoxb-","xoxe.xoxp-",
  2472. ]
  2473. [[rules]]
  2474. id = "slack-config-refresh-token"
  2475. description = "Slack Configuration refresh token"
  2476. regex = '''(?i)(xoxe-\d-[A-Z0-9]{146})'''
  2477. keywords = [
  2478. "xoxe-",
  2479. ]
  2480. [[rules]]
  2481. id = "slack-legacy-bot-token"
  2482. description = "Slack Legacy bot token"
  2483. regex = '''(xoxb-[0-9]{8,14}\-[a-zA-Z0-9]{18,26})'''
  2484. keywords = [
  2485. "xoxb",
  2486. ]
  2487. [[rules]]
  2488. id = "slack-legacy-token"
  2489. description = "Slack Legacy token"
  2490. regex = '''(xox[os]-\d+-\d+-\d+-[a-fA-F\d]+)'''
  2491. keywords = [
  2492. "xoxo","xoxs",
  2493. ]
  2494. [[rules]]
  2495. id = "slack-legacy-workspace-token"
  2496. description = "Slack Legacy Workspace token"
  2497. regex = '''(xox[ar]-(?:\d-)?[0-9a-zA-Z]{8,48})'''
  2498. keywords = [
  2499. "xoxa","xoxr",
  2500. ]
  2501. [[rules]]
  2502. id = "slack-user-token"
  2503. description = "Slack User"
  2504. regex = '''(xox[pe](?:-[0-9]{10,13}){3}-[a-zA-Z0-9-]{28,34})'''
  2505. keywords = [
  2506. "xoxp-","xoxe-",
  2507. ]
  2508. [[rules]]
  2509. id = "slack-webhook-url"
  2510. description = "Slack Webhook"
  2511. regex = '''(https?:\/\/)?hooks.slack.com\/(services|workflows)\/[A-Za-z0-9+\/]{43,46}'''
  2512. keywords = [
  2513. "hooks.slack.com",
  2514. ]
  2515. [[rules]]
  2516. id = "snyk-api-token"
  2517. description = "Snyk API token"
  2518. regex = '''(?i)(?:snyk_token|snyk_key|snyk_api_token|snyk_api_key|snyk_oauth_token)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2519. keywords = [
  2520. "snyk_token","snyk_key","snyk_api_token","snyk_api_key","snyk_oauth_token",
  2521. ]
  2522. [[rules]]
  2523. id = "square-access-token"
  2524. description = "Square Access Token"
  2525. regex = '''(?i)\b(sq0atp-[0-9A-Za-z\-_]{22})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2526. keywords = [
  2527. "sq0atp-",
  2528. ]
  2529. [[rules]]
  2530. id = "squarespace-access-token"
  2531. description = "Squarespace Access Token"
  2532. regex = '''(?i)(?:squarespace)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2533. keywords = [
  2534. "squarespace",
  2535. ]
  2536. [[rules]]
  2537. id = "stripe-access-token"
  2538. description = "Stripe Access Token"
  2539. regex = '''(?i)\b((sk|pk)_(test|live)_[0-9a-z]{10,32})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2540. keywords = [
  2541. "sk_test","pk_test","sk_live","pk_live",
  2542. ]
  2543. [[rules]]
  2544. id = "sumologic-access-id"
  2545. description = "SumoLogic Access ID"
  2546. regex = '''(?i:(?:sumo)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3})(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(su[a-zA-Z0-9]{12})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2547. entropy = 3
  2548. keywords = [
  2549. "sumo",
  2550. ]
  2551. [rules.allowlist]
  2552. regexTarget = "line"
  2553. regexes = [
  2554. "sumOf",
  2555. ]
  2556. [[rules]]
  2557. id = "sumologic-access-token"
  2558. description = "SumoLogic Access Token"
  2559. regex = '''(?i)(?:sumo)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2560. entropy = 3
  2561. keywords = [
  2562. "sumo",
  2563. ]
  2564. [[rules]]
  2565. id = "telegram-bot-api-token"
  2566. description = "Telegram Bot API Token"
  2567. regex = '''(?i)(?:^|[^0-9])([0-9]{5,16}:A[a-zA-Z0-9_\-]{34})(?:$|[^a-zA-Z0-9_\-])'''
  2568. keywords = [
  2569. "telegram","api","bot","token","url",
  2570. ]
  2571. [[rules]]
  2572. id = "travisci-access-token"
  2573. description = "Travis CI Access Token"
  2574. regex = '''(?i)(?:travis)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{22})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2575. keywords = [
  2576. "travis",
  2577. ]
  2578. [[rules]]
  2579. id = "twilio-api-key"
  2580. description = "Twilio API Key"
  2581. regex = '''SK[0-9a-fA-F]{32}'''
  2582. keywords = [
  2583. "twilio",
  2584. ]
  2585. [[rules]]
  2586. id = "twitch-api-token"
  2587. description = "Twitch API token"
  2588. regex = '''(?i)(?:twitch)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{30})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2589. keywords = [
  2590. "twitch",
  2591. ]
  2592. [[rules]]
  2593. id = "twitter-access-secret"
  2594. description = "Twitter Access Secret"
  2595. regex = '''(?i)(?:twitter)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{45})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2596. keywords = [
  2597. "twitter",
  2598. ]
  2599. [[rules]]
  2600. id = "twitter-access-token"
  2601. description = "Twitter Access Token"
  2602. regex = '''(?i)(?:twitter)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([0-9]{15,25}-[a-zA-Z0-9]{20,40})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2603. keywords = [
  2604. "twitter",
  2605. ]
  2606. [[rules]]
  2607. id = "twitter-api-key"
  2608. description = "Twitter API Key"
  2609. regex = '''(?i)(?:twitter)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{25})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2610. keywords = [
  2611. "twitter",
  2612. ]
  2613. [[rules]]
  2614. id = "twitter-api-secret"
  2615. description = "Twitter API Secret"
  2616. regex = '''(?i)(?:twitter)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{50})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2617. keywords = [
  2618. "twitter",
  2619. ]
  2620. [[rules]]
  2621. id = "twitter-bearer-token"
  2622. description = "Twitter Bearer Token"
  2623. regex = '''(?i)(?:twitter)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(A{22}[a-zA-Z0-9%]{80,100})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2624. keywords = [
  2625. "twitter",
  2626. ]
  2627. [[rules]]
  2628. id = "typeform-api-token"
  2629. description = "Typeform API token"
  2630. regex = '''(?i)(?:typeform)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(tfp_[a-z0-9\-_\.=]{59})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2631. keywords = [
  2632. "tfp_",
  2633. ]
  2634. [[rules]]
  2635. id = "vault-batch-token"
  2636. description = "Vault Batch Token"
  2637. regex = '''(?i)\b(hvb\.[a-z0-9_-]{138,212})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2638. keywords = [
  2639. "hvb",
  2640. ]
  2641. [[rules]]
  2642. id = "vault-service-token"
  2643. description = "Vault Service Token"
  2644. regex = '''(?i)\b(hvs\.[a-z0-9_-]{90,100})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2645. keywords = [
  2646. "hvs",
  2647. ]
  2648. [[rules]]
  2649. id = "yandex-access-token"
  2650. description = "Yandex Access Token"
  2651. regex = '''(?i)(?:yandex)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(t1\.[A-Z0-9a-z_-]+[=]{0,2}\.[A-Z0-9a-z_-]{86}[=]{0,2})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2652. keywords = [
  2653. "yandex",
  2654. ]
  2655. [[rules]]
  2656. id = "yandex-api-key"
  2657. description = "Yandex API Key"
  2658. regex = '''(?i)(?:yandex)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(AQVN[A-Za-z0-9_\-]{35,38})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2659. keywords = [
  2660. "yandex",
  2661. ]
  2662. [[rules]]
  2663. id = "yandex-aws-access-token"
  2664. description = "Yandex AWS Access Token"
  2665. regex = '''(?i)(?:yandex)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}(YC[a-zA-Z0-9_\-]{38})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2666. keywords = [
  2667. "yandex",
  2668. ]
  2669. [[rules]]
  2670. id = "zendesk-secret-key"
  2671. description = "Zendesk Secret Key"
  2672. regex = '''(?i)(?:zendesk)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{40})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
  2673. keywords = [
  2674. "zendesk",
  2675. ]