gitleaks.toml 76 KB

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