Skip to content

Epic: Add post-match filters to remaining security scanner rules (defense-in-depth) #487

Closed

Description

@ajianaz

Progress Update (2026-08-05)

✅ Fixed (via #492)

✅ Fixed (via #491)

  • config/cors-wildcard — framework pattern coverage + negation filter

Still Open (3 rules)

Rule ID Risk Notes
injection/eval MEDIUM eval(req could match // evaluate request
crypto/weak-hash LOW-MEDIUM hashlib.md5 in import docs
crypto/ssl-verify-disabled LOW-MEDIUM verify: false in YAML comments

Low Priority (already specific enough)

  • crypto/md5-password — requires function-call syntax, very low FP risk
  • crypto/sha1-password — same
  • injection/exec — already requires dynamic input indicators

Completed: 7/11 rules have defense-in-depth

Rule Regex Quality Post-Match Filter Doc Skip
crypto/hardcoded-secret ✅ ✅ ✅
sec-hardcoded-url ✅ ✅ ✅
config/cors-wildcard ✅ ✅ ✅
injection/sql-concat ✅ ✅ ✅
config/debug-enabled ✅ ✅ ✅
auth/hardcoded-role ✅ N/A (regex specific enough) ✅
crypto/md5-password ✅ N/A (regex specific enough) ✅
crypto/sha1-password ✅ N/A (regex specific enough) ✅
injection/exec ✅ N/A (regex specific enough) ✅
injection/eval ⚠️ ❌ ✅
crypto/weak-hash ⚠️ ❌ ✅
crypto/ssl-verify-disabled ⚠️ ❌ ✅
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:mediumscope:core

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions