Issues and AI fix pull requests
Have Vulnara open an issue in your repository for each finding a scan reports, let an AI agent open a pull request that fixes it, and ask the agent for changes from the pull request.
When you start a scan you can ask Vulnara to turn its findings into work in your repository. Create issues opens an issue for each finding. Auto-remediate goes one step further: an AI agent works each issue and opens a pull request with a proposed fix, for you to review and merge. You can also ask for a fix for one finding at a time with Remediate.

What it is for
- Putting findings where your developers already work: the repository's issue tracker.
- Getting a first fix for a finding, such as a dependency version bump, without anyone writing it by hand.
- Tracking remediation from finding to merged fix, in the explorer and on the dashboard.
- Steering a proposed fix from the pull request itself, by asking the agent for a change.
How it works
Issues
When a scan with Create issues finishes, Vulnara opens issues in the scanned repository:
- Code findings: one issue per distinct finding across the whole scan. A finding present on many commits is one issue.
- Vulnerable dependencies: one issue per library, listing every advisory against it. A library with many CVEs is one issue.
Each issue links to the finding in Vulnara and to the scan that produced it, and code issues link to the line in your repository. A secret's value is never written into an issue: only its first few characters are shown, and the rest is masked.
Rescanning the same code reuses the open issues rather than flooding your tracker with duplicates.
Fix pull requests
With Auto-remediate on, Vulnara comments on each issue that it is being remediated automatically, and an AI agent works on a fix. When it has one, it opens a pull request linked to the issue. The pull request describes the change in the agent's own words, references the issue and links back to the scan. When a person still has something to do after merging, such as rotating a leaked secret or changing a deployment setting, the description says so under its own Follow-up heading. The default description ends by telling reviewers they can comment /vulnara to ask for changes. You can change this text with your own template.
An issue that already has an open fix pull request does not get a second one. No copy of your code is kept once a fix run ends.
How the agent decides what to change
The agent first decides whether the finding is a real problem, and it is allowed to conclude that nothing should change. It follows the same rules on every finding:
- It leaves placeholders, example and test data, documentation, and vendored or generated code alone.
- A real secret is moved to the mechanism the file already uses for secrets, such as an environment variable, and the follow-up says the secret must be rotated. Commenting it out is not a fix.
- Real personal data is replaced with reserved example values.
- A vulnerable dependency is fixed by bumping the dependency that pulls it in, with its lockfile kept consistent.
- It never deletes documentation or code, or rewrites tests, to make a finding go away.
- It never changes a value only so a scanner stops matching it: no swapping one literal, address, domain or placeholder for another, and no renaming, splitting or encoding a value.
- It keeps the change to the flagged spot.
When the agent decides nothing should change, it opens no pull request and comments on the issue that it looked at the finding and made no change, with its reason. If the finding is a false positive, dismiss it in Vulnara so it is not raised again.
Ask for changes on a fix pull request
A fix pull request does not have to be taken as it is. A maintainer can answer the agent in the pull request, with a comment whose first line starts with /vulnara:
/vulnara <what to change>, for example/vulnara read the key from the existing settings module instead, asks the agent for that change./vulnara rerun, or/vulnaraalone, has the agent look at the finding again.
Either way the agent works on top of what is already on the pull request's branch and pushes its change there as a new commit; no second pull request is opened. It replies on the pull request when it starts ("Working on it.", quoting your request) and again when it ends:
- "Pushed a new commit to this branch.", followed by the agent's summary and any follow-up.
- "Made no change.", followed by the agent's reason for declining.
- "Looked at it and made no change to this branch.", followed by what the agent concluded.
- "Could not finish this request", saying the run failed or hit its time limit, and that you can comment
/vulnara rerunto try again.
Each comment is its own run, so you can keep asking until the change is right.
A maintainer's request takes precedence over the rule that leaves placeholders, example and test data alone: ask for a change to test data and the agent makes it. All the other rules still hold, and the agent declines a request only when it cannot be done without breaking them, saying why. A plain /vulnara rerun keeps every rule.
If you ask for a better or root-cause fix of a finding that is not a real problem, the agent undoes any earlier change on the branch that only hid the finding from the scanner, and says in its reply that the finding is a false positive to dismiss in Vulnara.
Tracking
Vulnara records each finding's issue and pull request, with their state. You see them on the finding in the explorer, and you can filter the explorer by Issue: Open, Closed or No issue. The dashboard's Remediation panel counts findings, Issues opened, Fix PRs opened and Fix PRs merged.
What you can set
- Create issues: a switch in the scan form. Needs a git token.
- Auto-remediate: a switch in the scan form. Needs a git token and Create issues, because each fix is raised against its issue.
- Git token: the credential Vulnara uses to open issues and pull requests. It must be allowed to write issues and pull requests in the repository. See Connect a git provider.
- Remediation templates: the Markdown body of the issues and pull requests Vulnara opens. There are three:
- Code finding issue: fields include
severity,scan_type,file,line,location,match(masked),branch,commit,repository_name,git_entity_name,source_link,scan_linkanddetected_at. - Vulnerable dependency issue: fields include
dependency,installed_version,highest_severity,advisory_count,advisories(a table of advisory, severity and fixed version),branch,commit,repository_name,git_entity_nameandscan_link. - Remediation pull request: fields include
ai_summary(the agent's description of its change),follow_up(what a person must still do after the fix, such as rotating a secret; empty when nothing is needed),issue_number,repository_name,git_entity_name,fingerprint,dependencyandscan_link.
- Code finding issue: fields include
Write a field as {{ field_name }}. You can add one of the filters upper, lower, title or default('text'), for example {{ repository_name | upper }} or {{ follow_up | default('none') }}. A field that does not exist renders as empty text. Templates are plain substitution: they cannot run code.
Do it
Fix one finding
- Open a code or dependency finding in Vulnerabilities, or find its row.
- Choose Remediate, in the finding drawer or on the row.
- Read Remediate this finding and choose Remediate.
Vulnara opens an issue for the finding on its repository, or reuses the open one, and an AI agent proposes a fix as a pull request. This can take tens of minutes; the pull request appears on the finding when it is ready. On a dependency, the fix covers every advisory against that library in the finding's scan. On a row, the finding's latest occurrence is the one fixed.
Remediate is offered to editors only, and not when the finding already has an open or merged pull request, or a decision that clears it from the score. A closed, unmerged pull request does not stop it. It does not change the scan's own Create issues and Auto-remediate settings.
If it cannot start, the message says why:
- "A pull request is already open for this finding."
- "No git token can open a pull request on this repository.", with a link to Git Tokens. Add a token that can write to the repository, or install the GitHub App on it.
- "Your team uses only the GitHub App for GitHub, and the app is not installed on this repository's workspace."
In GraphQL, use remediateScanFinding for a code finding and remediateDependencyFinding for a dependency, each with the finding's id.
Open issues and fix pull requests for a scan
- In the web app at vulnara.rso.dev, choose New Scan and pick the repository.
- Select a Git Token.
- Switch on Create issues.
- Switch on Auto-remediate if you want fix pull requests too.
- Choose Start scan. Issues are opened once the scan finishes.
With the CLI, pass the same options to start_repository_category_scan, or to start_repository_scan with a scanner id:
vulnara start_repository_category_scan \
--repositoryId <repository id> \
--category SECRETS \
--gitTokenId <git token id> \
--createIssue --autoRemediateA finished scan cannot be changed to auto-remediate. Its summary shows whether issue creation and auto-remediation were on, and Re-run with auto-remediation runs the scan again with auto-remediation on.
In GraphQL, set createIssue and autoRemediate on startRepositoryCategoryScan or startRepositoryScan. See Run a scan for the rest of the scan options.
Change the issue and pull request text
- Open Settings and choose Remediation templates.
- Expand Code finding issue, Vulnerable dependency issue or Remediation pull request.
- Write the body in Markdown. Insert fields with the chips under each editor.
- Choose Save templates.
Leave an editor empty to go back to Vulnara's default for that template.
In GraphQL, read the current templates with remediationTemplate and change them with setRemediationTemplate. A field sent as null restores the default. MCP (read only): remediation_template.
Review the pull request
A fix pull request is a proposal. Review it as you would a colleague's change, run your tests and merge it, or close it. Vulnara does not merge anything for you. Read the Follow-up section before merging: a fix to a leaked secret is not finished until the secret is rotated.
Ask the agent for a change
- Open the fix pull request on GitHub.
- Add a comment that starts with
/vulnarafollowed by what you want changed, for example/vulnara use the existing config loader for this value. To run the fix again as it is, comment/vulnara rerun. - Wait for the agent's reply on the pull request. A new commit appears on the branch when it has made a change.
Good to know
- Issues and fix pull requests are opened on every supported provider: GitHub, GitLab, Bitbucket, Azure DevOps and Codeberg / Forgejo. On Azure DevOps an issue is a work item: an Issue where the project's process has that type, otherwise a Bug, otherwise a Task. On a Bitbucket repository whose issue tracker is turned off, no issue is opened and the scan is not failed for it.
- A scan that asks for issues but has no usable git token is refused.
- Templates change only the body. Issue titles stay the same, so later scans still find and reuse the open issues.
- Changing templates needs the Editor role. Starting a scan needs the Editor role too. See Teams and roles.
- If the agent cannot produce a fix, or runs out of time, no pull request is opened and the run is reported as failed with the reason, rather than as a run that found nothing to fix. The issue stays open for you to work. Retry with Remediate, or scan again with Auto-remediate.
/vulnaracomments work on fix pull requests in GitHub repositories that Vulnara reaches through the Vulnara GitHub App or your own GitHub App. If your team uses its own GitHub App and it was registered before this feature, turn on the Issue comment event in the app's settings on GitHub.- Only people GitHub lists as an owner, member or collaborator of the repository can use
/vulnara. Comments from anyone else, edited comments, and comments on pull requests Vulnara did not open are ignored. - If GitHub delivers a
/vulnaracomment late, after the same request was posted again and has already run, the late one is not run a second time. Posting the same request twice on purpose still runs it twice. - When your team has an issue tracker board connected, scans no longer open issues or fix pull requests, whatever Create issues and Auto-remediate say: findings become tickets on your board instead. Remediate on a single finding still works.
- If Vulnara cannot record an issue or pull request back against the finding, the issue or pull request itself is still created.