BootUI
Try it
Setup
Features
Workshop
Properties
AI agents
Ecosystem
GitHub
Try it
Setup
Features
Workshop
Properties
AI agents
Ecosystem
GitHub
    • Try the sample app
    • Setup
    • Spring WebFlux
    • Quarkus
    • CI/CD and GitHub Actions
    • Java agent
    • Activation and safety
    • Non-standard runtimes
    • Troubleshooting
    • All features
    • Scorecard
    • Live Activity
    • Runtime Insights
    • Advisors
    • Runtime
    • Configuration
    • Database
    • Security
    • Services
    • Diagnostics
    • Java Agent
    • Developer tools
    • Workshop overview
    • 00 - Runtime understanding
    • 01 - Setup and tooling
    • 02 - Configuration and wiring
    • 03 - Runtime journal
    • 04 - Runtime Insights
    • 05 - Java instrumentation
    • 06 - Assessment and impact
    • 07 - Agent change loop
    • 08 - Going further
    • Participant worksheet
    • A - Prompts
    • B - Troubleshooting
    • C - Frameworks
    • D - Extensions
    • Properties
    • Framework support
    • AI agents
    • Command line
    • Framework-managed CI tests
    • CI reference
    • BootUI family
    • Known limitations
    • Architecture
    • REST API
    • Spring
    • Hibernate
    • Database
    • Security
    • Vulnerabilities
    • Memory
    • Pentesting
    • GraalVM readiness
    • CRaC readiness
    • Quarkus
    • Quarkus security
    • Repository
    • Specification
    • Roadmap
    • 2.0 design record
    • Try 2.0 early
    • v2 validation report
    • Releasing 2.0
    • Quarkus design notes
    • WebFlux design notes
  • Privacy

Advisors

BootUI's advisors run explicit, on-demand, rule-based scans and report severity-ranked findings together with their coverage limits. Each advisor is read-only and inspects one facet of the application: compiled architecture, the REST layer, the live Spring context, persistence, JVM memory, and security.

A usable assessment shows the same 0–100 Known-findings score in its own panel and on the Scorecard: 100 minus the weighted finding penalty. That number summarizes retained penalties. It is not a measure of application health or safety.

Find and share a rule

This workflow is an unreleased source preview; see setup.

Architecture, REST API, Spring (Quarkus on Quarkus), Hibernate, Database, Memory, and Security use compact rule rows. Search rule metadata and cached sample text, or filter by severity. Match counts distinguish rules from violations: search never reads unloaded detail pages. Open a row for its explanation, recommendation, cached samples, and existing dismissal/source actions. View violations remains the explicit way to request a bounded page.

Rule links carry ?rule=<rule-id> within the console route and open the named row, including when a previous filter would hide it. Unknown or absent rules receive an explanation; linking never scans or restores a dismissed rule. Pentesting, Vulnerabilities, GraalVM, and CRaC retain their specialized presentations.

Copy for AI previews one rule. Copy visible findings previews the filtered rendered finding set, not every retained occurrence and not just the browser viewport. The Markdown identifies sample/page scope, scan metadata when available, filters, counts, suppression, truncation, and evidence limitations. Its omissions section qualifies missing or unavailable metadata instead of claiming completeness. Copying neither uploads data nor retrieves more evidence or unmasks values. If the browser denies clipboard access, the preview remains selectable for manual copying.

Hibernate and Database preserve loaded pages when their rows are collapsed or filtered out. Dismissing a finding does not refresh hidden pages, and revealing them again never retrieves details. If dismissal state may have changed, the retained page and its export say so; finding actions stay disabled until Refresh dismissal state explicitly updates that page.

Reading every retained violation

Architecture, Hibernate, Spring (the Quarkus application advisor on Quarkus), REST API, Memory, Security, and Database keep their reports compact: violationCount is the real count, while sampleViolations is a preview, normally at most ten entries per rule.

When a rule has more findings than samples, choose View violations to read its first bounded page inline (100 by default). Larger sets use Previous and Next; Back to samples restores the preview. Opening a panel, receiving a report, and dismissing a rule never request detail pages. Detail reads work in read-only mode and never rescan.

Only the latest scan's details are retained, up to bootui.advisors.max-retained-violations (default 10000) across all rules of an advisor. When some counted details are missing, the panel says so through the retained count and a warning. Raising the limit needs a new scan to take effect. See the property reference.

Snapshot and retention

Each report has additive violationDetails metadata:

FieldMeaning
scanIdOpaque identity of the latest published scan; null before a completed scan.
totalConcrete violations counted across all rules, before dismissal.
retainedNumber of sanitized detail entries retained across those rules.
retentionLimitEffective per-advisor limit frozen for this scan.
truncatedSome counted details are missing from the retained index.
locationNotesWhy some violation locations carry no source path; empty otherwise.
changesWhat this scan changed; null on a first scan and for most advisors.

While another scan is running, detail reads still refer to the previous completed snapshot; publishing its replacement changes the ID. Dismiss and restore, of a rule or of a single finding, change neither the ID nor the retained details. Retention completeness is not evidence coverage or score eligibility. truncated can also mean the source exposed only aggregate detail, as for Quarkus Security's QS-AUTHZ-004; BootUI never fabricates identities to fill that gap.

REST, MCP, and CLI retrieval

Read the cached report first, then pass its violationDetails.scanId with every page request. An MCP or CLI scan answers with a compact summary that carries the same violationDetails and at most ten topFindings; the REST scan still returns the full report.

GET <api>/<advisor>/rules/<encoded-rule-id>/violations?scanId=<encoded-scan-id>&offset=0&limit=100
Advisor / REST rootMCP toolCLI command
architectureget_architecture_rule_violationsarchitecture violations
hibernateget_hibernate_rule_violationshibernate violations
springget_spring_rule_violationsspring violations
rest-apiget_rest_api_rule_violationsrest-api violations
memoryget_memory_rule_violationsmemory violations
securityget_security_rule_violationssecurity violations
database-advisorget_database_advisor_rule_violationsdb violations

scanId and the rule ID are required. Offset defaults to zero and limit to 100, capped at 1000. See MCP and CLI for setup.

Examples, page shape, and errors
# Read only the cached report; this does not run a scan.
curl -s http://localhost:8080/bootui/api/architecture | jq '.violationDetails'
# Substitute the returned scanId, retaining the same value for every page.
curl -sG http://localhost:8080/bootui/api/architecture/rules/ARCH-SPRING-004/violations \
  --data-urlencode 'scanId=<returned-scan-id>' --data-urlencode 'offset=0' --data-urlencode 'limit=100'

bootui architecture violations ARCH-SPRING-004 --scan-id '<returned-scan-id>' --offset 0 --limit 100
{
  "name": "get_architecture_rule_violations",
  "arguments": {"id": "ARCH-SPRING-004", "scanId": "<returned-scan-id>", "offset": 0, "limit": 100}
}

The page contains scanId, ruleId, the full violationCount, retainedCount, truncated, sanitized violations, page: {total, matched, offset, limit, returned, hasMore}, and locations. page.total and page.matched count retained entries. To continue, set the next offset to page.offset + page.returned while page.hasMore is true, keeping the same scan ID, and still check truncated on the last page.

Invalid, blank, negative, fractional, or overflowing arguments are rejected. An MCP -32003 response-byte refusal is an error, not an empty page: retry the same scan ID and offset with a smaller limit. A missing or replaced snapshot returns 409; choose Refresh cached report (it never starts a scan), then View violations again. A rule id outside the advisor's catalogue answers Unknown advisor rule (REST 404, CLI-facade 400). Dismissed findings remain retrievable by ID. GraalVM/CRaC occurrences, Pentesting, and Vulnerabilities use different report models and are not covered.

Violation locations

Architecture, REST API, and Hibernate findings that name exactly one code element also say where it is. Each rule result carries sampleLocations aligned with sampleViolations, and each detail page carries locations aligned with violations; a null entry means that violation has no location. Findings that span several elements (package cycles, duplicate routes) and findings of other advisors keep no location. Nothing is parsed from the violation text or guessed.

In the panels, each row shows its location with a Copy location button, for example com.example.OrderService#place (OrderService.java:42). The Open locations in selector is a per-browser preference, off (None) by default; VS Code or IntelliJ IDEA turns each location with a source path into an editor link (vscode://file/… or idea://open?file=…). BootUI never opens an editor or a file from the server.

Location fields and where they come from
FieldMeaning
classNameJVM binary class name, such as com.example.Outer$Inner or a Kotlin OrderUtilsKt file facade.
memberNameMethod, constructor (<init>), or field name; null for the class itself or a compiler-generated member.
kindCLASS, METHOD, CONSTRUCTOR, or FIELD.
sourceFileThe source file name the class file records; a Kotlin facade or companion names its declaring .kt file.
lineA positive line in that file, or null when unknown or not verifiable.
sourcePathThe absolute local source path resolved during the scan, or null.
precisionLINE when a line is known, MEMBER when only the member is, otherwise CLASS.
  • Architecture reads locations from ArchUnit's violating objects: the class, the member, and the line.
  • REST API points at the handler method, exception handler, throwing endpoint, or controller class.
  • Hibernate points at the entity class, the field or getter behind a mapped attribute, or a repository method. The JPA metamodel has no line numbers, so these stay at MEMBER or CLASS precision.

Source paths are resolved only during an explicit scan, through the Architecture advisor's bounded module and source-set lookup (see Generated application code). A class in a local Maven target/classes or Gradle build/classes directory maps to exactly one .java or .kt file. Classes read from an archive, other layouts, ambiguous matches, and an exhausted lookup budget keep a null path, and violationDetails.locationNotes says why. The lookup never follows symbolic links. Source paths describe the developer's own code, so they are not gated by the value-exposure policy.

A line is shown only when it belongs to the named member in the named file. Lines from Kotlin inlined code, past the end of the file, or from archive-read Kotlin classes drop to MEMBER precision rather than show a wrong one.

Changes since the previous scan

Fixing findings is iterative: change code, rescan, check what went away. The Hibernate and Database advisors compare each scan with the previous one, so you do not have to compare two reports by eye. Below the metrics, the panel shows a Since previous scan line, for example 3 new · 2 resolved · 71 unchanged, each count beside its icon. A first scan says there is nothing to compare yet, and an unchanged rescan says No changes since the previous scan. Resolved findings opens a list of what disappeared, with the text it had in the previous scan. A rule with a new finding says so, and its View violations page marks each new finding with a New badge, even when all of the rule's findings already fit in the previews. The comparison is kept in memory only: it is gone after a restart, and BootUI writes no file for it. The other advisors do not compare scans.

Findings are matched by a stable identity, never by their text. Each rule derives it from what the finding is about: the persistence unit, entity and member (v1:unit=orders|entity=com.acme.Order|member=lines), a repository method with its parameter types, the setting, or the datasource, table and index, constraint or column. It contains no values, SQL text or free-form messages, and it is exposed on every detail page (identities, aligned with violations) so an agent or a later tool never has to derive one from a message. Rules that report no identity are "unkeyed": counted, but never compared.

BootUI never calls a comparison complete unless it can stand behind it. A finding is only resolved when this scan concluded its rule and kept all of that rule's details, and only new when the previous scan did; otherwise it is counted as could not be compared, never as resolved. That happens when a rule failed, was skipped, lacked evidence, or lost findings to the retention limit; when a datasource or persistence unit could not be read; and for the runtime SQL rule, whose evidence is a sliding window. A scan that could not evaluate any rule is not compared at all and does not replace the baseline, so the next good scan is compared with the last one that could be. The notes of the comparison say why.

REST shape

violationDetails.changes is null on the first scan and for the other advisors, and otherwise:

FieldMeaning
previousScanIdThe scan this one was compared with.
completefalse when retention truncated a scan, findings are unkeyed, or some finding could not be compared.
newCount, resolvedCount, unchangedCountKeyed findings only in this scan, only in the previous scan, and in both.
unkeyedCount, unverifiedCountFindings without an identity, and findings whose movement cannot be established.
resolvedUp to 50 resolved findings: ruleId and the text of the previous scan.
rulesThe rules with something new, resolved or unverified: ruleId, newCount, resolvedCount, unverifiedCount.
notesWhy the comparison is incomplete.

A detail page adds identities and changes (NEW, UNCHANGED, or null), aligned with violations, and both are empty when they do not apply. The comparison reads the retained findings of both scans before any dismissal, so dismissing or restoring a rule never alters it.

Score eligibility

A report is not automatically eligible for a score. SCANNED and PARTIAL reports can score when a valid severity summary accompanies known-severity findings or proven completed applicable checks. ERROR, DISABLED, and NOT_SCANNED never score, and malformed evidence stays unscored with an explanation. An empty summary, a rule registry size, or an all-skipped or all-failed report does not establish a clean assessment.

The penalties are fixed: CRITICAL 25, HIGH 10, MEDIUM 3, LOW 1, and INFO or NONE 0, clamped and rounded to 0–100. A partial 100 means no active penalties in the assessed evidence, not that unchecked work passed.

Advisor panels show Results available for usable scored results, with reasons in a collapsed Scan notes disclosure. The Scorecard shows Scan complete, Not scored, or Not applicable (confirmed empty scope) and an Open panel link. Advisor panels use neutral score colors; the Scorecard uses green, amber, and red at the 80 and 50 thresholds. See Scorecard.

The evidence object and eligibility rules

The backend's evidence object is the sole eligibility authority:

FieldMeaning
usableAt least one applicable check completed, or a genuine known-severity finding was observed, before filtering or dismissal. Genuine INFO and NONE findings can establish usability; informational missing-evidence notices and UNKNOWN-only vulnerability data cannot.
coverageCompleteApplicable evidence is complete. Checks that do not apply are neutral; missing required observations and failures leave coverage incomplete.
limitationsAn immutable, bounded, sanitized list of explanations for incomplete coverage.

The browser never reconstructs applicability. MySQL and Oracle checks on a PostgreSQL-only application stay neutral skipped diagnostics. A SCANNED report with usable: false and coverageComplete: true has no score and reads Not applicable, for example an Architecture import that found no classes. Legacy reports without valid evidence stay unscored.

Known-severity dependency findings establish usability before dismissal. A fully assessed package does too when every retained advisory has a known severity, or the result is genuinely empty, and both assessment.queryComplete and assessment.detailAssessmentComplete are true. UNKNOWN findings stay visible with no penalty, and UNKNOWN-only evidence stays unscored unless independent usable evidence exists. Dismissed known findings remain evidence while their penalties are removed. Inventory, query, and detail gaps qualify a score rather than suppressing it. EPSS never decides eligibility.

The last accepted report stays visible during a new request and when transport fails. A newly received report replaces it.

Single-flight scans

Expensive advisor actions are single-flight per scanner: a second tab, a Scorecard card, a REST caller, or an MCP tool cannot start a scanner while it is active. Duplicate requests fail immediately with the shared 409 busy response, and the panel keeps the last completed report visible. Different scanners remain independent.

Dismissing findings

Any finding can be dismissed when it does not apply to your project. Dismiss moves the rule into a collapsed Dismissed rules list and removes it from the finding count, severity bars, and known-findings score, in both the panel and the Scorecard. Restore it at any time from that list. Dismissal changes penalties, not application safety, observed evidence, or missing coverage. Controls are disabled while a scan or dismissal is pending, and when the panel is read-only or unavailable.

Dismissing a single finding

The Hibernate and Database advisors can also dismiss one finding of a rule, for a pattern that is legitimate for one entity or table and wrong for the others. Open a rule's retained findings with View violations and use Dismiss on a finding; BootUI asks you to confirm, and says what changes: the finding stops counting towards its rule, the severity bars and the score (penalties, not application safety). It stays in the list with a Dismissed badge and a Restore action, so nothing is hidden. Counts and the score follow at once, without a rescan. A rule whose findings are all dismissed leaves the active list for All findings dismissed, like a dismissed rule, and rule-level dismissal keeps its meaning and takes precedence.

A collapsed Dismissed findings list under the rule results shows the dismissed findings of the advisor (up to 100, with the rest counted in suppression.omitted) with what the last scan says about it: still reported (Restore), no longer reported by a scan that concluded its rule (orphaned, Remove), not confirmable (for example no scan yet, a rule that failed, or details cut by the retention limit), or a rule this advisor no longer has. Each entry can carry a short note (up to 200 characters) that stays on your machine.

What gets dismissed, and what cannot be
  • A finding is matched by its rule and its stable identity, so a dismissal survives rescans and code changes that do not change the finding's subject. A finding without an identity (unkeyed) is counted but cannot be dismissed, and no action is offered for it. If a rule's identity changes meaning, its dismissals stop matching and the findings count again; the stale entries appear as orphaned and can be removed.
  • Only findings the scan retained can be matched. When the retention limit cut a rule's details, the rest of that rule stays active and the report says suppression may be incomplete (suppression.incompleteRules).
  • The report keeps violationCount as the active count and adds suppressedCount; the paged violations of a rule keep every retained finding, flag the dismissed ones in suppressed, and report the scan's own total. The comparison with the previous scan is computed from the scan and is identical before and after a dismissal.
  • Dismissing a finding is a UI and REST action only. There is no MCP tool or CLI command for it. Agents see the effect (the active counts, suppressedCount, the suppressed flags) but never your notes, which are only served by GET /bootui/api/dismissed-findings. Do not put secrets in a note.
Where dismissals are stored

Dismissals are persisted under the dismissedRules node of a local .bootui/boot-ui.yml file (next to the runtime overrides file), so they survive restarts and stay consistent between each panel and the Scorecard. The file is developer-local and intended to be git-ignored. Rule identifiers are globally unique across advisors. Pentesting scan reports are not persisted: findings and dismissal flags reappear after you explicitly run the first scan.

Single findings are stored in a sibling dismissedFindings node, one line per finding: <ruleId> <identity> plus an optional n=<note>, where the note is Base64URL text so quotes, colons, # and line breaks never need escaping. The file stays valid for older BootUI versions, which keep the node untouched when they write dismissedRules. A line that does not match this format is ignored, counted as unreadable in the list, and kept as it is the next time the file is written. At most 1000 findings are stored.

bootui.overrides-file moves both files together, which lets dismissals survive a container image rebuild. See Persisting console state across image rebuilds.

Kotlin applications

The bytecode-driven advisors (Architecture, REST API, Hibernate) are Kotlin-aware without configuration and without adding kotlin-stdlib to your application. Behaviour is identical on all three stacks.

What Kotlin awareness covers
  • Compiler-generated members and classes ($default bridges, data-class componentN/copy, Companion, DefaultImpls, WhenMappings, FooKt file facades) never appear as findings.
  • Suspending functions are judged on their declared signature: the Continuation parameter is hidden and kotlin.Unit counts as void.
  • A lateinit var on an entity is not a public-field finding; a @JvmField var still is.
  • Variants of a sealed class exception hierarchy are not renaming findings.
  • Suppressing compiler noise never suppresses your code: $default calls are followed through, and a self-invocation in a lambda stays reported.
  • Recommendations offer the Kotlin equivalent, such as open or the kotlin-spring plugin and constructor val injection.

See Architecture checks, REST API checks, and Hibernate checks.

Architecture

BootUI Architecture panel

Source preview with illustrative sample data.

The Architecture panel runs a curated, zero-config ArchUnit ruleset against the host application's own compiled classes. It evaluates package cycles, general coding practices, and Spring stereotype and proxy heuristics (no field injection, correct layering, no self-invocation). See ARCHITECTURE-CHECKS.md for the full catalogue.

The scan runs on demand and caches its last report. The results list shows only violating rules, sorted by severity and violation count. Treat it as a starting point that complements a project-specific ArchUnit suite. Coding-practice checks (ARCH-CODE-*) exclude classes positively identified as generated; see generated-code scope and limitations.

The retained java.util.logging prompt (ARCH-CODE-003) is an INFO convention on Spring, with no score penalty. Spring Boot routes JUL into its configured logging system by default; custom handlers or disabled bridging still need separate routing and coverage checks. Logger field modifiers remain independently checked by ARCH-CODE-012.

Not available in GraalVM native images. The advisor scans compiled .class files via ArchUnit's ClassFileImporter, which is incompatible with a native executable; the panel moves to the sidebar's Disabled / unavailable group and explains why.

On Quarkus

The panel runs the same ruleset and report contract. The java.util.logging check is skipped, standard-annotation field injection is reported at LOW, and Spring-only annotation rules find nothing. The Spring self-invocation rule is skipped because Arc supports intercepted self-invocation.

Quarkus has no @SpringBootApplication to read, so base packages are discovered at build time from the Jandex index. Discovery is single-module; the bootui.internal.base-packages key (comma-separated) overrides it.

REST API

BootUI REST API panel

The REST API panel runs a curated, zero-config ruleset against the host application's web layer: @RestController / @Controller handlers on Spring, or JAX-RS resources on Quarkus. It derives a read-only model (methods, paths, parameters, return types, validation, declared throws) and evaluates 53 active rule definitions across eight categories: routing, naming, status codes, validation, DTO contracts, pagination, versioning, and error handling (15 retired IDs remain reserved). Detailed security assessment belongs to the Security panel.

The scan runs on demand and caches its last report; the list shows only flagged rules. See REST API checks for the full catalogue.

API exposure inventory

The same explicit scan shows application methods and paths alongside available OpenAPI and authentication evidence. It highlights undocumented operations and state-changing operations that appear not to require authentication, without changing rule scores. Unknown security is never treated as public, and an absent or not-yet-generated OpenAPI model is not treated as an undocumented API. Spring reads Actuator runtime mappings; Quarkus reports build-time JAX-RS declarations as partial evidence, not a complete live route table. The report discloses unclassified routes and truncation. It never requests the application's OpenAPI endpoint or executes authorization callbacks.

The inventory is cached in the REST API report and is also available through get_rest_api_report and bootui rest-api report; opening the panel does not start a scan.

Declared error contract

The panel also shows the application's declared error contract: every @ControllerAdvice / @RestControllerAdvice / @ExceptionHandler on Spring, and every Jakarta REST ExceptionMapper and Quarkus REST @ServerExceptionMapper on Quarkus. Each row names the handled exception type, the declaring method, the scope, the resolved precedence, the declared HTTP status, the response-body category, and the media types.

This is a pure declaration read: no handler is invoked and no request is synthesized, so anything the declarations cannot prove is reported as unresolved. Only the application's own declarations are listed. When a retained Exceptions-panel failure maps to exactly one declared handler, that panel links to the declaration here.

Cases reported as unresolved
  • An advice that implements Ordered chooses its position at runtime, so its whole precedence group is ambiguous.
  • A Spring handler without @ResponseBody renders a view, so its body category is unresolved.
  • On Quarkus only @Provider-annotated ExceptionMappers are listed. :::

Not available in GraalVM native images. The advisor scans compiled .class files via ArchUnit's ClassFileImporter, which is incompatible with a native executable; the panel moves to the sidebar's Disabled / unavailable group and explains why.

Spring

BootUI Spring panel

The Spring panel runs an explicit, read-only scan of the running Spring application context and Environment. It takes a bounded snapshot of selected bean groups and feature flags, then evaluates a curated ruleset across bean wiring, configuration hygiene, profiles, performance and concurrency (including virtual threads), web settings, data and persistence, Actuator exposure, and reactive (WebFlux-only) checks. See SPRING-CHECKS.md.

It focuses on "started but suboptimal" states and complements the Architecture panel by inspecting the live, wired context. It never mutates the context, intercepts traffic, or surfaces secrets. On MVC, Open Session in View is reported as present, confirmed absent, or unknown from actual registration metadata. On both Spring stacks, scheduled methods without observed scheduling infrastructure get a separate MEDIUM review (SPRING-WIRING-012): deliberately disabling scheduling in development or CI is not evidence of a production defect. Dismissing that review does not silence the HIGH async, caching, or transaction infrastructure checks. This advisor is relabelled per framework: Spring on Spring Boot, Quarkus on Quarkus, with the same menu slot and /bootui/api/spring contract.

Quarkus

BootUI Quarkus panel

On the Quarkus adapter the framework-application advisor is relabelled Quarkus and runs a Quarkus-native ruleset against the running application and its MicroProfile Config:

  • Resolved CDI/Arc scopes: public fields on normal-scoped beans and public state on singleton beans and REST resources.
  • Production configuration evidence: schema actions, SQL and bind-parameter logging, explicit in-memory storage.
  • Managed REST-client timers, HTTP compression, and request-draining configuration.
  • Conditional synchronized virtual-thread pinning on JDK 21-23.

Client-proxy checks retain native ArC unproxyability errors before classifying types such as abstract Clock. Default-mode final-method skips are a separate proxy-use hazard, while native strict-mode errors remain findings. The failure stage is not inferred from a type's shape alone.

Missing annotations or production overrides are not defects by themselves, and incomplete evidence is reported explicitly rather than treated as clean. See QUARKUS-ADVISOR-CHECKS.md.

Database

BootUI Database panel

The Database panel introspects the physical schema of every discovered application DataSource through plain JDBC DatabaseMetaData (tables, columns, keys, indexes) and evaluates a fixed, on-demand ruleset of deterministic structural checks. It never executes DDL and never queries application data. See DATABASE-ADVISOR-CHECKS.md.

Each scan runs under fixed bounds (at most 300 tables, 300 columns and 100 indexes per table, a 20-second budget, a 5-second timeout per catalog statement) and reports what it could not do. Unreadable datasources, truncated scans, and skipped or errored rules appear as statuses and diagnostics, never as passing checks. Credentials in JDBC URLs and driver errors are redacted.

StatusMeaning
SCANNEDEverything was read completely
PARTIALSomething was not read
ERRORDiscovery failed or no schema could be read
DISABLEDSuccessful discovery found no datasource

For PostgreSQL, MySQL, MariaDB, and Oracle (19c+), dialect-specific catalog checks run in addition to the generic ones. Every other database (H2, SQL Server, and so on) still runs the full generic ruleset. When a Hibernate metamodel is available, the panel also cross-references the physical schema against mapped JPA entities, and skips that half with a stated reason otherwise.

The generic structural checks
  • A missing primary key, excluding framework-generated one-row identifier tables.
  • A physical foreign key without a known leading-column access path, as a contextual review.
  • Exact ordinary-index definition overlap, not merely a shorter leading prefix.
  • A foreign-key column whose type disagrees with the column it references.
  • A redundant unique index duplicating the primary key.
  • Duplicate foreign-key constraints.
  • A narrow auto-generated primary key.
  • A MySQL invisible, MariaDB ignored, or Oracle invisible index that writes still maintain.
  • A foreign key specifying ON DELETE SET NULL or ON UPDATE SET NULL where all referencing child columns are NOT NULL. :::
What each dialect adds

PostgreSQL:

  • Invalid or broken indexes.
  • A sequence nearing exhaustion, measured against the smaller of its own maximum and its owning column's capacity.
  • Constraints currently not validated.
  • A table publishing updates or deletes with no usable replica identity.
  • An UNLOGGED table or leaf partition.
  • A partitioned table (relkind = 'p') with zero attached partitions.

MySQL/MariaDB:

  • Tables on a non-transactional storage engine.
  • The legacy three-byte utf8mb3 character set.
  • An AUTO_INCREMENT counter nearing its column type's capacity.
  • Unenforced MySQL 8.0.16+ check constraints (ENFORCED = 'NO').

Oracle:

  • Unusable indexes, including per-partition status.
  • Disabled or unvalidated constraints.
  • A non-cycling sequence or identity generator nearing exhaustion.
  • Global indexes with ORPHANED_ENTRIES = 'YES' from deferred partition maintenance.

The dialect comes from DatabaseMetaData.getDatabaseProductName(), the version string, and the JDBC URL; MariaDB is detected as its own dialect even through the MySQL driver, and an "Oracle" product name is confirmed against v$version before Oracle checks run. Oracle reads use only ALL_* views and SYS_CONTEXT, with no ojdbc dependency in BootUI. Partitioned tables are reported once on the parent.

What the JDBC driver checks add

Ten rules judge settings of the JDBC driver itself, read from the URL the scan connection reports and from the pool's driver properties (HikariCP dataSourceProperties, Agroal additional JDBC properties); no other setting, user name or password is kept, and no application data is read. Batching is taken from the Hibernate observations of the persistence unit attributed to the datasource's pool.

  • PostgreSQL (pgjdbc): reWriteBatchedInserts is not true while Hibernate batches writes.
  • MySQL Connector/J: rewriteBatchedStatements is not true while Hibernate batches writes.
  • MySQL Connector/J: useAffectedRows is true.
  • MySQL Connector/J: autoReconnect or autoReconnectForPools is true.
  • MySQL Connector/J: the prepared-statement cache is off, or its size (below 250) or SQL limit (below 2048) is small.
  • PostgreSQL (pgjdbc): the prepared-statement cache is disabled, or autosave=always sets a savepoint per query.
  • Connector/J and pgjdbc: a diagnostic setting such as profileSQL or logUnclosedConnections is on.
  • Connector/J and pgjdbc: no socketTimeout is configured (judged from the configuration only, in the driver's own unit).
  • pgjdbc: no ApplicationName, so pg_stat_activity shows the driver default.

These checks skip datasources with a different driver (including MariaDB Connector/J) or insufficient evidence. The batching checks also skip datasources with batching off or no attributed persistence unit. When a unit is attributed but its pool's effective batching is unknown, prior findings on that datasource stay unverified without blocking comparison for fully assessed datasources. See DATABASE-ADVISOR-CHECKS.md.

What the connection-pool checks add

Six rules check the HikariCP or Agroal pool behind a datasource and compare its sizing, validation, and lifetime with the server's own limits. The pool's numbers are read without borrowing a connection; the server's wait_timeout/idle_session_timeout and connection limits are read in the same bounded scan, as the scan connection's session sees them.

  • A pool that can hold an idle connection longer than the server allows (HikariCP only).
  • A pool larger than the connections the server lets an ordinary role hold.
  • A pool whose connections are never retired for age (maxLifetime of 0).
  • A pool whose connection acquisition timeout is disabled (0 on Agroal, Integer.MAX_VALUE on HikariCP) or exceeds 5 minutes.
  • A pool with pooling or connection validation disabled (DB-POOL-006, consolidating Quarkus Agroal and Spring HikariCP checks).
  • Quarkus datasource transaction-requirement review in production (DB-POOL-007).

A pool that cannot be attributed, another pool library, or a server value that could not be read leaves the rule SKIPPED with the reason. See DATABASE-ADVISOR-CHECKS.md.

What the database-server checks add

Seven rules read a few settings and version metadata of the PostgreSQL, MySQL, MariaDB, or Oracle server in the same bounded scan, as the scan connection's own session sees them, and flag the values that remove a safety net or the data the PostgreSQL and MySQL panels need. The panels stay neutral; the verdict is here, where it is scored and can be dismissed.

  • PostgreSQL: no idle_in_transaction_session_timeout (accounting for PG 17+ transaction_timeout), autovacuum off, pg_stat_statements not loaded or not created, and track_io_timing off.
  • MySQL: performance_schema off (skipped on MariaDB).
  • MySQL and MariaDB: session sql_mode lacks both STRICT_TRANS_TABLES and STRICT_ALL_TABLES.
  • Upstream end-of-life major server versions (DB-SERVER-009).

A setting the server did not report, one this version lacks, or a read that failed leaves the rule SKIPPED with the reason. Capacity-tuning values such as shared_buffers are deliberately not judged. See DATABASE-ADVISOR-CHECKS.md.

What the Hibernate cross-reference checks
  • An explicit association without a matching physical foreign-key constraint, excluding NO_CONSTRAINT.
  • An explicit declared table, column, @Index, or @SequenceGenerator name not observed in the scoped metadata.
  • Supported nondefault nullability mismatches on @Column(nullable = false) and @JoinColumn(nullable = false) / optional = false, not guessed Java-to-JDBC type mappings.
  • A declared @Column(length=...) or @Enumerated(EnumType.STRING) constant name longer than a bounded physical string column.
  • A positive @Column(precision=..., scale=...) wider than a bounded physical DECIMAL/NUMERIC column.
  • A mapped unique constraint with no physical index that enforces it.
  • An explicitly named @Id with GenerationType.IDENTITY whose PostgreSQL/MySQL/MariaDB column reports no auto-increment, identity, default, or generated value.

Only entities with an explicit @Table(name = ...) are cross-referenced. These are declaration-versus-observation reviews, not validation of the effective runtime mapping, since the advisor reads only the standard JPA metamodel and does not resolve the physical naming strategy. A mapped name matching tables in several datasources is treated as ambiguous. The panel proposes no query-based optimizations, execution-plan analysis, or index suggestions from usage.

On Quarkus

The panel is identical, over the same report contract. DataSource beans are discovered through @Any Instance<DataSource> and de-duplicated by the physical pool behind BootUI's SQL Trace wrapper. Datasource names come from the Agroal @DataSource("...") qualifier, read reflectively so no io.agroal type is linked; otherwise they fall back to positional names (default, datasource-2). The Hibernate cross-reference needs quarkus-hibernate-orm.

Hibernate

BootUI Hibernate panel

The Hibernate panel runs an explicit, read-only scan against the JPA EntityManagerFactory metamodel when Hibernate ORM is present. It reviews mapped entities, persistence-unit observations, and Spring Data JPA repository metadata for common performance and mapping risks: eager fetching, problematic identifier generators, collection fetch pagination, unsafe cascades, cache misconfiguration, and risky ddl-auto values. It never intercepts queries, invokes repositories, executes SQL, or modifies mappings. See HIBERNATE-CHECKS.md.

The catalog has 80 active rules. Unavailable observations and rule failures yield PARTIAL while keeping valid findings, and the report's diagnostics (Scan diagnostics in the panel) names every failed or incompletely evaluated rule. A finding whose rule was only partly evaluated carries a coverageNote. An empty findings list is not proof that every mapping or query was verified.

HIB-QUERY-007 excludes only narrowly proven static bulk statements from its fetch-query obligations. Unsupported applicable queries remain incomplete; other rules still inspect bulk queries where relevant. Removing the last genuine gap can make existing findings eligible for unchanged strict CI gates.

Eager to-one mappings are MEDIUM review guidance under HIB-FETCH-001, not proof of extra queries. Eager collections remain HIGH under the separate HIB-FETCH-010. Existing HIB-FETCH-001 dismissals are not copied to the collection rule, so previously dismissed collection findings reappear on the next scan. See the dismissal migration.

HIB-CONFIG-008 and the high-severity HIB-CONFIG-021 compare Hibernate's effective hibernate.connection.provider_disables_autocommit with the auto-commit default of the HikariCP or Agroal pool behind a resource-local persistence unit. The pool is matched through the DataSource Hibernate holds and read without borrowing a connection; a unit that cannot be attributed to one pool, and any JTA unit, is skipped rather than passed.

On Quarkus

The panel runs the same 80-rule registry when quarkus-hibernate-orm is present, discovering entities from the live EntityManagerFactory across all persistence units. Spring Data query rules skip when repository metadata is unavailable. Differences:

  • Effective factory settings are unit-scoped. Named units do not inherit the first factory's values.
  • Bytecode enhancement is always enabled, so known-absent-enhancement findings do not fire.
  • Quarkus units are JTA, so the pool auto-commit checks (HIB-CONFIG-008 and HIB-CONFIG-021) are skipped as not applicable instead of reporting missing evidence.
  • Panache active-record entities are handled specially (see below).
Spring / native Hibernate keyQuarkus equivalent
ddl-auto / hbm2ddl.autoquarkus.hibernate-orm.schema-management.strategy (*)
show-sqlquarkus.hibernate-orm.log.sql
format_sqlquarkus.hibernate-orm.log.format-sql
batch_sizequarkus.hibernate-orm.jdbc.statement-batch-size
default_batch_fetch_sizequarkus.hibernate-orm.fetch.batch-size
jdbc.time_zonequarkus.hibernate-orm.jdbc.timezone
generate_statisticsquarkus.hibernate-orm.statistics
query.in_clause_parameter_paddingquarkus.hibernate-orm.query.in-clause-parameter-padding
query.fail_on_pagination_over_collection_fetchquarkus.hibernate-orm.query.fail-on-pagination-over-collection-fetch
cache.use_query_cache / cache.use_second_level_cachequarkus.hibernate-orm.second-level-caching-enabled (single unified toggle)

(*) In Quarkus 3.33.3.1, an explicitly configured deprecated quarkus.hibernate-orm.database.generation takes precedence. Quarkus 4 removes that key and quarkus.hibernate-orm.log.bind-param; the Quarkus 4 adapter reads schema-management.strategy and log.bind-parameters instead, including named units. A removed declaration is not an effective fallback. Quarkus/Jakarta create is create-only, while Hibernate hbm2ddl.auto=create is destructive; the advisor preserves that difference.

The Quarkus 4 source adapter uses the actual ORM 8 / Persistence 4 candidate metadata. Unit-specific to-one defaults and direct/repeated Jakarta fetch overrides are resolved only with verified metadata; missing defaults leave incomplete evidence. HIB-MAP-027's old @GenericGenerator deprecation advice is not applicable on ORM 8, not a conclusive pass. See Quarkus support for release and execution boundaries.

With verified Panache transformation, the public-persistent-field finding does not fire, and the id field of Panache's base entity is ignored by the @GeneratedValue check.

Memory

BootUI Memory panel

The Memory panel runs an explicit, read-only scan of 32 active rules over the live JVM management beans: heap and memory pools, garbage collection, threads, loaded classes, and an optional class histogram. It reports severity-ranked findings such as heap pressure, metaspace saturation, native-footprint risk inside a container, lifetime GC overhead, thread deadlocks, and collection bloat. It complements the Live Memory and Threads panels by diagnosing the data they expose. The scan is on demand and caches the last report. See MEMORY-CHECKS.md. The shared Free BootUI memory header action drops BootUI's own buffers and requests a GC before you re-run the checks.

External stop-the-world System.gc() findings cover only events ending since the previous successful scan boundary (since the listener started on the first scan), not lifetime activity. Rescanning without new events clears that finding; lost or incomparable evidence remains an explicit coverage limitation.

Security

The Security panel runs an explicit, read-only scan of the application's security configuration to flag hardening gaps across authentication, authorization, CSRF, sessions, transport and headers, CORS, method security, actuator exposure, OAuth2 resource-server validation, and configuration hygiene. A shared check also reports when local project files declare no supported static security analyzer. It never runs those tools, assesses runtime security from that check, intercepts live traffic, exposes credentials, keys, or session identifiers, or modifies the configuration. The same panel and /bootui/api/security contract support all three stacks.

Missing and weak script CSP policies use the same LOW review baseline across Security and Pentesting. Adding a partial restriction does not incur a higher script-policy penalty than omitting it in the same browser/authentication scope; these passive observations do not prove an exploitable injection. Unknown policy composition stays incomplete.

Spring Boot (Spring Security)

BootUI Security panel — Spring Security

On Spring Boot it evaluates a 52-rule servlet catalogue over already-created SecurityFilterChain configuration and supported metadata, without executing authorization managers, custom matchers, or credential providers. The advisor also remains available without Spring Security for bounded local static-analyzer configuration and supported declared WebSocket origins; static-analyzer advice alone is not a runtime security assessment. Unsupported evidence stays incomplete rather than becoming a verdict. See SECURITY-CHECKS.md.

The servlet missing-HTTP-authorization and blanket-permitAll findings remain visible at MEDIUM when metadata marked known for inspected beans shows at least one observed used method-annotation family and matching activation for every used family; otherwise they stay HIGH. MEDIUM calls for annotation, proxy and invocation coverage review, not a claim that endpoints are protected: HTTP authorization is still absent or broad. Supported cached products and static Spring proxy targets retain interface and implementation metadata; native creator eligibility qualifies advisor activation. Opaque products, custom or dynamic targets, unsupported creator bindings and GraalVM class-based targets remain incomplete and prevent MEDIUM qualification. Passive factory support is narrow; even the shipped BootUI sample retains gaps from its own lazy factories, rather than proving a complete method inventory. See the metadata limits and verdict impact. This calibration does not change the separate WebFlux or Quarkus rules.

Proven filterless/ignored request scopes produce one SEC-AUTHZ-006 review instead of per-chain missing-authorization advice: LOW normally, HIGH for a passively proven unconditional ignored matcher. Prefer public permitAll mappings inside a real chain. Unknown scope stays incomplete, and existing SEC-AUTHZ-001 dismissals do not dismiss the new ID.

Spring WebFlux

On WebFlux it evaluates a dedicated 39-rule SEC-RXF-* catalogue over SecurityWebFilterChain beans, reactive CORS/OAuth2 beans, and security-relevant configuration, excluding BootUI's own permit-all chain. The shared static analyzer configuration check and declared WebSocket origin review are also available when Spring Security is absent. SEC-WS-001 is an INFO review of any declared wildcard, one occurrence per endpoint, not a vulnerability verdict. MVC can read native handler/STOMP and SockJS declarations; WebFlux and Quarkus currently expose endpoint presence but not origin policy, so present endpoints limit coverage without a finding or inferred pass. Cookie-authenticated sockets need cross-site hijacking review; public or appropriately token-authenticated sockets may intentionally use broad origins. No handshake or HTTP CORS inference is performed. Cached reads do not recollect evidence.

On Quarkus

BootUI Security panel — Quarkus Security

On Quarkus it runs a 49-rule Quarkus-native ruleset over the HTTP permission policies, MicroProfile Config, and annotated endpoints: Elytron/OIDC authentication, quarkus.http.auth.permission.* authorization, TLS and transport policy, forwarded-header proxy trust, CORS (including the wildcard-origin-with-credentials trap), response headers, and @RolesAllowed, @PermissionsAllowed, and @AuthorizationPolicy. The shared static analyzer configuration check also runs on explicit scans. The UI relabels metrics ("Permission policies" in place of "Filter chains"). See QUARKUS-CHECKS.md.

The Quarkus 4 adapter ignores removed OIDC/OIDC-client tls.verification declarations and the old quarkus.http.cors enable alias. Only supported current settings establish effective TLS/CORS observations; plain-HTTP OIDC endpoints and current TLS-registry findings remain assessed. Quarkus 3's legacy semantics are unchanged.

Pentesting

BootUI Pentesting panel

The Pentesting panel runs explicit, local-only OWASP Top 10 2025 hygiene checks against the host application, not BootUI's /bootui routes. A scan combines bounded framework metadata with at most one GET and one OPTIONS request to literal 127.0.0.1 under the application context path; the client never follows redirects or uses proxies. Checks cover browser-document headers, CORS, cookie flags, verbose errors, Spring Security wiring, actuator exposure, and common Spring Boot hardening gaps. Quarkus CORS, OIDC, and TLS are reviewed by the Security panel instead.

It never crawls endpoints, sends SQL/XSS/destructive payloads, contacts external hosts, or includes raw response bodies, cookie values, credentials, or full issuer URLs. Findings are heuristic review prompts, not proof of exploitability.

The 63 active checks each carry a stable PT-* identifier, OWASP 2025 category, evidence source, and recommendation. The panel shows Findings by severity. Failed or bounded-away evidence produces a PARTIAL scan. See PENTEST-CHECKS.md. Pentesting supports the shared dismiss/restore workflow by exact PT-* ID; dismissal does not dismiss an equivalent Security advisor finding.

Per-stack coverage
  • Spring MVC is the complete reference collector.
  • Spring WebFlux contributes Spring configuration and OAuth metadata, but reports MVC mapping and servlet-filter evidence unavailable. Its reactive Security advisor owns SecurityWebFilterChain route policy.
  • Quarkus runs the same scanner and supplies its port, root path, CORS, OIDC, and HTTP-listener TLS configuration, while marking Spring endpoint metadata unavailable. Local HTTP does not assess proxy-edge HTTPS.

Unsupported checks never become a false clean result.

Vulnerabilities

BootUI Vulnerabilities panel

The Vulnerabilities panel shows the locally discovered dependency inventory and explicit OSV.dev lookup results, to identify known-vulnerable dependencies in the running project. Findings are ordered by severity (dismissed findings sink to the bottom), then alphabetically. OSV is contacted only on the user-initiated scan. bootui.vulnerabilities.osv-enabled=false disables scanning and bootui.vulnerabilities.epss-enabled=false disables EPSS enrichment, on both adapters.

The Vulnerabilities checks catalogue documents the interpretation rules and sources. A completed lookup is not proof of application safety or complete runtime discovery. Panel and Scorecard share the evidence-based eligibility.

An agent's vulnerabilities_scan answers with a summary of at most ten vulnerable dependencies. get_vulnerabilities_report lists limit dependencies (10 by default), each with at most 5 advisories without details; an exact group:artifact query lists all of one dependency's advisories, and an exact advisory id or alias returns that advisory whole.

Severity scoring

Severity is derived from OSV's severity[] entries: BootUI computes CVSS_V4 and CVSS_V3 vectors, preferring v4 when both are valid, records the selected vector version in cvssVersion (4.0, 3.1, or 3.0), and never treats a bare number as CVSS. CVSS 0.0 is NONE. An advisory with neither a parseable score nor a database_specific label renders as UNKNOWN. A malicious-package advisory (OSV MAL- ID) is always CRITICAL: removing the dependency, not upgrading it, remediates it, and both its summary and details lead with that removal guidance alongside a dedicated badge in the UI.

How a CVSS score is selected and parsed

BootUI matches the exact Maven ecosystem and groupId:artifact, and evaluates the installed version against explicit versions and supported Maven ECOSYSTEM ranges. Applicability is matched, not matched, or unresolved; unsupported or malformed evidence never becomes an unaffected verdict. A positive OSV query keeps the finding as PARTIAL even when detail association is unsupported or contradictory.

It takes the highest valid v4 score across applicable package assessments, and only when none is valid the highest valid v3 Base score. Top-level severity is a fallback only when no applicable package severity is supplied. A recognized database_specific.severity label remains a compatibility fallback, otherwise UNKNOWN. MODERATE maps to MEDIUM.

v3.0/v3.1 vectors follow the FIRST CVSS v3.1 specification (Base metrics only). v4.0 vectors are scored with a port of FIRST's reference calculator; a supplied Threat metric such as E:U yields the CVSS-BT score, and supplemental metrics never change the score. Invalid segments, unknown metrics, and duplicates are rejected. CVSS v2 is not calculated.

OSV querying and robustness

Withdrawn advisories are excluded. A failed advisory-detail fetch does not abort the scan: it is counted, the scan degrades to PARTIAL, and every advisory that did fetch is kept.

Unfetched query IDs remain unassessed candidates, separately counted and never assigned a severity or included in vulnerability counts. Findings or unassessed candidates keeps their dependencies visible; a candidate-only row stays Not assessed, not clean. Candidate previews are bounded; the panel states omitted IDs.

Pagination, batching, and result validation

The scanner follows OSV's next_page_token on /v1/querybatch, bounded by 20 page rounds per chunk (degrading to PARTIAL at the bound). The package list, already bounded by bootui.vulnerabilities.max-packages, is split into batches of at most 1,000 queries, OSV's hard limit. Detail fetches run with bounded concurrency (up to 10) and a configured advisory-detail cap. Each HTTP call is bounded by bootui.vulnerabilities.request-timeout (default 10s), and the whole scan across /v1/querybatch pages, /v1/vulns/{id} detail waves, and EPSS chunks is bounded by bootui.vulnerabilities.scan-timeout (default 60s), degrading to PARTIAL while retaining all advisories fetched so far.

Responses are validated, and malformed results fail visibly instead of reading as a clean scan. A later failure preserves earlier pages as PARTIAL; failure before any valid page is ERROR, with the local inventory retained.

EPSS enrichment

Each advisory whose id or aliases include a CVE-* id is enriched with EPSS data from FIRST.org's free API: the modeled probability of exploitation in the next 30 days and its percentile. It renders as a secondary badge next to the severity badge (for example "2.3% EPSS"), using the highest available per-CVE probability. This is a prioritization heuristic, not a combined exploit likelihood. A failed or unreachable EPSS request never fails the scan or discards OSV results.

Fix availability

Each advisory carries fixedVersions and fixAvailable. A candidate must be a fixed event closing a supported Maven interval containing the installed version (or, when the installed branch is bounded by last_affected or a finite limit without a verified same-branch fix, a fixed event from a sibling Maven entry of the same groupId:artifactId), be newer under Maven ComparableVersion ordering, and be unaffected across all matching entries. Git/SEMVER ranges and last_affected/limit boundaries themselves supply no upgrades. A false signal or empty list means no target was established, not that the dependency is safe or that no upstream fix exists. Candidates are upgrade evidence, not guarantees of publication or compatibility; BootUI does not install them.

Dismissing a vulnerability

A vulnerability can be dismissed like any other finding (see Dismissing findings). Because it is scoped to one dependency, the key is <vulnerability id>::<package name> (for example GHSA-xxxx-xxxx-xxxx::org.example:sample). Dismissing a finding for one dependency never hides the same advisory on another, and a dismissal survives a patch-version bump of the still-vulnerable dependency. Dismissed vulnerabilities stay visible (dimmed, with a Restore button) and leave the vulnerable counts. Controls are disabled when read-only.

How Spring discovers dependencies

The Spring adapter resolves coordinates from four sources, in decreasing authority:

  1. The embedded CycloneDX SBOM (META-INF/sbom/application.cdx.json or META-INF/sbom/bom.json). Maven PURLs carry the groupId no manifest header carries. A component declared not shipped (scope: "excluded", or the cdx:maven:package:test=true property) is left out unless the archive census finds its JAR. Strictly when archive census coverage is COMPLETE, SBOM-only scope: "optional" components not in the census and unshipped versions of duplicate groupId:artifactId SBOM entries are also reconciled out.
  2. META-INF/maven/*/*/pom.properties descriptors on the classpath, including inside a repackaged archive's nested JARs.
  3. java.class.path entries, read through the Maven repository layout or an adjacent POM. A group id is derived from a Maven path only when a literal repository directory identifies the layout. Inside a repackaged fat JAR this source is dead.
  4. Standard Gradle module-cache paths, for otherwise unidentified local JARs already supplied on the classpath or application loader. The modules-2/files-2.1/group/artifact/version/hash/artifact-version.jar suffix must agree with the real path and Gradle's unpadded lowercase SHA-1 directory format. Embedded Maven descriptors, bundled archives, shadowed basenames, and classified/custom filenames prevent inference. Already identified shipped-SBOM, descriptor, and classpath matches take precedence. An archive newly identified here cannot also rescue an excluded/test-only SBOM component by filename. This is path provenance, not proof of upstream publication; BootUI does not search the cache or perform a hash lookup.

Unreadable resources, a malformed SBOM, and unreadable archives are logged and skipped rather than failing the inventory.

Runtime reach

With the BootUI agent's inventory sensor recording this run, the dependency table gains a Runtime reach column and filter: whether each dependency's jar loaded classes in this JVM, and whether a class an advisory names did. It is a prioritization hint that never changes a finding's severity, score, counts, or Scorecard penalty. Without the agent, or while the Code Inventory panel is disabled, the column is absent and the table says why.

ReachMeaning
Named class loadedA class the advisory names loaded from this dependency's own jar. This means "a class the advisory mentions loaded", never "the vulnerable code ran".
LoadedClasses of the jar loaded in this run, with the route of the request that first loaded one (while HTTP Exchanges is visible).
Not loaded yetNo class of the jar loaded in this JVM, and the evidence could have shown it. It may still load later.
UnknownThe evidence cannot tell, with the reason: the recorder is not running, the jar was not found or holds no classes, it is shaded, or the agent never records its classes.
How reach is decided

The agent keeps, per jar, a bounded set of class-name hashes (8,192 per jar, 65,536 in all; past that, a class the advisory names reads as unknown, never as not loaded), for JDK types only, so no class loader is pinned. Dependencies are matched to jars as the Code Inventory panel matches them. Names come from the advisory's structured OSV fields, else from fully qualified class names in its summary and details, marked from the advisory text; text names are looked for only in the dependency's own jar, so their absence says nothing.

Coverage

A coordinate-based inventory can only scan what it can name, so the panel also reports what it couldn't. BootUI takes a census of the application's real archives (BOOT-INF/lib/ or WEB-INF/lib/ entries, or JARs on java.class.path and application-classloader URLs) and attributes each to a resolved coordinate. The java -Djarmode=tools -jar app.jar extract --layers --launcher layout is supported on Spring MVC and WebFlux. The census does not recursively search directories, extract nested JAR contents, or contact remote URLs.

coverage.statusMeaning
COMPLETEThe provider reports every enumerated archive identified or first-party; this is not independent verification of the runtime inventory.
INCOMPLETESome archives were neither; they are counted and named, and the panel warns that they were not scanned.
UNAVAILABLENeither the classpath nor the application classloader exposes enumerable archives (for example under a native image), so coverage is unknown rather than claimed.

When coverage is incomplete, the panel shows an "Unidentified JARs" metric and a warning with a collapsible list of archive names and a pointer to adding the CycloneDX plugin. Packages beyond bootui.vulnerabilities.max-packages (default 500) are counted in scan.packagesSkipped and shown as a warning.

First-party module JARs and spring-boot-jarmode-tools

Two kinds of archive are never in an SBOM yet are not a coverage gap, so Spring MVC and WebFlux inspect an unidentified archive (manifest and entry names only) before reporting it:

  • First-party module JARs. An archive with at least one class, all of them in the application's base packages, is counted in coverage.archivesFirstParty and named in coverage.firstPartyArchives (at most 200). It is not scanned. The check fails closed: a single class outside the base packages, a resource-only archive, META-INF/maven/ descriptors, a bundled .jar/.war/.zip, or no detectable base package keeps it unidentified. When the Spring Boot layers.idx defines an application layer, only archives in that layer can be first-party.
  • spring-boot-jarmode-tools. Added by Spring Boot's build plugins at packaging time, so it is absent from the SBOM. When its file name, manifest title and version agree and every class is under org/springframework/boot/jarmode/tools/, it is identified as org.springframework.boot:spring-boot-jarmode-tools and scanned.

With both, a multi-module application built with an SBOM reports COMPLETE coverage.

On Quarkus

The panel is identical and uses the same report contract and workflows. The one difference is dependency discovery: the inventory is captured at build time from the resolved runtime dependency model and needs no SBOM. Coverage is COMPLETE only when that model was captured and decoded whole; a missing or blank model, a malformed entry, or an unencodable coordinate reports UNAVAILABLE, keeping every readable dependency.

Known limitations

  • Discovery can overclaim coverage. Spring de-duplicates archive basenames and matches filenames without group identity, so case or classifier ambiguity can overstate identification.
  • Without metadata or a recognized repository layout, some JARs cannot be identified. No JAR manifest header carries a groupId. An SBOM can identify artifacts without Maven descriptors or a supported local cache path; otherwise they appear through coverage as unidentified.
  • Shaded/uber JARs are invisible. The inventory is coordinate-based, so a library relocated inside a shaded JAR is not seen.
  • No direct-vs-transitive provenance. "Introduced through" is not tracked on either adapter.
  • Evidence is bounded, not exhaustive. Advisory occurrences linked through OSV aliases are clustered once per dependency for counts and scoring (without merging supply-chain upstream records), while unaliased advisories remain distinct. Browser version sorting is lexical for same-package rows.
Prev
Runtime Insights
Next
Runtime

© 2026 Julien Dubois