ascanrulesBeta: Clarify Proxy Disclosure alert details#7407
Conversation
02aa0c2 to
64d60b8
Compare
|
Great job! No new security vulnerabilities introduced in this pull requestUse @Checkmarx to interact with Checkmarx PR Assistant. |
64d60b8 to
3728342
Compare
|
Sorry for the additional pushes, I noticed a few things needed cleaning up. Should be stable now. |
There was a problem hiding this comment.
Pull request overview
This PR improves the quality and clarity of the Proxy Disclosure active scan rule (40025) alerts in the ascanrulesBeta add-on, aligning the alert output with the intended meaning of the findings (and Issue 8556).
Changes:
- Populate Evidence with the matched proxy request header echoed in TRACE responses, and stop populating the Attack field.
- Improve Other Info by indicating which proxy request header triggered detection when a node is unfingerprinted/unknown.
- Update associated documentation/help text, i18n strings, example alerts, and unit tests to reflect the new alert details.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| addOns/ascanrulesBeta/src/main/java/org/zaproxy/zap/extension/ascanrulesBeta/ProxyDisclosureScanRule.java | Captures proxy header evidence and improves Other Info generation; removes Attack population; updates example alerts. |
| addOns/ascanrulesBeta/src/main/resources/org/zaproxy/zap/extension/ascanrulesBeta/resources/Messages.properties | Updates Proxy Disclosure description text and adds a new Other Info i18n string. |
| addOns/ascanrulesBeta/src/main/javahelp/org/zaproxy/zap/extension/ascanrulesBeta/resources/help/contents/ascanbeta.html | Updates Proxy Disclosure help content to describe new evidence/other-info behavior. |
| addOns/ascanrulesBeta/src/test/java/org/zaproxy/zap/extension/ascanrulesBeta/ProxyDisclosureScanRuleUnitTest.java | Adjusts example-alert assertions for evidence/attack/description/other-info changes. |
| addOns/ascanrulesBeta/CHANGELOG.md | Documents the change under Unreleased. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cef694e to
4412ff4
Compare
Signed-off-by: kingthorin <kingthorin@users.noreply.github.com>
4412ff4 to
30d9eba
Compare
|
Now with copilot items addressed. |

Overview
I decided to tackle these separate from 5718 as it was too busy/fragmented.
Improves Proxy Disclosure scan rule (40025) alert quality per Issue 8556:
Related Issues
X-Forwarded-*text zaproxy#8556