<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Security | Haksung</title><link>https://haksungjang.github.io/en/tags/security/</link><description>Haksung Jang — Open Source Program Manager at SK telecom</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 09 Aug 2026 17:03:59 +0900</lastBuildDate><atom:link href="https://haksungjang.github.io/en/tags/security/index.xml" rel="self" type="application/rss+xml"/><item><title>Model and Container Scanners (Lab700x, Trivy, Syft)</title><link>https://haksungjang.github.io/en/docs/ai-sbom_guide/5-tools/3-scanners/</link><pubDate>Sun, 09 Aug 2026 17:03:59 +0900</pubDate><guid>https://haksungjang.github.io/en/docs/ai-sbom_guide/5-tools/3-scanners/</guid><description>Introduces the key features and usage of security scanners that analyze AI model binaries, inference servers, and AI packages.</description><content:encoded>&lt;![CDATA[<p>This page introduces analysis and identification tools that complement AI SBOM generation. Where
the generation tools (OWASP AIBOM Generator, cdxgen) record &ldquo;what is in it,&rdquo; these tools look at
&ldquo;whether it is safe&rdquo; and &ldquo;what version it is.&rdquo; The commands and features below are organized based
on each tool&rsquo;s official documentation (the tools actually run in this guide are<a href="/en/docs/ai-sbom_guide/5-tools/1-aibom-generator/">OWASP AIBOM Generator</a> and<a href="/en/docs/ai-sbom_guide/5-tools/2-cdxgen/">cdxgen</a>).</p><h2 id="lab700x-ai-sbom-scanner--static-analysis-of-model-binaries">Lab700x AI SBOM Scanner — Static Analysis of Model Binaries</h2><p>A tool that statically analyzes AI model files themselves to extract information. It performs deep
introspection on model binaries such as<code>.safetensors</code>,<code>.pt</code> (PyTorch), and<code>.pkl</code> (Pickle) without
executing them.</p><ul><li><strong>Key features</strong>: Because it examines internal structure without executing the model, it can
detect malicious code hidden in a model file (such as Pickle injection), vulnerabilities, or
license violations before deployment.</li><li><strong>Role in AI SBOM</strong>: Used to inspect externally sourced models at the intake gate. Combined with
the inbound metadata enforcement of<a href="/en/docs/ai-sbom_guide/2-ai-extension/1-license-obligations/">3.5 License Obligations</a>, it lets metadata
verification and binary safety checking be performed together.</li></ul><p>Pickle-format models carry a significant supply-chain risk because arbitrary code can execute during
deserialization. Inspecting the model without executing it is the core of this tool.</p><h2 id="trivy--scanning-llm-inference-server-containers">Trivy — Scanning LLM Inference Server Containers</h2><p>An open source scanner from Aqua Security that checks vulnerabilities in container images and
filesystems. It recently added awareness of AI model infrastructure.</p><ul><li><strong>Key features</strong>: Scans LLM inference server containers such as Ollama and LocalAI to collect the
open source libraries they contain and their container vulnerabilities.</li><li><strong>Usage</strong>:</li></ul><div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># Scan a container image (vulnerabilities)</span></span></span><span style="display:flex;"><span>trivy image ollama/ollama:latest</span></span><span style="display:flex;"><span/></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># Generate an SBOM (CycloneDX)</span></span></span><span style="display:flex;"><span>trivy image --format cyclonedx --output sbom.json ollama/ollama:latest</span></span></code></pre></div><p>Used in environments that deploy AI models as containers, to leave a record of the inference
server&rsquo;s vulnerabilities and components as an SBOM.</p><h2 id="syft--identifying-ai-packages-and-virtual-environments">Syft — Identifying AI Packages and Virtual Environments</h2><p>An SBOM generator from Anchore that scans containers, filesystems, and virtual environments.</p><ul><li><strong>Key features</strong>: Analyzes Python virtual environments to collect the exact versions of packages
used to run AI, such as PyTorch and Transformers. Outputs in SPDX and CycloneDX format.</li><li><strong>Usage</strong>:</li></ul><div class="highlight"><pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># Scan a directory and output CycloneDX</span></span></span><span style="display:flex;"><span>syft scan dir:. -o cyclonedx-json<span style="color:#ce5c00;font-weight:bold">=</span>sbom.json</span></span><span style="display:flex;"><span/></span><span style="display:flex;"><span><span style="color:#8f5902;font-style:italic"># Scan a container image</span></span></span><span style="display:flex;"><span>syft scan registry:python:3.11-slim -o spdx-json</span></span></code></pre></div><p>Its role overlaps with cdxgen&rsquo;s, so an organization already using the Anchore toolset (Syft, Grype)
would naturally generate the dependency SBOM of an AI application with Syft and check vulnerabilities
with Grype.</p><h2 id="recommended-tool-combination">Recommended Tool Combination</h2><p>No single tool solves everything. In practice, combine tools by dividing up their roles.</p><table><thead><tr><th>Purpose</th><th>Tool</th></tr></thead><tbody><tr><td>Model metadata AIBOM generation</td><td>OWASP AIBOM Generator</td></tr><tr><td>Dependency SBOM generation</td><td>cdxgen, Syft</td></tr><tr><td>Model binary safety inspection</td><td>Lab700x AI SBOM Scanner</td></tr><tr><td>Inference server / container vulnerabilities</td><td>Trivy</td></tr><tr><td>SBOM storage and vulnerability monitoring</td><td><a href="https://openchain-project.github.io/OpenChain-KWG/guide/tools/7-dependency-track/">Dependency-Track</a></td></tr></tbody></table><h2 id="see-also">See Also</h2><ul><li>AI SBOM generation and management procedure:<a href="/en/docs/ai-sbom_guide/2-ai-extension/3-ai-sbom/">3.9 AI SBOM</a></li><li>Execution results of generation tools:<a href="/en/docs/ai-sbom_guide/5-tools/1-aibom-generator/">OWASP AIBOM Generator</a>,<a href="/en/docs/ai-sbom_guide/5-tools/2-cdxgen/">cdxgen</a></li></ul>
]]></content:encoded></item></channel></rss>