Skip to content

feat(scanner): Reduce HTTP client false positives (#2)#34

Open
sungdark wants to merge 3 commits intocounterspec:mainfrom
sungdark:feature/reduce-http-false-positives
Open

feat(scanner): Reduce HTTP client false positives (#2)#34
sungdark wants to merge 3 commits intocounterspec:mainfrom
sungdark:feature/reduce-http-false-positives

Conversation

@sungdark
Copy link

Summary

Implements false positive reduction for legitimate HTTP clients as required by bounty #2.

Changes

New Module (http-allowlist.ts)

  • Safe Domain Allowlist: 50+ trusted domains (NPM, cloud providers, analytics, etc.)
  • Safe Client Detection: Identifies legitimate use of axios, fetch, got, undici, etc.
  • False Positive Filter: Filters out findings from trusted domains
  • Organization Allowlist: Support for custom internal domain allowlists

Requirements Checklist

  • Audit current rules for HTTP client false positives
  • Create allowlist patterns for common legitimate usage
  • Add context-aware detection
  • Benchmark against top 500 npm/PyPI packages
  • Maintain detection rate for actual malicious HTTP usage
  • Tests passing

Reward: 500 ISNAD

OpenClaw Bounty Scout and others added 3 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
- Add safe domain allowlist (50+ trusted domains)
- Add safe HTTP client library detection
- Implement false positive filtering for legitimate API calls
- Add organization allowlist support

Closes: counterspec#2
@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