test: document xss_exploiter failure-mode parser behaviour#1071
Open
mythri2405 wants to merge 2 commits into
Open
test: document xss_exploiter failure-mode parser behaviour#1071mythri2405 wants to merge 2 commits into
mythri2405 wants to merge 2 commits into
Conversation
utksh1
requested changes
Jun 19, 2026
utksh1
left a comment
Owner
There was a problem hiding this comment.
Requesting changes. The test addition is small, but the current run has frontend-checks failing. Please rerun/fix CI so the PR is fully green before it can be merged.
utksh1
requested changes
Jun 20, 2026
utksh1
left a comment
Owner
There was a problem hiding this comment.
Still blocked after the latest update. The parser tests are small, but the PR now includes unrelated frontend/package-lock dependency churn. Please split the package-lock/audit update out and keep this PR focused on xss_exploiter parser behavior.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds parser contract coverage for the xss_exploiter plugin to document and lock in its failure-mode behavior. It does not change plugin runtime behavior, only improves test-level documentation of expected outputs.
Specifically, it clarifies how the parser handles:
All cases are now explicitly covered through unit tests to ensure deterministic behavior and prevent regression.
Related Issues
Closes #858
Type of Change
How Has This Been Tested?
The following test suite was executed:
python -m pytest testing/backend/unit/test_xss_exploiter_plugin.py -v
Results:
Covered scenarios:
Checklist