Update templates/index.html
Browse files- templates/index.html +15 -16
templates/index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
<style>
|
| 8 |
body {
|
| 9 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
@@ -253,10 +253,10 @@
|
|
| 253 |
<div class="container">
|
| 254 |
<div class="header">
|
| 255 |
<div class="header-left">
|
| 256 |
-
<a href="https://
|
| 257 |
-
<img src="https://huggingface.co/spaces/
|
| 258 |
</a>
|
| 259 |
-
<h1>
|
| 260 |
</div>
|
| 261 |
</div>
|
| 262 |
</div>
|
|
@@ -264,9 +264,9 @@
|
|
| 264 |
<div class="container">
|
| 265 |
<!-- Form Section (Moved to top) -->
|
| 266 |
<div class="form-section">
|
| 267 |
-
<h2>Generate
|
| 268 |
<p>
|
| 269 |
-
Enter a model on Hugging Face, in a format <code><organization-or-username>/<model-name></code> (easy copy button), or model's URL, to generate
|
| 270 |
</p>
|
| 271 |
<form id="sbom-form" action="/generate" method="post" style="display: flex; flex-direction: row; align-items: center; width: 100%;">
|
| 272 |
<input type="text" name="model_id" placeholder="e.g., openai/whisper-tiny" required style="flex: 1; max-width: 70%; margin-right: 10px;">
|
|
@@ -277,7 +277,7 @@
|
|
| 277 |
data-callback="onSubmit"
|
| 278 |
data-action="submit"
|
| 279 |
id="generate-button"
|
| 280 |
-
type="button">Generate
|
| 281 |
</form>
|
| 282 |
<div style="font-size: 12px; color: #777; margin-top: 10px;">
|
| 283 |
This site is protected by reCAPTCHA and the Google
|
|
@@ -289,13 +289,13 @@
|
|
| 289 |
<!-- Tool Description Section -->
|
| 290 |
<div class="content-section">
|
| 291 |
<h2>About This Tool</h2>
|
| 292 |
-
<p>This open-source tool
|
| 293 |
</div>
|
| 294 |
|
| 295 |
<!-- Introduction Section -->
|
| 296 |
<div class="content-section">
|
| 297 |
-
<h2>Understanding
|
| 298 |
-
<p>An
|
| 299 |
</div>
|
| 300 |
|
| 301 |
<!-- Support Section -->
|
|
@@ -310,25 +310,25 @@
|
|
| 310 |
<!-- Social Section -->
|
| 311 |
<div class="content-section" style="text-align: center;">
|
| 312 |
<h3>🗣️ Help Us Spread the Word</h3>
|
| 313 |
-
<p>If you find this tool useful, share it with your network! <a href="https://
|
| 314 |
-
<a href="https://www.linkedin.com/sharing/share-offsite/?url=https
|
| 315 |
<button style="background-color: #0077b5;">🔗 Share on LinkedIn</button>
|
| 316 |
</a>
|
| 317 |
<p style="margin-top: 10px; font-size: 14px;">
|
| 318 |
Follow us for updates:
|
| 319 |
-
<a href="https://www.linkedin.com/company/
|
| 320 |
</p>
|
| 321 |
</div>
|
| 322 |
|
| 323 |
<!-- Info Section -->
|
| 324 |
<div class="content-section" style="text-align: center;">
|
| 325 |
<!-- Display the SBOM count -->
|
| 326 |
-
<div class="sbom-count">🚀 Generated
|
| 327 |
</div>
|
| 328 |
|
| 329 |
<!-- Footer -->
|
| 330 |
<div class="footer">
|
| 331 |
-
<p>© 2025
|
| 332 |
</div>
|
| 333 |
</div>
|
| 334 |
|
|
@@ -363,4 +363,3 @@
|
|
| 363 |
</script>
|
| 364 |
</body>
|
| 365 |
</html>
|
| 366 |
-
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>OWASP AIBOM Generator</title>
|
| 7 |
<style>
|
| 8 |
body {
|
| 9 |
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
|
|
| 253 |
<div class="container">
|
| 254 |
<div class="header">
|
| 255 |
<div class="header-left">
|
| 256 |
+
<a href="https://genai.owasp.org/" target="_blank">
|
| 257 |
+
<img src="https://huggingface.co/spaces/e2hln/OWASP-AIBOM-Generator/resolve/main/templates/images/OWASP_GenAI_Security_Project-logo.png" alt="OWASP GenAI Security Project logo">
|
| 258 |
</a>
|
| 259 |
+
<h1>OWASP AIBOM Generator</h1>
|
| 260 |
</div>
|
| 261 |
</div>
|
| 262 |
</div>
|
|
|
|
| 264 |
<div class="container">
|
| 265 |
<!-- Form Section (Moved to top) -->
|
| 266 |
<div class="form-section">
|
| 267 |
+
<h2>Generate AIBOM</h2>
|
| 268 |
<p>
|
| 269 |
+
Enter a model on Hugging Face, in a format <code><organization-or-username>/<model-name></code> (easy copy button), or model's URL, to generate AIBOM in CycloneDX format. You can browse available models in the <a href="https://huggingface.co/models" target="_blank" rel="noopener noreferrer">Hugging Face models repository</a>.
|
| 270 |
</p>
|
| 271 |
<form id="sbom-form" action="/generate" method="post" style="display: flex; flex-direction: row; align-items: center; width: 100%;">
|
| 272 |
<input type="text" name="model_id" placeholder="e.g., openai/whisper-tiny" required style="flex: 1; max-width: 70%; margin-right: 10px;">
|
|
|
|
| 277 |
data-callback="onSubmit"
|
| 278 |
data-action="submit"
|
| 279 |
id="generate-button"
|
| 280 |
+
type="button">Generate AIBOM</button>
|
| 281 |
</form>
|
| 282 |
<div style="font-size: 12px; color: #777; margin-top: 10px;">
|
| 283 |
This site is protected by reCAPTCHA and the Google
|
|
|
|
| 289 |
<!-- Tool Description Section -->
|
| 290 |
<div class="content-section">
|
| 291 |
<h2>About This Tool</h2>
|
| 292 |
+
<p>This open-source tool generates AIBOM (AI Bill of Materials) for models hosted on Hugging Face. It automatically extracts and formats key information about AI models into a standardized, machine-readable SBOM (Software Bill of Materials) using the CycloneDX JSON format. Because metadata quality varies across models and much of the information is unstructured, the tool analyzes what is available, organizes it into a consistent structure, and provides an AIBOM completeness score that evaluates how well the model is documented. This helps users quickly understand documentation gaps and supports transparency, security, and compliance. The tool is also listed on <a href="hhttps://cyclonedx.org/tool-center/" target="_blank" rel="noopener noreferrer">CycloneDX Tool Center</a>.</p>
|
| 293 |
</div>
|
| 294 |
|
| 295 |
<!-- Introduction Section -->
|
| 296 |
<div class="content-section">
|
| 297 |
+
<h2>Understanding AIBOMs</h2>
|
| 298 |
+
<p>An AIBOM (Artificial Intelligence Bill of Materials, also known as AI SBOM, AI/ML-BOM or SBOM for AI) is a detailed, structured inventory that lists the components and dependencies involved in building and operating an AI system—such as pre-trained models, datasets, libraries, and configuration parameters. Much like a traditional SBOM for software, an AIBOM brings transparency to what goes into an AI system, enabling organizations to assess security, compliance, and ethical risks. It is essential for managing AI supply chain risks, supporting regulatory requirements, ensuring model provenance, and enabling incident response and audits. As AI systems grow more complex and widely adopted, AIBOMs become critical for maintaining trust, accountability, and control over how AI technologies are developed, integrated, and deployed.</p>
|
| 299 |
</div>
|
| 300 |
|
| 301 |
<!-- Support Section -->
|
|
|
|
| 310 |
<!-- Social Section -->
|
| 311 |
<div class="content-section" style="text-align: center;">
|
| 312 |
<h3>🗣️ Help Us Spread the Word</h3>
|
| 313 |
+
<p>If you find this tool useful, share it with your network! <a href="https://genai.owasp.org" target="_blank" rel="noopener noreferrer">https://genai.owasp.org</a></p>
|
| 314 |
+
<a href="https://www.linkedin.com/sharing/share-offsite/?url=https://huggingface.co/spaces/GenAISecurityProject/OWASP-AIBOM-Generator" target="_blank" rel="noopener noreferrer" style="text-decoration: none;">
|
| 315 |
<button style="background-color: #0077b5;">🔗 Share on LinkedIn</button>
|
| 316 |
</a>
|
| 317 |
<p style="margin-top: 10px; font-size: 14px;">
|
| 318 |
Follow us for updates:
|
| 319 |
+
<a href="https://www.linkedin.com/company/owasp-top-10-for-large-language-model-applications/" target="_blank" rel="noopener noreferrer">@OWASP GenAI Security Project</a>
|
| 320 |
</p>
|
| 321 |
</div>
|
| 322 |
|
| 323 |
<!-- Info Section -->
|
| 324 |
<div class="content-section" style="text-align: center;">
|
| 325 |
<!-- Display the SBOM count -->
|
| 326 |
+
<div class="sbom-count">🚀 Generated AIBOMs using this tool: <strong>{{ sbom_count if sbom_count else 'N/A' }}</strong></div>
|
| 327 |
</div>
|
| 328 |
|
| 329 |
<!-- Footer -->
|
| 330 |
<div class="footer">
|
| 331 |
+
<p>© 2025 OWASP AIBOM Generator | Powered by OWASP GenAI Security Project</p>
|
| 332 |
</div>
|
| 333 |
</div>
|
| 334 |
|
|
|
|
| 363 |
</script>
|
| 364 |
</body>
|
| 365 |
</html>
|
|
|