Some checks are pending
build-images / api (push) Waiting to run
build-images / worker-gpu (push) Waiting to run
build-images / web (push) Waiting to run
codeql / Analyze (javascript-typescript) (push) Waiting to run
codeql / Analyze (python) (push) Waiting to run
perf / API hot-path micro-smoke (budgeted) (push) Waiting to run
perf / Desktop engine crates (release build check) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Waiting to run
vision2026-ci / API phase modules (ruff + pytest) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Waiting to run
vision2026-ci / Python SDK resource tests (push) Waiting to run
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Waiting to run
vision2026-ci / Alembic upgrade + drift check (push) Waiting to run
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Waiting to run
Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
50 lines
2.4 KiB
TOML
50 lines
2.4 KiB
TOML
title = "videogen gitleaks config"
|
|
|
|
# Extend gitleaks' default ruleset rather than replace it — we still want all
|
|
# the stock provider-token detectors, just with gaps closed.
|
|
[extend]
|
|
useDefault = true
|
|
|
|
# --- Closes the gap found 2026-10-19 (Menivor/Neon incident) ---------------
|
|
# A real Neon Postgres credential (postgresql://neondb_owner:<password>@...)
|
|
# sat in `.env` and in an OpenNext build artifact (apps/web/.open-next/
|
|
# cloudflare/next-env.mjs) across two commits in caelum0x/menivor's history.
|
|
# The prior gitleaks pass (default ruleset only) missed both: its
|
|
# `generic-api-key` rule matches `KEY: "<token>"`-shaped high-entropy
|
|
# strings, not `scheme://user:pass@host` connection URIs, and it has no
|
|
# dedicated rule for Postgres/MySQL/Mongo/Redis-style connection strings at
|
|
# all. This rule matches any `postgres://` or `postgresql://` URI with an
|
|
# embedded `user:password@host` segment, anywhere in a file, regardless of
|
|
# the variable name it's assigned to (DATABASE_URL, NEON_DATABASE_URL,
|
|
# REELFORGE_DATABASE_URL, a raw `psql '...'` invocation, etc.) or whether
|
|
# .gitignore would normally keep that file out of a *future* commit — this
|
|
# scans tracked content, so an already-committed build artifact is caught
|
|
# the same as a committed .env.
|
|
[[rules]]
|
|
id = "postgres-connection-string"
|
|
description = "Postgres/PostgreSQL connection string with embedded user:password credentials"
|
|
regex = '''postgres(?:ql)?://[A-Za-z0-9._%+-]+:[^@\s"'/]+@[A-Za-z0-9._-]+(?::[0-9]+)?/[A-Za-z0-9._-]*'''
|
|
tags = ["credentials", "postgresql", "database", "connection-string"]
|
|
|
|
[[rules.allowlists]]
|
|
description = "Placeholder/example credentials in .env.*example and docs templates are not real secrets"
|
|
regexes = [
|
|
'''postgres(?:ql)?://USER:[^@]*@''',
|
|
'''postgres(?:ql)?://[^:]+:(password|changeme|example|xxxx+|your[_-]?password)@''',
|
|
]
|
|
paths = [
|
|
'''\.env\.[^/]*example$''',
|
|
'''\.env\.example$''',
|
|
'''DEPLOY\.md$''',
|
|
'''DEPLOYMENT\.md$''',
|
|
]
|
|
|
|
# Same idea, generalized to the other connection-string-with-credentials
|
|
# schemes this monorepo actually uses (Redis, MySQL, MongoDB) so the next one
|
|
# of these doesn't need a one-off rule again.
|
|
[[rules]]
|
|
id = "generic-db-connection-string"
|
|
description = "Redis/MySQL/MongoDB connection string with embedded user:password credentials"
|
|
regex = '''(?:redis|mysql|mongodb(?:\+srv)?)://[A-Za-z0-9._%+-]+:[^@\s"'/]+@[A-Za-z0-9._-]+'''
|
|
tags = ["credentials", "database", "connection-string"]
|