@clear-capabilities/agentic-security-scanner 0.186.1 → 0.187.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/CHANGELOG.md +24 -1
  2. package/bin/agentic-security.js +42 -17
  3. package/dist/{2066.index.js → 1602.index.js} +477 -9
  4. package/dist/9560.index.js +62 -5
  5. package/dist/agentic-security.mjs +2 -2
  6. package/dist/agentic-security.mjs.sha256 +1 -1
  7. package/dist/{ca62ee93079be4c24eee.json → deabc47d0e27e21bf99b.json} +5 -5
  8. package/package.json +5 -5
  9. package/src/capabilities/decide.js +7 -1
  10. package/src/dataflow/CLAUDE.md +2 -0
  11. package/src/dataflow/catalog-haskell.js +7 -1
  12. package/src/dataflow/engine.js +16 -0
  13. package/src/dataflow/privacy-catalog-haskell.js +2 -1
  14. package/src/language/CLAUDE.md +19 -0
  15. package/src/language/compliance-map.js +6 -0
  16. package/src/language/context.js +20 -0
  17. package/src/language/haskell-disclosure.js +16 -4
  18. package/src/language/haskell-guards.js +130 -3
  19. package/src/language/haskell-ir.js +182 -10
  20. package/src/language/haskell-models.js +93 -4
  21. package/src/language/haskell-security-rules.js +112 -34
  22. package/src/language/haskell-syntax.js +10 -1
  23. package/src/language/haskell-web.js +44 -8
  24. package/src/language/support-registry.js +3 -2
  25. package/src/mcp/tools.js +54 -3
  26. package/src/posture/attack-taxonomy.js +10 -0
  27. package/src/posture/entrypoint-inventory.js +6 -2
  28. package/src/posture/proof-fabric/cli.js +1 -1
  29. package/src/posture/proof-fabric/container.js +2 -2
  30. package/src/posture/proof-fabric/generate-haskell.js +454 -0
  31. package/src/posture/proof-fabric/generate.js +15 -5
  32. package/src/posture/proof-fabric/oracles.js +21 -0
  33. package/src/posture/proof-fabric/reproducer.js +4 -2
  34. package/src/posture/proof-fabric/runner.js +4 -4
  35. package/src/posture/stable-id.js +2 -1
  36. package/src/report/index.js +3 -0
@@ -583,6 +583,9 @@ export function normalizeFindings(scan){
583
583
  blastRadius: sc.blastRadius || null,
584
584
  cvssVector: sc.cvssVector || null,
585
585
  functionReachable: sc.functionReachable || null,
586
+ // Hackage: the reason behind an `unknown` (no module mapping for the package is NOT "unreachable"), the modules that
587
+ // matched, and the tier. Dropping them left a bare `unknown` that read like a verdict.
588
+ ...(sc.reachability && typeof sc.reachability === 'object' ? { reachability: sc.reachability, reachabilityTier: sc.reachabilityTier || null } : {}),
586
589
  // 0.10.0: CISA KEV — actively abused in the wild
587
590
  kev: sc.kev === true,
588
591
  kevDateAdded: sc.kevDateAdded || null,