Overview
When you open a PR that fixes a known vulnerability, you can reference the issue in your PR description. ZeroPath will automatically verify whether your changes would resolve the vulnerability and report the results on the PR. When the PR is merged, ZeroPath re-verifies and updates the issue status in the dashboard.Referencing Vulnerabilities
Add references to ZeroPath issues anywhere in your PR description using either of these formats:- ZP-ID Format
- Dashboard URL
Reference one or more issues by their UUID:Comma-separated for multiple issues:
Where to Find the Issue UUID
Navigate to the issue detail page in the ZeroPath dashboard. The UUID appears in the URL:How It Works
Open a PR with References
Include one or more
ZP-ID references or dashboard URLs in your PR description.Pre-Merge Verification
ZeroPath checks whether each referenced vulnerability would be resolved by your PR’s changes and posts a comment with the results. This is informational only — issue status is not changed yet.
Iterate if Needed
If the check reports “still present”, push additional commits and reply
@ZeroPath retriage to re-run the verification against the latest code.Results
ZeroPath posts a comment on your PR at two points — before and after merge:Pre-Merge (Informational)
| Result | Meaning |
|---|---|
| Would fix | The vulnerability was not detected after applying your PR changes. Once merged, the issue will be marked as resolved. |
| Still present | The vulnerability is still detected. The comment includes an explanation of why. Reply @ZeroPath retriage to re-check after pushing more commits. |
| Not found | The UUID is invalid, the issue is already closed, or it does not belong to this repository. |
Post-Merge (Status Update)
| Result | Meaning |
|---|---|
| Resolved | The vulnerability is confirmed as fixed on the target branch. The issue is marked as resolved in the dashboard with a link to the PR. |
| Still present | The vulnerability persists after merge. The issue remains open. |
Re-Investigation
If the initial check reports “still present” but you believe your fix is correct, push your updated code and reply with:Important Notes
- Pre-merge results are informational. Issue status is only updated after the PR merges and post-merge verification confirms the fix.
- Works for both SAST and SCA issues. Any issue tracked in the ZeroPath dashboard can be referenced.
- Self-correcting. If a fix is incorrectly marked as resolved, the next full scan will re-detect the vulnerability and reopen the issue automatically.
- Supported on GitHub, GitLab, and Bitbucket. The
ZP-IDformat and dashboard URLs work on all supported VCS platforms.