Category: Articles

How SecureFase works, and why it works that way.

  • Mapping findings to the OWASP Top 10 without guessing

    Mapping findings to the OWASP Top 10 without guessing

    Compliance reports love the OWASP Top 10. The problem is how findings get there. Many tools map weaknesses to categories by feel, so the same issue lands in different places depending on which scanner found it.

    Using OWASP’s own lists

    Each OWASP Top 10 2021 category publishes the CWE weaknesses it covers. SecureFase maps a finding to a category only when OWASP’s list for that category includes the finding’s CWE. Where OWASP lists a weakness under one category only, that is where it goes, even if another category sounds closer.

    Weaknesses that no OWASP 2021 list includes stay unmapped rather than being forced into the nearest category. The few deliberate exceptions are documented in the mapping itself. NoSQL injection is one: its CWE is not on OWASP’s injection list, but its parent weakness is, so we map it to injection and say so.

    Two Top 10s, kept apart

    OWASP also publishes an API Security Top 10 (2023). Its categories are not the same as the application Top 10, and mixing them distorts both. API findings carry their API Top 10 category in its own field, and are counted in the 2021 Top 10 only through their CWE.

    Checked by tests

    The official lists are embedded in our test suite. Every CWE our built-in rules report is checked against them on every change, so a mapping cannot drift away from OWASP’s without a test failing.

    The result: when a SecureFase report says a finding is an A03 injection issue, you can trace exactly why. See how this feeds audit evidence in compliance evidence.

  • How we measure scanner accuracy, and keep it from slipping

    How we measure scanner accuracy, and keep it from slipping

    Every security vendor claims accuracy. Fewer say how they measure it, or what stops it getting worse. Here is how we do both.

    Three depths of analysis

    • Native: fast pattern-based checks, built for quick feedback in CI.
    • Extended: data-flow (taint) analysis for JavaScript, TypeScript and Python that follows untrusted input to dangerous calls and shows the path, plus established open-source scanners when they are installed.
    • Max: analysis across function boundaries, plus secret scanning of the full git history.

    Measuring against known answers

    Accuracy is only meaningful against code where the right answer is known. We keep benchmark corpora of true-positive and true-negative pairs for each weakness class, plus secret-validation fixtures with live and revoked credentials, and score every engine on them:

    • Precision: of everything we flagged, how much was real.
    • Recall: of everything real, how much we flagged.
    • F1: the balance of the two.

    A regression gate, not a dashboard

    Baselines are stored alongside the code. Our CI fails a change if aggregate recall drops by more than 2% or precision drops by more than 5% against that baseline. A rule that is “tidied up” and quietly stops catching a class of vulnerability does not ship.

    Results you can take elsewhere

    Every completed scan exports SARIF 2.1.0, including the data-flow path when taint analysis found one, so results can go into the tools your developers already use.

    Accuracy is not the same as priority

    A real finding is not necessarily an urgent one. Dependency findings are enriched with EPSS exploit-probability scores and CISA’s Known Exploited Vulnerabilities list, and the priority score combines severity, exploit likelihood, reachability and live secret validation. That is how thousands of accurate findings become a short list worth finishing. More on that in why SecureFase.