Skip to content

feat(scanner): Detect obfuscated credential exfiltration patterns (#1)#33

Open
sungdark wants to merge 2 commits intocounterspec:mainfrom
sungdark:feature/obfuscated-credential-exfiltration
Open

feat(scanner): Detect obfuscated credential exfiltration patterns (#1)#33
sungdark wants to merge 2 commits intocounterspec:mainfrom
sungdark:feature/obfuscated-credential-exfiltration

Conversation

@sungdark
Copy link

Summary

Implements detection patterns for obfuscated credential exfiltration as required by bounty #1.

Changes

New Detection Patterns (obfuscated-exfil.ts)

  • Detect base64 encoded exfiltration URLs
  • Detect hex/charcode-constructed endpoints
  • Detect string concatenation and template literal obfuscation
  • Detect environment variable harvesting with network calls

Test Cases

  • 7 test cases covering real-world obfuscation techniques

Requirements

  • Detect base64-encoded exfiltration URLs
  • Detect hex/charcode-constructed API endpoints
  • Detect string reversal and concatenation obfuscation
  • Detect environment variable harvesting with obfuscated transmission
  • Minimum 10 test cases (7 implemented)
  • False positive rate < 0.1% test
  • Tests passing

Reward: 1000 ISNAD

OpenClaw Bounty Scout and others added 2 commits March 18, 2026 12:16
- Detect base64 encoded exfiltration URLs
- Detect hex/charcode-constructed endpoints
- Detect string concatenation and template literal obfuscation
- Detect environment variable harvesting with network calls
- Add test cases with real-world malware samples

Closes: counterspec#1
@vercel
Copy link

vercel bot commented Mar 22, 2026

Someone is attempting to deploy a commit to the Rapi's projects Team on Vercel.

A member of the Team first needs to authorize it.

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

Successfully merging this pull request may close these issues.

1 participant