<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: AnnexSeal</title>
    <description>The latest articles on DEV Community by AnnexSeal (@annexseal).</description>
    <link>https://dev.to/annexseal</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4278525%2F5b17f9f4-9fe8-42ff-b566-d6082cda175d.png</url>
      <title>DEV Community: AnnexSeal</title>
      <link>https://dev.to/annexseal</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/annexseal"/>
    <language>en</language>
    <item>
      <title>Why Your Syft/Trivy SBOM Fails BSI TR-03183-2 v2.1.0 (and How to Auto-Heal It Offline)</title>
      <dc:creator>AnnexSeal</dc:creator>
      <pubDate>Wed, 02 Dec 2026 12:42:06 +0000</pubDate>
      <link>https://dev.to/annexseal/why-your-syfttrivy-sbom-fails-bsi-tr-03183-2-v210-and-how-to-auto-heal-it-offline-lb0</link>
      <guid>https://dev.to/annexseal/why-your-syfttrivy-sbom-fails-bsi-tr-03183-2-v210-and-how-to-auto-heal-it-offline-lb0</guid>
      <description>&lt;p&gt;With &lt;strong&gt;EU Cyber Resilience Act (CRA)&lt;/strong&gt; Article 14 vulnerability reporting already live (September 11, 2026) and the full Annex VII / CE-mark mandate arriving December 11, 2027, Germany's &lt;strong&gt;BSI TR-03183-2 v2.1.0&lt;/strong&gt; has become the de-facto technical bar for machine-readable SBOMs in Europe.&lt;/p&gt;

&lt;p&gt;If you run a raw SBOM exported by Syft, Trivy, Maven, or Yocto against BSI TR-03183-2 v2.1.0, it almost always fails immediately — even if it passed older NTIA checks.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 6 Most Common BSI TR-03183-2 v2.1.0 Failures
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Schema version too old (&lt;code&gt;BSI-FMT-001&lt;/code&gt;):&lt;/strong&gt; BSI v2.1.0 requires &lt;strong&gt;CycloneDX &amp;gt;= 1.6&lt;/strong&gt; or &lt;strong&gt;SPDX &amp;gt;= 3.0.1&lt;/strong&gt;. Legacy CycloneDX 1.4/1.5 (JSON or XML) and SPDX 2.3 / &lt;code&gt;.spdx&lt;/code&gt; Tag-Value files fail outright.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Missing 128-hex &lt;code&gt;SHA-512&lt;/code&gt; hashes (&lt;code&gt;BSI-COMP-010&lt;/code&gt;):&lt;/strong&gt; SHA-1 and MD5 are rejected, and SHA-256 alone no longer satisfies strict BSI §5.3.2 deployable component integrity checks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Missing actual deployed filename (&lt;code&gt;BSI-COMP-014&lt;/code&gt;):&lt;/strong&gt; Components must declare &lt;code&gt;bsi:component:filename&lt;/code&gt; along with &lt;code&gt;executable&lt;/code&gt;, &lt;code&gt;archive&lt;/code&gt;, and &lt;code&gt;structured&lt;/code&gt; classification properties (&lt;code&gt;BSI-COMP-015&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Missing deployable distribution URI (&lt;code&gt;BSI-COMP-012&lt;/code&gt;) &amp;amp; supplier contact (&lt;code&gt;BSI-COMP-001&lt;/code&gt;):&lt;/strong&gt; Every component needs an authoritative supplier identity/URL and distribution locator.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Broken dependency graphs (&lt;code&gt;BSI-COMP-007&lt;/code&gt; / &lt;code&gt;BSI-COMP-016&lt;/code&gt;):&lt;/strong&gt; Duplicate &lt;code&gt;bom-ref&lt;/code&gt; IDs and orphaned &lt;code&gt;dependencies[].dependsOn&lt;/code&gt; references break deterministic VEX resolution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unmitigated CISA KEVs (&lt;code&gt;CRA-004&lt;/code&gt;):&lt;/strong&gt; Actively exploited vulnerabilities in shipped components need documented OpenVEX / CSAF 2.0 &lt;code&gt;not_affected&lt;/code&gt; justifications or patching before release.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Step 1: Audit Your SBOM Offline (Zero Cloud Uploads)
&lt;/h2&gt;

&lt;p&gt;For regulated embedded, OT, defense, and MedTech teams, uploading internal firmware inventories to cloud compliance SaaS isn't acceptable. You can run all 26 BSI TR-03183-2 v2.1.0 rules locally via CLI (or inside the edge-locked &lt;code&gt;CSP connect-src 'none'&lt;/code&gt; browser workbench at &lt;a href="https://annexseal.pages.dev/" rel="noopener noreferrer"&gt;annexseal.pages.dev&lt;/a&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Validate CycloneDX JSON/XML or SPDX JSON/.spdx and emit SARIF 2.1.0 for GitHub Code Scanning&lt;/span&gt;
npx annexseal validate sbom.json \
  --profile bsi-tr-03183-2-v2.1 \
  --format sarif -o cra.sarif \
  --fail-on-error
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Shipping to the US medical market as well? Switch profiles in one flag:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx annexseal validate medtech-sbom.json --profile us-fda-510k --fail-on-error
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: Catch Version Drift, New KEVs &amp;amp; Copyleft Escalations on Every PR
&lt;/h2&gt;

&lt;p&gt;Before merging a release branch, diff your previous release SBOM against the candidate build completely offline:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx annexseal diff release-v1.json release-v2.json \
  --format markdown \
  --fail-on-new-kev \
  --fail-on-copyleft
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This flags added/removed components, upgraded/downgraded versions, newly introduced hits from the bundled 1,808-entry offline CISA KEV catalog, and silent license escalations (such as a dependency switching from &lt;code&gt;MIT&lt;/code&gt; to &lt;code&gt;AGPL-3.0-only&lt;/code&gt; or &lt;code&gt;SSPL-1.0&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;You can also enforce a standalone offline copyleft gate:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx annexseal licenses sbom.json --block-strong-copyleft --block-source-available
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 3: Check Module A Self-Assessment vs. Notified Body (CRA Annex III / IV)
&lt;/h2&gt;

&lt;p&gt;Not sure whether your product requires third-party Notified Body conformity assessment under CRA Art. 32?&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx annexseal classify --category annex-iii-c2-firewalls-ids
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 4: Deterministically Auto-Heal Legacy SBOMs With Real Lockfile &amp;amp; Binary &lt;code&gt;SHA-512&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Standard lockfiles like &lt;code&gt;package-lock.json&lt;/code&gt;, &lt;code&gt;pnpm-lock.yaml&lt;/code&gt;, &lt;code&gt;yarn.lock&lt;/code&gt;, and hashed &lt;code&gt;requirements.txt&lt;/code&gt; already contain real SRI &lt;code&gt;sha512&lt;/code&gt; integrity hashes — you don't need to query external registries to satisfy BSI §5.3.2.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Auto-upgrade CDX 1.4/1.5/XML or SPDX 2.3/.spdx -&amp;gt; strict BSI v2.1.0 CycloneDX 1.6&lt;/span&gt;
&lt;span class="c"&gt;# (append --demo to preview score uplift without a license key)&lt;/span&gt;
npx annexseal heal legacy-sbom.json \
  --lockfile pnpm-lock.yaml \
  --artifacts-dir ./dist \
  --supplier &lt;span class="s2"&gt;"Your Company GmbH"&lt;/span&gt; \
  --email psirt@example.eu \
  -o sbom-bsi-1.6.json
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And if an enterprise OEM customer demands &lt;strong&gt;SPDX 3.0.1 JSON-LD&lt;/strong&gt; instead of CycloneDX 1.6:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx annexseal convert sbom-bsi-1.6.json --to spdx-3.0.1 -o sbom-spdx-3.0.1.jsonld
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 5: Seal a Tamper-Evident 10-Year CRA Annex VII Archive
&lt;/h2&gt;

&lt;p&gt;CRA Art. 13(13) requires retaining Annex VII technical documentation for 10 years (or the full support period). AnnexSeal packages both SBOM formats, OpenVEX, CSAF 2.0, SARIF 2.1.0, an Auditor HTML/PDF report, and the EU Declaration of Conformity (Annex V) into a reproducible &lt;code&gt;.zip&lt;/code&gt; signed with &lt;code&gt;Ed25519&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx annexseal pack sbom-bsi-1.6.json \
  --manufacturer &lt;span class="s2"&gt;"Your Company GmbH"&lt;/span&gt; \
  --address &lt;span class="s2"&gt;"Berlin, Germany"&lt;/span&gt; \
  --email psirt@example.eu \
  -o release-annex-vii.zip

&lt;span class="c"&gt;# Any auditor or customer can verify zero tampering offline for free:&lt;/span&gt;
npx annexseal verify release-annex-vii.zip
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Try It Locally
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Egress Browser Workbench:&lt;/strong&gt; &lt;a href="https://annexseal.pages.dev/" rel="noopener noreferrer"&gt;https://annexseal.pages.dev/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub &amp;amp; MIT Core:&lt;/strong&gt; &lt;a href="https://github.com/AnnexSeal/annexseal" rel="noopener noreferrer"&gt;https://github.com/AnnexSeal/annexseal&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;BSI TR-03183-2 Rule Reference (all 26 rules):&lt;/strong&gt; &lt;a href="https://annexseal.pages.dev/rules/" rel="noopener noreferrer"&gt;https://annexseal.pages.dev/rules/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devops</category>
      <category>cybersecurity</category>
      <category>devsecops</category>
      <category>appsec</category>
    </item>
  </channel>
</rss>
