---
title: "Prioritization"
description: "How Baz ranks security findings so the issues an attacker would reach first are at the top, and which ones it fixes for you."
canonical: "https://baz.ai/docs/security/prioritization"
---

# Prioritization

How Baz ranks security findings so the issues an attacker would reach first are at the top, and which ones it fixes for you.

A security backlog is only useful if the top of it is what an attacker would go after first. Baz gives every security finding a severity and an OWASP category, ranks scan findings by how exposed the code is, and tells you which ones it can fix on its own.

## Severity

Severity reflects what Baz could prove about the issue, not just the kind of bug.

**High** means the issue should block the merge: Baz showed a real, reachable failure with serious impact. **Medium** is a confirmed bug that is not urgent. **Low** is a real issue where Baz could not show clear harm yet.

Each agent has a **Default minimal severity** in **Software Factory → Build**. Findings below it are not posted. See [Agent settings](/docs/agents/agent-settings).

## OWASP category

Each security finding carries an OWASP Top 10 2025 badge: A01 Broken access control, A02 Security misconfiguration, A03 Software supply chain failures, A04 Cryptographic failures, A05 Injection, A06 Insecure design, A07 Authentication failures, A08 Software or data integrity failures, A09 Security logging and alerting failures, A10 Mishandling of exceptional conditions. Findings in AI code also carry LLM01 to LLM10 IDs. See [AI code security](/docs/security/ai-code-security).

## Ranked by real-world exposure

The same bug is more urgent on an internet-facing endpoint than behind a VPN. [Full Repo Security Scan](/docs/agents/maintain/full-repo-security-scan) findings are ranked by severity and by who can reach the code: public, signed-in users, internal services, or only someone with host access. A high-severity issue on a public endpoint always comes before the same issue on an internal tool.

## FIX or FLAG

Every scan finding tells you what happens next.

A **FIX** is a real vulnerability with a safe fix that follows a pattern already in your code, so [Fixer](/docs/agents/build/fixer) opens a pull request for your team to review. A **FLAG** is a real vulnerability whose fix needs a human decision, such as an architecture change or a choice between approaches, so Baz reports it and lets your team decide.

When Baz is unsure, it chooses FLAG, so automatic fixes stay small and safe. The most urgent FIX findings are fixed first, and Baz never has more scan fix PRs open than your **Max open fix PRs** setting. Findings over the limit are still reported, without a PR.

## How to influence it

- Raise or lower **Default minimal severity** per agent and repository.
- Set **Max open fix PRs** on [Full Repo Security Scan](/docs/agents/maintain/full-repo-security-scan).
- Reply on a finding to explain why a pattern is safe. Baz remembers it through [memory](/docs/brain/how-memory-works) and takes it into account next time.

## Related

<CardGroup cols={2}>
  <Card title="Full Repo Security Scan" href="/docs/agents/maintain/full-repo-security-scan" icon="scan-search">
    Run and schedule scans, and set PR conventions.
  </Card>
  <Card title="Fixer" href="/docs/agents/build/fixer" icon="wrench">
    How Baz turns a finding into a fix PR.
  </Card>
  <Card title="Security overview" href="/docs/security" icon="shield">
    The security layers across PR, repository, and production.
  </Card>
  <Card title="Verification protocol" href="/docs/concepts/verification-protocol" icon="shield-check">
    How evidence drives severity on every finding.
  </Card>
</CardGroup>
