Skip to content

Bump trufflehog to 3.95.5, stop removing .git/index in sanitize_git_repo - #3176

Merged
liquidsec merged 1 commit into
devfrom
bump-trufflehog
Jun 15, 2026
Merged

Bump trufflehog to 3.95.5, stop removing .git/index in sanitize_git_repo#3176
liquidsec merged 1 commit into
devfrom
bump-trufflehog

Conversation

@liquidsec

Copy link
Copy Markdown
Collaborator

Summary

  • Bump trufflehog from 3.90.8 to 3.95.5
  • Stop removing .git/index during repo sanitization

Trufflehog 3.95.5 clones local file:// repos before scanning (their fix
for malicious git config execution, PR trufflesecurity/trufflehog#4502).
BBOT's sanitize_git_repo() was removing .git/index, which broke this
clone step. The index file is binary metadata (filename-to-SHA mappings)
with no execution path, so leaving it in place has no security impact.
The actual attack vectors (.git/config, .git/hooks/) remain sanitized.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Performance Benchmark Report

⚠️ No current benchmark data available

This might be because:

  • Benchmarks failed to run
  • No benchmark tests found
  • Dependencies missing

@codecov

codecov Bot commented Jun 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90%. Comparing base (404bbbc) to head (8286bc0).

Additional details and impacted files
@@          Coverage Diff          @@
##             dev   #3176   +/-   ##
=====================================
- Coverage     90%     90%   -0%     
=====================================
  Files        449     449           
  Lines      43953   43950    -3     
=====================================
- Hits       39291   39288    -3     
  Misses      4662    4662           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ausmaster ausmaster added this to the BBOT 3.0 - blazed_elijah milestone Jun 15, 2026
@liquidsec
liquidsec merged commit d325985 into dev Jun 15, 2026
17 of 18 checks passed
@ausmaster
ausmaster deleted the bump-trufflehog branch June 30, 2026 15:36
@liquidsec liquidsec mentioned this pull request Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants