gitleaks.toml 79 KB

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