generated from host-uk/core-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
lang:phpPHP/LaravelPHP/Laravel
Description
Description
The LogReaderService has redaction patterns but misses some common sensitive data formats.
Location
- File: src/Services/LogReaderService.php
- Lines: 20-55
Issue
Current patterns redact:
- Stripe keys, GitHub tokens, Bearer tokens
- AWS credentials, database connection strings
- Emails, IPs, credit card numbers
- JWTs, private keys, common env vars
Missing patterns:
- Slack webhooks (https://hooks.slack.com/services/...)
- SendGrid API keys (SG.*)
- Twilio credentials (SK*, AC*)
- Google API keys (AIza*)
- Azure connection strings
- SSH keys in other formats (PuTTY, etc.)
- Session IDs in URLs
- Basic auth in URLs (user:pass@host)
- Phone numbers (potential PII)
Recommendation
Add patterns for:
- Common SaaS API keys (Slack, SendGrid, Twilio, Google)
- Cloud provider connection strings (Azure, GCP)
- Authentication credentials in URLs
- Consider making patterns configurable via config file
Severity
Low - Some sensitive data may not be redacted but core patterns exist
Metadata
Metadata
Assignees
Labels
lang:phpPHP/LaravelPHP/Laravel