Repository navigation
Exclude cryptography page from DVWA full scan plan - #529
Shivambakal wants to merge 1 commit into
Conversation
Signed-off-by: Shivam bakal <133800834+Shivambakal@users.noreply.github.com>
|
New Issues (10 out of 10)Checkmarx found the following issues in this Pull RequestSeverity: 1
Use @Checkmarx to take action directly from this PR:
Try it: |
|
This does not seem to be a good way to exclude false positives. |
|
Hi Simon, thanks for the question — and honestly, re-reading #522, the issue doesn't actually name an alert at all. What the reporter describes is the spider finding thousands of URLs on the What this PR does is narrowly scoped: it adds a single path pattern ( That said, if you'd rather handle this differently — for example with an alert filter rule, or another spider config option as you mentioned on the issue — I'm happy to rework the PR. Which approach would you prefer? |
|
But is that a real problem? |
|
Hi Simon, fair questions — let me answer what I can from the issue itself, and be straight about what I can't. Is it a real problem? The reporter describes the spider finding thousands of URLs on the /vulnerabilities/cryptography?token= endpoint. That's the cost: thousands of tokenised URLs enumerated on every crawl of that plan — crawl bloat even if each URL is harmless. I can't give you a measured crawl time, and I can't confirm whether they land in the Sites tree — the issue thread doesn't say, and that's the honest gap. Can I reproduce it? Not locally, no — I don't have a DVWA + ZAP setup I can run here, so I can't answer the crawl-time / Sites-tree questions with a run of my own. I know that makes this harder to review, and I don't want to waste your time testing something I can't verify myself. What this PR does is deliberately narrow: one path pattern in excludePaths, no scan rule touched, no alert suppressed anywhere. If the evidence bar for that is a reproduction, I understand — happy for you to close this, or tell me what evidence you'd accept and I'll go get it. Which would you prefer? |
|
Yeah, will close this. |




Fixes #522. Adds
http://localhost:4280/vulnerabilities/cryptography.*toexcludePathsinother/af-plans/FullScanDvwaAuth.yaml. This is a plan-level exclude of one path (the cryptography challenge page, which the scanner flags as a false positive); it does not change spider behaviour elsewhere. The plan's spider test requires ≥100 URLs found and this removes a single path, so the count is not plausibly affected — but I could not run DVWA + ZAP locally, so please confirm via CI.