Skip to main content
A Vulnerability Remediation Expert can deliver a reviewable pull request (PR) or a hardened container image that includes the fix. The Expert shares build, test, and scan results so the team can see how the fix was verified.

Set up the Expert

Start with one team and one supported repository or container image. Use the Expert configuration guide to set up the workflow.
Keep material breaking changes, risk acceptance, and merging with human owners. Permission to build or publish an image does not authorize deployment.

Typical steps in the Expert prompt

Compare the unchanged artifact with the candidate to check whether the fix resolves the reported findings without introducing new ones.
  1. Confirm the source. Map the report to the canonical repository, build recipe, and target platform. Check whether the affected component is a direct or transitive dependency, a bundled tool, or a base-image package. Ask for missing information if the mapping remains unclear.
  2. Capture a baseline before editing. Record the source revision, artifact, and scan reference. Distinguish a scan of the reported image from a scan of a fresh build of unchanged source. If the baseline is missing, incomplete, or doesn’t reproduce the report, investigate rather than claiming a fix.
  3. Choose the smallest supported fix. Use published advisories and release notes to confirm the fixing version and check compatibility against actual consumers. Escalate material breaking changes instead of silently expanding scope.
  4. Apply the fix, run checks, and build. Use the repository’s package manager and lockfile workflow. Run the required tests and build the intended artifact. If a test image must be published, use a unique tag in an approved non-production registry.
  5. Scan the candidate and compare. Match findings by advisory and affected package or path against a comparable baseline, not by total counts or a scanner’s “new” label. If you make another correction, rebuild and scan the replacement artifact. For example, your policy might require all requested findings to be resolved and no new High or Critical findings to appear.
  6. Report the outcome. Update the original ticket or thread with the next action. Link the PR if there is one, or share the image’s registry reference and digest once the fix is verified. Put the evidence in the PR or, for image-only delivery, in the ticket or thread: version choice, compatibility, check results, links to both scans, and any remaining findings or unavailable checks. Call the fix verified only when required checks pass and the scan meets policy. If verification is incomplete or fails, report the blocker, keep any PR in draft, and don’t deliver a candidate image as the fix. If no change is needed, report the evidence instead of opening an empty PR.