Skip to content

Commit 9e23736

Browse files
committed
docs(blog): drop XSS-justification framing in detection-depth comparison
1 parent ed21dc7 commit 9e23736

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/content/blog/semgrep-vs-codeql-vs-opentaint.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ Each case measures two outcomes: false negatives (vulnerabilities the tool fails
2727

2828
## Five test cases
2929

30-
XSS is well-understood. What varies is how much surrounding code a tool can work through and still find it.
31-
32-
The five test cases form a progression of analytical capabilities, each demanding something the previous one did not:
30+
All five cases are the same bug: user input reaching an HTML response without escaping. What changes from one to the next is how far that input travels and how much code a tool has to trace to follow it.
3331

3432
| # | Capability required | What the code does |
3533
|---|---|---|
@@ -39,7 +37,7 @@ The five test cases form a progression of analytical capabilities, each demandin
3937
| 4 | Field sensitivity | Value passes through constructor chains and nested objects |
4038
| 5 | Pointer analysis | Value flows through builder pattern with virtual dispatch |
4139

42-
Each case reflects patterns that are routine in production code. We already know XSS is dangerous. What these cases test is where those ordinary patterns make a tool lose track of the data.
40+
These are ordinary patterns — a variable, a helper method, a constructor, a builder. Each one adds a step where a tool can lose the thread between the input and the sink.
4341

4442
### Syntax matching — direct return
4543

@@ -416,7 +414,7 @@ Results:
416414

417415
## Scope
418416

419-
Five cases, one application, one vulnerability class. XSS in a Spring Boot project isolates analytical depth but says nothing about language breadth or performance at scale. A tool that handles all five cases here may still miss patterns in other frameworks.
417+
This is a narrow test: five cases in one Spring Boot application. It shows how deeply each tool can follow data flow, but it says nothing about how they handle other languages or how they perform on a large codebase. A tool that catches all five cases here could still miss things in a different framework.
420418

421419
## Results summary
422420

0 commit comments

Comments
 (0)