Self-hosting Sonar cryptography plugin: what your team needs to run it

Running the Sonar cryptography plugin yourself means operating a supported SonarQube server, installing the plugin on every node, enabling the CBOM rule and keeping the plugin current. This page lists what each step requires.

On this page

What running Sonar cryptography plugin yourself involves

As an engineering lead, your first decision is whether your team runs the Sonar cryptography plugin on its own SonarQube server or pays someone to help. The plugin is an open-source SonarQube plugin, published in the cbomkit GitHub organization, that detects cryptographic assets in source code and generates a CBOM. Self-hosting means your team operates both the SonarQube instance and the plugin itself, including installing, upgrading and troubleshooting each. The plugin is not developed or maintained by SonarSource: in a Sonar Community reply dated 9 April 2026, a Sonar community representative said the repository is not in the SonarSource GitHub organization, so it is not a SonarSource product. Before you commit, confirm with the maintainers' own repository who is responsible for fixes and releases.

The main infrastructure question is the SonarQube instance. The plugin runs only inside a SonarQube server of a supported version, and the compatibility table in the README maps plugin versions to SonarQube versions, for example plugin 1.3.7 and up runs on SonarQube 9.9 (LTS) and up. Confirm which plugin release you need and check that your SonarQube version is on its list before you install. Sonar recommends Docker or Helm over ZIP installs because ZIP installs will be removed in a future release. On Kubernetes, the plugin JAR URL goes under plugins.install in values.yaml. On Data Center, plugins are not shared across application nodes, so you must make the same change on each node and stop all nodes during an install, upgrade or uninstall.

The ongoing work sits in configuration and scan operations. Sonar's documentation says plugins must be installed manually rather than from the Marketplace, and an administrator must acknowledge the risk, so name the person who signs off on that. After install, verify the plugin under Administration > Marketplace. The scanner also needs a Java quality profile that contains the "Cryptographic Inventory (CBOM)" rule, since default profiles cannot be edited, so duplicate a default profile and assign it under Project Settings > Quality Profiles. The CBOM file name is set with sonar.cryptoScanner.cbom, which defaults to cbom, and it is written only when that rule is enabled. Plan for a check after each scan: findings should appear on the Issues tab and a cbom.json file should appear in the project directory.

Finally, plan for upkeep. Each new plugin release needs a compatibility check against your SonarQube version, and the 1.6.1 release notes describe a performance change that reduced heap usage on large scans, so test memory behavior on your own codebase rather than assuming it. The sources listed here do not state memory requirements or JVM tuning, so confirm those with your own load tests. Go type-check errors may require rebuilding sonar-go-to-slang, which adds build work for Go teams. Weigh the in-house time to cover these tasks against the cost of paid help.

What the plugin and its project document about hosting

This table lists the plugin, its owner, license, supported languages and latest release as the project and its README document them. Read the deployment model row first, because every other item depends on running the JAR inside a SonarQube instance your team operates. No pricing is published in the sources, so ask the owner or your vendor-risk reviewer to confirm terms before adoption.

ItemWhat the sources documentWhat to confirm
Ownercbomkit GitHub organization, public repository at github.com/cbomkit/sonar-cryptographyWhether the project is developed or maintained by SonarSource, which a Sonar community representative said on 9 April 2026 it is not
What it doesDetects cryptographic assets in source code and generates a CBOM written to cbom.jsonThat the Cryptographic Inventory (CBOM) rule is enabled on the Java quality profile used by each project
Deployment modelPlugin JAR installed inside a SonarQube instance that you operateYour SonarQube version against the README compatibility table, and whether you run Community, Developer or Data Center editions
Supported platformsJava, Python and Go as of 4 December 2026; C# listed as in developmentCoverage for each language in your codebase, since the README lists partial support for some Go packages
LicenseApache License 2.0 for independent code; Sonar Source-Available License v1.0 for bundled sonar-java, sonar-python and sonar-goHow both licenses fit your software supply chain policy, with your legal or vendor-risk reviewer
Latest releaseVersion 1.7.0, published 1 September 2026; the GitHub API lists no assets for itWhich release asset you install, since the API lists sonar-cryptography-plugin-1.6.1.jar for 1.6.1 and none for 1.7.0
Pricing modelNo pricing published in the sourcesAny fees or commercial support terms directly with the owner or a provider before you rely on them

Which install method fits the team's SonarQube setup

A ZIP install is the classic SonarQube layout in which the server runs directly from its extracted home folder. Sonar's documentation says to place the compatible plugin JAR in <sonarqubeHome>/extensions/plugins, remove any older versions of the same plugin, and restart the server. Sonar also states that it recommends Docker or Helm instead, because ZIP installs will be removed in a future release, so teams choosing this path should plan a later migration.

  • Copy the compatible JAR: place the plugin JAR that matches your SonarQube version in extensions/plugins, using the README compatibility table as the reference.
  • Remove older versions: delete any earlier plugin JAR so two versions do not load together.
  • Restart the server: the plugin is loaded only after SonarQube restarts.
  • Plan for removal: Sonar says ZIP installs will be removed in a future release, so budget time to move to Docker or Helm.
  • Verify the install: confirm the plugin under Administration > Marketplace after restart.

Before you start, check that the SonarQube version on this host appears in the compatibility table, and record the plugin version so an upgrade can be reversed.

Which teams the self-hosting work suits

Self-hosting Sonar cryptography plugin means running it inside a SonarQube instance you operate. The four situations below each depend on a specific version, network, deployment or build condition, so check them against your environment before you plan the work.

Teams already running SonarQube

The plugin runs inside a SonarQube instance that you operate, and the README says a running SonarQube instance of a supported version is required. If your organization already runs a supported SonarQube server, the plugin is added to it rather than deployed as a new service. Confirm that your server is on a supported version before you copy the JAR into place. Check the compatibility table for the plugin release you plan to install, because the supported SonarQube range depends on it.

Plugin README

Teams keeping scans inside their network

Because the plugin runs inside your own SonarQube instance, scan results and the generated cbom.json stay within the network where that instance is hosted. Teams with requirements to keep source code and findings internal should confirm where the SonarQube server, its database and the scanner runners sit. The troubleshooting guide says a cbom.json file should appear in the project directory after a scan, so teams should confirm where that file is written and who can read it.

Troubleshooting guide

Teams on an older SonarQube version

The compatibility table ties each plugin release to a range of SonarQube versions. Plugin 1.3.7 and later need SonarQube 9.9 LTS or later. Plugins 1.3.2 to 1.3.6 run on SonarQube 9.8 LTS up to 10.8, and plugins 1.2.0 to 1.3.1 run on SonarQube 9.8 LTS up to 10.4. If your server is older than the minimum for the release you want, you must upgrade SonarQube or pick an earlier plugin. Confirm the exact pairing before installing, since a mismatch can leave the plugin unusable.

Compatibility table

Teams running Data Center nodes

Sonar's documentation says plugins are not shared across application nodes in Data Center. Each node needs the same JAR and the same change made to it, and all nodes must be stopped during install, uninstall or upgrade. Teams running several application nodes should plan a maintenance window and confirm that every node ends up on the same plugin version. Verify the install under Administration > Marketplace on each node after the change.

Plugin install docs

Teams without a Java 17 build

The troubleshooting guide's scanner example used Java 17.0.11 and Maven 3.9.7. Teams whose build environments run a different Java version should test the scanner setup before relying on it, since the guide does not say that other versions are supported. The guide also suggests replacing verify with package -DskipTests so that test failures do not block the scan. Confirm your build image and toolchain before adding the scanner to your pipeline.

Troubleshooting guide

How to check what your team must run before installing

This sequence confirms which SonarQube version, deployment type and plugin release your team needs, then proves the plugin produces findings and a CBOM on a real scan. It ends with a written record your engineers and reviewers can check against later.

  1. Inventory your SonarQube version and deployment type

    Record the SonarQube Server version you run, whether it is a single instance or a Data Center cluster with multiple application nodes, and how it is deployed (ZIP install, Docker or Kubernetes with Helm). Ask the team that operates SonarQube to confirm the version from the administration console, since the plugin only runs on supported versions. You know this step is done when a written note names the version, the deployment type and the node count.

  2. Match the plugin release to your SonarQube version

    Open the compatibility table in the sonar-cryptography README and find the plugin release that lists your SonarQube version. The README lists plugin 1.3.7 and later for SonarQube 9.9 (LTS) and up, plugins 1.3.2 to 1.3.6 for SonarQube 9.8 (LTS) up to 10.8, and plugins 1.2.0 to 1.3.1 for SonarQube 9.8 (LTS) up to 10.4. Check the release assets on the GitHub releases page before you download anything, and confirm the choice with your own engineers. You know this step is done when one plugin release is chosen and recorded against your version.

  3. Choose the ZIP, Docker or Helm install method

    Follow the install method Sonar documents for your deployment, and note that Sonar recommends Docker or Helm because ZIP installs will be removed in a future release. For ZIP installs, copy the plugin JAR into the extensions plugins folder, remove any older version of the same plugin, and restart. For Kubernetes, add the JAR URL under plugins.install in values.yaml or pass it with --set during a Helm upgrade. You know this step is done when the chosen method is recorded and the plugin is installed through it.

  4. Install the plugin on every Data Center node

    On a Data Center deployment, plugins are not shared across application nodes, so the same change must be made on each node. Sonar's documentation says to stop all nodes during an install, uninstall or upgrade, so schedule the change with the team that runs SonarQube. Sonar also says plugins must be installed manually rather than from the Marketplace, and an administrator must acknowledge the risk. You know this step is done when every node shows the plugin and the change is logged per node.

  5. Create a duplicated Java profile with the CBOM rule

    Duplicate a default Java quality profile, because the defaults cannot be edited, and enable the Cryptographic Inventory (CBOM) rule in the copy. Then assign the profile to the project under Project Settings and Quality Profiles. The sonar-cryptography README says the plugin writes a CycloneDX CBOM to cbom.json only when this rule is enabled. You know this step is done when the duplicated profile shows the rule as enabled and is assigned to the test project.

  6. Run a test scan and check the outputs

    Run a scan of a small Java project with the scanner, replacing verify with package -DskipTests so that tests do not block the scan. The troubleshooting guide's example used Java 17.0.11 and Maven 3.9.7, which are the versions in that example rather than requirements, so confirm the versions your build needs. After the scan, check that the Issues tab lists findings and that a cbom.json file appears in the project directory. You know this step is done when both checks pass.

  7. Record the versions used in a run log

    Write down the plugin version, the SonarQube version, and the Java and Maven versions used for the test scan, along with the deployment type and node count. Keep the log with your install records so that a later upgrade, an audit question or a change in SonarQube can be traced to a specific combination. You know this step is done when the log is stored where your operations and security teams can find it.

What upkeep the team takes on after the first install

The first install is only the start of the work. Once Sonar cryptography plugin runs inside your SonarQube instance, your team owns its upkeep: watching for new plugin releases, applying each one, and checking that scans still produce results. The project's repository lists release 1.6.1 as published on 13 July 2026 and release 1.7.0 as published on 1 September 2026, so the newest version is the one to track. One detail to confirm before you plan an upgrade: at the time of the sources, the GitHub API listed a downloadable JAR asset for 1.6.1 but no assets for 1.7.0. Check the releases page yourself before you rely on a given version number in your install scripts.

Each upgrade is a change to every node, not just one. Sonar's documentation for Data Center says plugins are not shared across application nodes, so you must make the same change on each node and stop all nodes during install, uninstall or upgrade. For Kubernetes deployments, the documented route is to update the JAR URL under plugins.install in values.yaml or pass it with --set during helm upgrade. Remove older versions of the same plugin when you replace them, and verify the result under Administration > Marketplace. Sonar also recommends Docker or Helm over ZIP installs, because ZIP installs will be removed in a future release, so plan your deployment method before the upgrade cycle starts.

Expect some scans to fail on Go code and plan for it. The README says that Go "undefined" type-check errors may require rebuilding sonar-go-to-slang with added package export data, which is maintenance work your team would own. Memory is a separate open question. The troubleshooting guide does not mention memory requirements or JVM tuning, and the 1.6.1 release notes describe a change that reduced heap usage on large scans, but the sources do not give sizing figures. Measure heap use on your own largest scans after each upgrade, and set JVM limits from those measurements rather than from any published number.

How the plugin sits inside a self-operated SonarQube instance

The flow starts with a developer's Java, Python or Go source code, which is scanned by Maven using a duplicated quality profile that includes the Cryptographic Inventory (CBOM) rule. The scan reaches a SonarQube server that your team operates, where the plugin JAR loaded from extensions/plugins analyzes the code. Two outputs come back to the project: findings in the Issues tab, and a cbom.json file in the project directory. Check the Issues tab for findings and confirm cbom.json appears after a scan. The team-operated boundary covers the server, the plugin install and the quality profile.

Source code flows through a team-operated SonarQube server to the Issues tab and cbom.json.

What the license means for a self-hosted deployment

The license is the first thing a reviewer must settle before a self-hosted deployment, because the README does not describe one license for the whole package. The README states that the independently authored code in the sonar-cryptography repository is licensed under the Apache License 2.0. It also states that the packaged plugin contains sonar-java, sonar-python and sonar-go, which fall under the Sonar Source-Available License v1.0, subject to the license notices in each individual file. A team that copies the plugin JAR onto its SonarQube server is therefore running code under more than one license, and the terms that apply to a given file depend on that file's own notice, not on the repository's headline license.

The sources listed on this page do not publish a price for the plugin, and they do not say what a self-hosted team should pay to a licensor. The cost of running it is the team's own: the SonarQube instance it operates, the compute and storage that instance needs, and the staff time spent on installation, upgrades and scan configuration. Those costs are one-time for the initial setup and recurring for upgrades and maintenance. Confirm with the licensor, or with the license texts themselves, whether any commercial term attaches to the Sonar Source-Available components before assuming the plugin carries no fee.

Before deployment, a reviewer should read the Apache License 2.0 text, the Sonar Source-Available License v1.0 text and the license notice in each source file of the sonar-java, sonar-python and sonar-go components as they appear in the release being installed. The reviewer should record which files carry which notice, check whether the terms permit the internal use the team intends, and confirm the version of the packaged plugin matches the reviewed files. A legal or vendor-risk reviewer will also want to know who maintains the code, since the README and the release notices are the documents to rely on for that answer.

Questions to put to the plugin's maintainers before self-hosting

Which SonarQube versions do the maintainers test against beyond the README table?

The README compatibility table is the only version list the sources in this guide publish, so ask the maintainers whether they run continuous tests on any SonarQube version outside that table. The table says plugin 1.3.7 and up runs on SonarQube 9.9 (LTS) and up, plugins 1.3.2 to 1.3.6 run on SonarQube 9.8 (LTS) up to 10.8, and plugins 1.2.0 to 1.3.1 run on SonarQube 9.8 (LTS) up to 10.4. Your SonarQube version decides which plugin release you can install, so write that pairing into your change record. If your server is on a version the table does not list, ask whether any release has been tested on it before you schedule the upgrade. Treat an untested pairing as a risk to test in a staging instance first, not as supported.

Does the plugin publish memory or sizing guidance for large Data Center installs?

The sources in this guide do not publish memory or sizing guidance, and the troubleshooting guide does not mention memory requirements or JVM tuning. The only memory fact is from the 1.6.1 release notes, which describe a performance-focused release in which call-stack entries no longer keep the full AST in memory, and say this greatly reduced heap usage on large scans. That tells you the maintainers have worked on heap use, not what heap size your scans need. Ask for the heap size and scan duration they used on their largest test codebase, the number of projects scanned per node, and whether they recommend a dedicated scanner host. Until they answer, plan a load test on a copy of your largest repository before you size production nodes.

How do the maintainers announce breaking changes between releases like 1.6.1 and 1.7.0?

The sources in this guide do not describe a breaking-change policy or changelog convention, so ask the maintainers directly how they announce them. The repository's newest release is 1.7.0, published 1 September 2026, and the one before it is 1.6.1, published 13 July 2026. Between those two releases, the only documented change we can cite is the 1.6.1 memory work. Ask whether breaking changes appear in release notes, in a separate migration note, or in the README compatibility table, and whether a release that changes supported SonarQube versions is flagged. Set up a staging instance that tracks each release before production upgrades, so a breaking change lands in a test environment first.

Does the 1.7.0 release include a JAR asset, and where is it published?

The GitHub API lists no assets for release 1.7.0, while release 1.6.1 has the asset sonar-cryptography-plugin-1.6.1.jar. So at the time of the API check, you cannot take the plugin JAR for 1.7.0 from the release page, and the README install instruction (copy the plugin JAR from the releases) will not work for that version. Ask the maintainers whether a 1.7.0 JAR is coming, where it will be published, and whether it will carry a checksum. Do not install a JAR from an unofficial mirror to fill the gap. If the asset is still missing when you plan to install, stay on 1.6.1 and confirm it runs on your SonarQube version.

What support channels exist for the plugin after the 9 April 2026 community reply?

In a Sonar Community reply dated 9 April 2026, a Sonar community representative said the plugin is not developed or maintained by SonarSource, because its repository is not in the SonarSource GitHub organization. The repository is public and owned by the cbomkit GitHub organization. That means SonarSource support does not cover the plugin, and the community forum is a place to ask questions rather than a support contract. Ask the maintainers which issue tracker, discussion forum or email address they monitor, whether they respond on a set schedule, and whether any commercial support exists. Get the answer in writing before the plugin becomes a dependency of a production scan.

Who should we contact about the Go sonar-go-to-slang rebuild?

The README says Go "undefined" type-check errors may require rebuilding sonar-go-to-slang with added package export data. It does not name a contact for that rebuild, so ask the maintainers who owns that component and whether the rebuild steps are documented beyond the README. Ask whether the rebuild is needed for the Go standard library coverage the README lists, and whether it should be repeated after each plugin upgrade. Your team will need to run the rebuild on the same build machine the scanner uses, so confirm the Go toolchain version the maintainers used. Record the rebuild as a manual step in your runbook until the maintainers confirm it is automated.

Who pays for the upkeep, and what does the plugin cost to run?

The sources in this guide do not give a licence fee, price or effort figure for running the plugin. The README licenses the independently authored code under the Apache License 2.0, and the packaged plugin also contains sonar-java, sonar-python and sonar-go under the Sonar Source-Available License v1.0. Your costs are the SonarQube server you already operate, the staff time to install, test and upgrade each release, and the build machines that run scans. Ask the maintainers whether they offer any paid support, and budget the internal time for each upgrade cycle yourself, since the sources do not estimate it.

How DeployOpen helps teams that self-host this plugin

DeployOpen works with your team to run the Sonar cryptography plugin inside a SonarQube instance in your own infrastructure. The work covers choosing a supported SonarQube and plugin version, installing and verifying the plugin, configuring the quality profile and scanner, and documenting the result so your engineers can operate it.

How we scope

  • We confirm which SonarQube edition and version you run, and whether it is a single server, Docker, Helm or Data Center deployment.
  • We check the plugin version against the compatibility table in the project README before any change is made.
  • The written scope lists the languages to cover, the projects to scan and the deployment steps, and engagements are fixed-scope.
  • We agree in writing who owns the Maven or build changes, the quality profile and the cbom.json output.

How we build

  • We install the plugin JAR through the method your deployment supports, and remove older versions of the same plugin first.
  • On Data Center, we apply the same change on every application node and stop all nodes during the install or upgrade.
  • We set up a Java quality profile with the Cryptographic Inventory (CBOM) rule, duplicating the default profile first because defaults cannot be edited.
  • We run a test scan and check that the Issues tab lists findings and that cbom.json appears in the project directory.

How we hand over

  • We document the installed plugin version, SonarQube version, install method and the steps used to upgrade or roll back.
  • We record the quality profile assignments, scanner settings and the cbom.json file name set by sonar.cryptoScanner.cbom.
  • We walk your engineers through a scan, the troubleshooting steps and the known fixes, such as the Docker UID setting on zsh.
  • We deliver the documentation as part of the written scope, so your team can run and review the setup without us.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, scoped in writing.
  • We can plan and test plugin upgrades against new SonarQube releases before your team applies them in production.
  • We can help your team confirm the license and governance terms that apply to the plugin's packaged components.
  • We do not publish a price list, and a quote follows from the written scope and the support level you choose.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.