Skip to content

AWS credentials in files not detected in git scan #2620

Open
@Constantin07

Description

Please review the Community Note before submitting

TruffleHog Version

3.72.0

Trace Output

Expected Behaviour

It should detect AWS credentials saved in files.

Actual Behavior

It doesn't detect them at all.

Steps to Reproduce

  1. In a repository, create the .aws/credentials file and add the AWS creds like:
[default]
aws_access_key_id=****
aws_secret_access_key=****
  1. Run trufflehog filesystem .
  2. Below logs output is produced:
🐷🔑🐷  TruffleHog. Unearth your secrets. 🐷🔑🐷

2024-03-25T17:16:40Z    info-0  trufflehog      running source  {"source_manager_worker_id": "YnfOv", "with_units": true}
2024-03-25T17:16:40Z    info-0  trufflehog      finished scanning       {"chunks": 696, "bytes": 660010, "verified_secrets": 0, "unverified_secrets": 0, "scan_duration": "158.160668ms"}
  1. It doesn't detect anything.

Environment

  • OS: MacOS
  • Version [Sonoma 14.4]

Additional Context

References

  • #0000

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions