⚠️ Top 10 Laravel security issues I've found during audits ⚠️
#1 → Exposed API Keys & Passwords
How many times do I need to say it?
Don't commit secrets into git!😡
Don't commit secrets into git!😡
Don't commit secrets into git!😡
Don't commit secrets into git!😡
The unsurprising champion: API keys and passwords committed into version control, and scattered across codebases.
API keys unlock billing, storage, PII, and lots more, so it's a terrible idea given how widely shared code and repos are between 3rd party services and devs.
The tools I use to find secrets are:
Gitleaks: github.com/zricethezav/…
TruffleHog: github.com/trufflesecur…
I wrote about them over here: