gitleaks.toml 79 KB

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