AI PR Scanner: a security review on every pull request
The AI PR Scanner is a GitHub Action or GitLab job that scans the changed code and posts its findings as a comment. Developers triage, ask for a fix and re-check without leaving the pull request.
haxset bot
2 findings in the changed files.
- F1criticalSQL injection in order searchorders/search.ts:23
- D1highToken library version has known vulnerabilitiespackage.json
rania
haxset bot
Suggested fix for F1. AI-generated, and re-scanned before posting.
db.query(`… LIKE '%${term}%' …`)db.query('… LIKE :term …', { term: `%${term}%` })Haxset scan finished. The merge is not blocked.
From an open pull request to a verified fix
Open
A pull request is opened
Add search filters feature/search-filters
Scan
The diff is scanned
- orders/search.ts
- package.json
Comment
Findings land on the diff
Haxset
F1criticalSQL injection in order search
D1highToken library version has known vulnerabilities
Reply
Ask for a fix or dismiss
Developer
/haxset fix F1Haxset
Suggested change for F1, ready to commit.Re-check
The fix is verified
Developer
/haxset checkHaxset
F1Fixed
Developers act by replying to the comment
Findings are numbered by type: F for code, S for secrets, I for misconfigurations and D for dependencies. A developer replies to the comment to act on one.
/haxset fix F1 returns a suggested change. /haxset fp F1 dismisses a false positive, /haxset accept F1 records an accepted risk, and /haxset check verifies that the reported issues are fixed.
- FCode
- SSecrets
- IMisconfigurations
- DDependencies
/haxset fix F1Returns a suggested change/haxset fp F1Dismisses a false positive/haxset accept F1Records an accepted risk/haxset checkVerifies the reported issues are fixed
Suggested fixes are scanned before they are posted
A suggested fix is posted as a suggestion the developer can commit from the pull request. The Engine re-scans the suggestion first, and labels it as AI-generated.
- Fix drafted
- Re-scanned
- Posted as a suggestion
F1Suggested changeAI-generated
db.query(`… LIKE '%${term}%' …`)db.query('… LIKE :term …', { term: `%${term}%` })The developer commits it from the pull request.
A decision made once is not asked again
Scanning the same repository again is an incremental rescan. Triage decisions from earlier pull requests carry over, so a finding your team already dismissed stays dismissed.
An earlier pull request
Verbose error message in the exportDismissed, false positive
This pull request
Verbose error message in the exportStays dismissed
SQL injection in order searchNew
It comments on the pull request and does not block the merge
The scanner runs as a job in your pipeline. A validator checks every finding, at every severity, before the comment is posted, and the decision to merge stays with your team.
Scans, CI tokens and the setup guide sit in one place in the Engine.
Set up in four steps
- Create a CI token in the Engine.
- Add it to the repository as a secret.
- Copy the workflow file the Engine generates.
- Open a pull request. Findings are posted as a comment.
What a scan covers
The scan covers the changed files and the code they call. Code flaws, secrets, misconfigurations and vulnerable dependencies are reported in the same comment.
/haxset fullscanscans the whole repository, and/haxset scanruns the scan again on request.
Frequently asked questions about AI PR Scanner
Does the AI PR Scanner block merges?
No. It posts its findings as a comment on the pull request in GitHub or GitLab. Developers triage, ask for a fix and re-check by replying with /haxset commands.
What does AI PR Scanner not do?
The scan covers the changed files and the code they call. Use /haxset fullscan or code scanning for the whole repository. GitHub and GitLab are supported.
Read more about AI PR Scanner
See it run on something you own
Bring a repository, a staging application or a domain. We run the Engine on it and walk you through the evidence.

