GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — clx/.gitleaks.toml at main · blackaxgit/clx

Expand file tree

/

.gitleaks.toml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
37 lines (36 loc) · 1.58 KB
/

.gitleaks.toml

Copy path

File metadata and controls

37 lines (36 loc) · 1.58 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# gitleaks configuration for CLX.
#
# Extends the default ruleset. The allowlist covers ONLY the synthetic,
# credential-shaped fixtures that security regression tests must contain to prove
# `redact_secrets` and the config-trust filter scrub real-looking input. None is
# a real credential.
#
# Defense in depth (addresses the "over-broad allowlist" review finding):
# * `paths` scopes the allowlist to the specific redaction/security test-vector
# files, so an identical synthetic value placed in PRODUCTION code (anything
# outside these files) would STILL trip the scanner.
# * `regexes` are anchored with word boundaries and require a discriminating
# tail (no bare `SYNTH` substring), as a secondary guard for the named fakes.
[extend]
useDefault = true
[allowlist]
description = "Synthetic-only fixtures in CLX redaction/security regression tests"
# File paths whose purpose is to hold credential-shaped test vectors.
paths = [
'''crates/clx-core/src/redaction\.rs''',
'''crates/clx-core/src/storage/tests\.rs''',
'''crates/clx-mcp/src/tests\.rs''',
'''crates/clx-core/tests/.*_poc\.rs''',
'''crates/clx-core/tests/redaction_scheme_floor_regression\.rs''',
'''crates/clx-core/tests/security_fixed_vectors_regression\.rs''',
'''crates/clx-hook/tests/learning_mode_e2e\.rs''',
]
# Named synthetic tokens, anchored and with a required tail.
regexes = [
'''\bSYNTH[A-Za-z0-9]{3,}\b''',
'''\bSYNTHETICTOKEN[0-9]+\b''',
'''\bsk_test_[A-Za-z0-9]+\b''',
'''\bsk-abcdefghijklmnopqrstuvwxyz1234567890\b''',
'''\blongsecrettokenvalue[0-9]+\b''',
'''\bhunter2synthetic\b''',
]
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.