gitleaks.toml 78 KB

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