gitleaks.toml 75 KB

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