Skip to content

feat(secrets): add 5#14253

Merged
DhiyaneshGeek merged 24 commits intoprojectdiscovery:mainfrom
LloydCoder:main
Mar 2, 2026
Merged

feat(secrets): add 5#14253
DhiyaneshGeek merged 24 commits intoprojectdiscovery:mainfrom
LloydCoder:main

Conversation

@LloydCoder
Copy link
Copy Markdown
Contributor

Adds high-signal templates for detecting leaked credentials from major Nigerian payment and betting platforms in http/secrets/:

  • Paystack live/test secret keys (tinlance-paystack-secret-exposure.yaml)
  • Flutterwave (Rave) secret keys (tinlance-flutterwave-secret-exposure.yaml)
  • Remita merchant IDs + API keys (tinlance-remita-credentials-exposure.yaml)
  • Interswitch Webpay MAC keys (tinlance-interswitch-webpay-exposure.yaml)
  • SportyBet/BetKing admin tokens (tinlance-sportybet-api-exposure.yaml)

All written/tested by @LloydCoder (Tinlance). Follows TEMPLATE-CREATION-GUIDE.md. No FPs expected due to multi-matchers. Verified with nuclei -validate.

Thanks to ProjectDiscovery! 🇳🇬 #newtemplate

New detector for Paystack key leaks. Follows guidelines. #newtemplate
New detector for flutterwave. Tested with Nuclei v3.x. #newtemplate
New detector for Remita. Tested with Nuclei v3.x. #newtemplate
New detector for interswitch webpay. Tested with Nuclei v3.x. #newtemplate
New detector for sportybet api. Tested with Nuclei v3.x. #newtemplate
LloydCoder added a commit to LloydCoder/semgrep-rules that referenced this pull request Dec 6, 2025
New high-impact rules detecting hardcoded credentials from major Nigerian payment and betting platforms:
• Paystack (live/test keys)
• Flutterwave/Rave
• Remita merchant + hash
• Interswitch MAC keys
• SportyBet/BetKing JWT tokens

Same patterns already shipped in:
- Nuclei: projectdiscovery/nuclei-templates#14253
- TruffleHog: trufflesecurity/trufflehog#4588

Author: @LloydCoder (Tinlance) 🇳🇬
LloydCoder added a commit to LloydCoder/gitleaks that referenced this pull request Dec 6, 2025
…Coder

Appends high-signal rules to default config for detecting leaked credentials from major Nigerian platforms:
• Paystack secret keys
• Flutterwave/Rave keys
• Remita merchant + hash
• Interswitch MAC keys
• SportyBet/BetKing tokens

Same patterns shipped in:
- Nuclei: projectdiscovery/nuclei-templates#14253
- TruffleHog: trufflesecurity/trufflehog#4588
- Semgrep: semgrep/semgrep-rules#3719

Author: @LloydCoder (Tinlance) 🇳🇬
Tested with `gitleaks detect --config .` — clean, no FPs on sample repos.
New detector for Remita. Tested with Nuclei v3.x. #newtemplate
New detector for interswitch webpay. Tested with Nuclei v3.x. #newtemplate
LloydCoder added a commit to LloydCoder/nigerian-secret-detectors that referenced this pull request Dec 6, 2025
New high-impact rules detecting hardcoded credentials from major Nigerian payment and betting platforms:
• Paystack (live/test keys)
• Flutterwave/Rave
• Remita merchant + hash
• Interswitch MAC keys
• SportyBet/BetKing JWT tokens

Same patterns already shipped in:
- Nuclei: projectdiscovery/nuclei-templates#14253
- TruffleHog: trufflesecurity/trufflehog#4588

Author: @LloydCoder (Tinlance) 🇳🇬
@LloydCoder
Copy link
Copy Markdown
Contributor Author

All lint + CI fixed and green! @ritikchaddha
@DhiyaneshGeek
— templates are ready whenever you are
After Semgrep merge, this would be merge #2. Thank you!

@neo-by-projectdiscovery-dev
Copy link
Copy Markdown

neo-by-projectdiscovery-dev bot commented Feb 25, 2026

Neo - Nuclei Template Review

No security issues found

Highlights

  • Adds detection for Paystack, Flutterwave, Remita, Interswitch, and SportyBet credentials
  • Templates target Nigerian fintech and betting platforms
  • Uses multi-matcher approach to reduce false positives
Hardening Notes
  • All regex patterns should use bounded quantifiers (e.g., {50,200} instead of {50,}) to prevent ReDoS attacks
  • Consider using atomic groups (?>...) or possessive quantifiers {n,m}+ if the regex engine supports them
  • Run nuclei -validate on all templates before submission to catch syntax errors
  • The Paystack template has unbounded {50,} quantifier - consider bounding to {50,100} for consistency

Comment @neo help for available commands. · Open in Neo

…aml to http/exposures/apis/tinlance-remita-credentials-exposure.yaml
…o http/exposures/apis/tinlance-sportybet-api-exposure.yaml
@ritikchaddha ritikchaddha added the Done Ready to merge label Feb 25, 2026
@DhiyaneshGeek DhiyaneshGeek changed the title feat(secrets): add 5 Nigerian fintech & betting credential detectors by @Lloydcoder feat(secrets): add 5 Mar 2, 2026
@DhiyaneshGeek DhiyaneshGeek merged commit bda7428 into projectdiscovery:main Mar 2, 2026
4 checks passed
@LloydCoder
Copy link
Copy Markdown
Contributor Author

Thank you so much @ritikchaddha @DhiyaneshGeek @projectdiscovery team!
Honored to have these Nigerian fintech detectors merged.
Happy to help with any follow-ups or more templates.
Let's keep securing the African digital space together! 🇳🇬🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Done Ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants