Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .trufflehog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
exclude:
paths:
- ".git/**"
- "target/**"
- "node_modules/**"
- "*.sum"
- "*.lock"
- "dist/**"
include:
files:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SUGGESTION: Incorrect key for Trufflehog include section; should be paths to match exclude and be valid.

Suggested change
files:
paths:

- "**/*"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent sub-keys: paths vs files in config

Medium Severity

The exclude section uses paths as its sub-key while the include section uses files. These appear to serve the same purpose (specifying glob patterns for file paths) and the asymmetry looks like a typo. If the consuming tool expects a consistent key name, one of these sections will be silently ignored, undermining secrets scanning coverage.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 8d76464. Configure here.

Loading