Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detector Fix: Postgres #68

Open
ankushgoel27 opened this issue Feb 5, 2025 · 0 comments
Open

Detector Fix: Postgres #68

ankushgoel27 opened this issue Feb 5, 2025 · 0 comments

Comments

@ankushgoel27
Copy link

https://github.com/trufflesecurity/trufflehog/blob/3ee9c2f1af6365e0db6dc036826196bae21d34e7/pkg/detectors/postgres/postgres.go#L51

Postgres detector not account for drivers and other formats and the regex is also very weak.

SQLALCHEMY_DB_URL = "postgresql+psycopg2://postgres:6gpT;4UR[]dZ7?$9@35.206.9.236/postgres" not being picked up by trufflehog

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

No branches or pull requests

1 participant