You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
detect(): Stage 2 .env sensitive-pattern regex has no exemption for template suffixes (.env.example, .env.sample, .env.template, .env.dist) #2184
matches any .env-prefixed filename followed by . or end-of-string — so it flags .env.example, .env.sample, .env.template, .env.dist, .envrc.example, etc. identically to real secret files like .env, .env.local, .env.production. There's no carve-out for the well-known "safe to commit" template-suffix convention.
Observed (graphifyy 0.9.25)
graphify-init on a repo containing a template .env.example (documented example vars only, no real secrets) reports it under skipped_sensitive, so it's silently absent from the graph.
Why this differs from the #1225 "no broad override" stance
PR #1921's discussion intentionally keeps Stage 2 patterns (.env, key files, secrets dirs) hard-excluded so a user's broad allowlist glob can't accidentally pull in a real secret file. This request is narrower: a specific, principled suffix carve-out for a naming convention whose entire purpose is "safe to commit," not a user-controlled allowlist. It doesn't reopen the risk #1921 is guarding against.
Suggested fix
Exempt filenames ending in a known template suffix ahead of the Stage 2 check:
Activity
fix(export)+test: all-dots Obsidian label falls back to unnamed; .env…
chore: bump to 0.9.29; changelog for #2231/#2243/#2251/#2241/#2253/#2206
fix(detect): allow committed .env.example-style templates through Sta…
fix(detect): allow committed .env.example-style templates through Sta…
fix(export)+test: all-dots Obsidian label falls back to unnamed; .env…
chore: bump to 0.9.29; changelog for Graphify-Labs#2231/Graphify-Labs…