gitleaks.toml 79 KB

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