Current behavior
This BCheck passes validation and correctly generates an issue when tested within BS Code, but using this BCheck via "Do passive scan" in Repeater or Proxy will fail to generate an issue, even when run against the same request that was used to successfully test the BCheck within BS Code.
metadata:
language: v2-beta
name: "POST request submitting URL parameter data"
description: "Checks for POST requests submitting data via URL query parameters rather than the POST body"
tags: "passive"
given request then
if {latest.request.method} matches "POST" and {latest.request.url.query} matches ".+" then
report issue:
severity: low
confidence: tentative
detail: `The POST request is sending data via URL query parameters. This information could be logged by intermediate servers and web browser histories.\nDetected query parameter string: {latest.request.url.query}`
remediation: `Consider changing the application to submit the information via a POST body if sensitive information must be transmitted.`
end if
Here is an example request that successfully generates the BCheck issue when tested within BS Code but fail to generate an issue elsewhere in BurpSuite:
POST /test/log/?explode=events HTTP/1.1
Host: acme.com
Accept: */*
Content-Type: multipart/form-data; boundary=----geckoformboundary76b9be263432b1c840adfe4c9c54f856
Content-Length: 171
Priority: u=6
Te: trailers
------geckoformboundary76b9be263432b1c840adfe4c9c54f856
Content-Disposition: form-data; name="events"
blah
------geckoformboundary76b9be263432b1c840adfe4c9c54f856--
Expected behavior
This bcheck used to work correctly some time ago, and as far as I can tell, the BCheck should still work. The issue hinges on the given request then line. If I change this line to given response then, the BCheck works correctly in all areas of BurpSuite.
Environment details
- Burp version:v2025.7.2
- BCheck language version: v2-beta
- Operating system: MacOS Sequoia 15.5
Additional details
N/A
Current behavior
This BCheck passes validation and correctly generates an issue when tested within BS Code, but using this BCheck via "Do passive scan" in Repeater or Proxy will fail to generate an issue, even when run against the same request that was used to successfully test the BCheck within BS Code.
Here is an example request that successfully generates the BCheck issue when tested within BS Code but fail to generate an issue elsewhere in BurpSuite:
Expected behavior
This bcheck used to work correctly some time ago, and as far as I can tell, the BCheck should still work. The issue hinges on the
given request thenline. If I change this line togiven response then, the BCheck works correctly in all areas of BurpSuite.Environment details
Additional details
N/A