Skip to content

scanner: reduce HTTP client false positives with context-aware checks#18

Open
yuliuyi717-ux wants to merge 1 commit intocounterspec:mainfrom
yuliuyi717-ux:codex/reduce-http-fp-issue-2
Open

scanner: reduce HTTP client false positives with context-aware checks#18
yuliuyi717-ux wants to merge 1 commit intocounterspec:mainfrom
yuliuyi717-ux:codex/reduce-http-fp-issue-2

Conversation

@yuliuyi717-ux
Copy link

Summary

  • add targeted tests for legitimate fetch / axios / node-fetch usage on safe domains
  • add context-aware allowlist logic for EXFIL_FETCH_DYNAMIC so normal API client traffic is not flagged as high-risk exfiltration
  • tighten CRED_FILE_READ matching so process.env access is not misclassified as sensitive file reads
  • keep obfuscated exfil detection intact with explicit regression coverage

Verification

  • cd scanner && npm test
  • cd scanner && npm run build

Fixes #2

@vercel
Copy link

vercel bot commented Feb 27, 2026

@yuliuyi717-ux 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.

Reduce false positives on legitimate HTTP clients

1 participant