This is example content generated to showcase SlopDrop's blog feature. Real posts coming soon.
Every Upload Gets Scanned for Secrets
You're writing a setup guide. You include an example API call. You paste the real key instead of the placeholder. You upload the file. Now your AWS credentials are on the internet.
This happens constantly. GitHub has an entire team dedicated to detecting leaked secrets in public repos. We built the same check into every upload.
What We Scan For
Every file uploaded to SlopDrop is scanned for:
- AWS access keys
- GitHub tokens
- OpenAI API keys
- Stripe keys
- Slack tokens
- Google API keys
- Private keys (RSA, DSA, EC, PGP)
- JWT tokens
- Database connection URLs
- Generic secret assignment patterns
If we find one, the upload is rejected with a clear error telling you what was found and on which line.
Why Not Just Warn?
We considered showing a warning and letting you proceed. But the whole point of secret scanning is preventing leaks. A warning that you can click past doesn't prevent anything.
If you genuinely need to upload a file containing a secret (test fixtures, documentation about secret formats), there's an explicit flag: --allow-secrets. It requires your API key to have the bypass permission, and the action is logged to the audit trail.
The Patterns Are Pragmatic
We don't try to understand the semantics of your code. We match patterns: specific prefixes (like AKIA for AWS), known token formats (like ghp_ for GitHub), and assignment patterns (like api_key = 'long_string').
False positives are rare because the patterns are specific. False negatives are possible for custom secret formats we don't know about. But catching the common ones covers the vast majority of accidental leaks.