Spaces:
Running
Running
Download index.html from ceshg/anycoder-a7dbde80: direct link, hf CLI and curl.
- Browser
- Download file 39.1 kB
-
https://huggingface.co/spaces/ceshg/anycoder-a7dbde80/resolve/main/index.html
- Command line
-
hf download hf://spaces/ceshg/anycoder-a7dbde80/index.html
-
curl -L -o index.html https://huggingface.co/spaces/ceshg/anycoder-a7dbde80/resolve/main/index.html
39.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>OpenClaw Security Hardening Runbook</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap" rel="stylesheet"> | |
| <style> | |
| :root { | |
| --bg-primary: #0a0e14; | |
| --bg-secondary: #0f1419; | |
| --bg-tertiary: #151b23; | |
| --bg-card: #1a222d; | |
| --border: #2d3a4a; | |
| --text-primary: #e6edf3; | |
| --text-secondary: #8b949e; | |
| --text-muted: #6e7681; | |
| --accent-cyan: #00d4aa; | |
| --accent-orange: #ff7b4a; | |
| --accent-red: #ff6b6b; | |
| --accent-yellow: #ffc857; | |
| --accent-blue: #4da6ff; | |
| --accent-purple: #a78bfa; | |
| --glow-cyan: rgba(0, 212, 170, 0.15); | |
| --glow-orange: rgba(255, 123, 74, 0.15); | |
| } | |
| * { | |
| box-sizing: border-box; | |
| } | |
| html { | |
| scroll-behavior: smooth; | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| html { | |
| scroll-behavior: auto; | |
| } | |
| *, *::before, *::after { | |
| animation-duration: 0.01ms ; | |
| animation-iteration-count: 1 ; | |
| transition-duration: 0.01ms ; | |
| } | |
| } | |
| body { | |
| font-family: 'Space Grotesk', sans-serif; | |
| background: var(--bg-primary); | |
| color: var(--text-primary); | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| } | |
| .font-mono { | |
| font-family: 'JetBrains Mono', monospace; | |
| } | |
| /* Background effects */ | |
| .bg-grid { | |
| background-image: | |
| linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px), | |
| linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px); | |
| background-size: 50px 50px; | |
| } | |
| .bg-gradient-radial { | |
| background: radial-gradient(ellipse at top, rgba(0, 212, 170, 0.08) 0%, transparent 50%), | |
| radial-gradient(ellipse at bottom right, rgba(255, 123, 74, 0.05) 0%, transparent 40%); | |
| } | |
| /* Scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: var(--bg-secondary); | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: var(--border); | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: var(--text-muted); | |
| } | |
| /* Navigation */ | |
| .nav-link { | |
| position: relative; | |
| padding: 0.75rem 1rem; | |
| border-radius: 6px; | |
| transition: all 0.2s ease; | |
| border-left: 2px solid transparent; | |
| } | |
| .nav-link:hover { | |
| background: rgba(0, 212, 170, 0.08); | |
| border-left-color: var(--accent-cyan); | |
| } | |
| .nav-link.active { | |
| background: rgba(0, 212, 170, 0.12); | |
| border-left-color: var(--accent-cyan); | |
| color: var(--accent-cyan); | |
| } | |
| /* Cards */ | |
| .card { | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| border-radius: 12px; | |
| transition: all 0.3s ease; | |
| } | |
| .card:hover { | |
| border-color: rgba(0, 212, 170, 0.3); | |
| box-shadow: 0 0 30px rgba(0, 212, 170, 0.05); | |
| } | |
| /* Code blocks */ | |
| .code-block { | |
| background: var(--bg-secondary); | |
| border: 1px solid var(--border); | |
| border-radius: 8px; | |
| overflow: hidden; | |
| position: relative; | |
| } | |
| .code-header { | |
| background: var(--bg-tertiary); | |
| padding: 0.5rem 1rem; | |
| border-bottom: 1px solid var(--border); | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .code-content { | |
| padding: 1rem; | |
| overflow-x: auto; | |
| font-size: 0.85rem; | |
| line-height: 1.6; | |
| } | |
| .code-content code { | |
| font-family: 'JetBrains Mono', monospace; | |
| } | |
| /* Syntax highlighting */ | |
| .token-comment { color: var(--text-muted); } | |
| .token-keyword { color: var(--accent-purple); } | |
| .token-string { color: var(--accent-cyan); } | |
| .token-number { color: var(--accent-orange); } | |
| .token-function { color: var(--accent-blue); } | |
| .token-operator { color: var(--accent-orange); } | |
| .token-property { color: var(--accent-cyan); } | |
| /* Buttons */ | |
| .btn { | |
| padding: 0.5rem 1rem; | |
| border-radius: 6px; | |
| font-weight: 500; | |
| transition: all 0.2s ease; | |
| cursor: pointer; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| } | |
| .btn-primary { | |
| background: var(--accent-cyan); | |
| color: var(--bg-primary); | |
| } | |
| .btn-primary:hover { | |
| background: #00eabb; | |
| box-shadow: 0 0 20px rgba(0, 212, 170, 0.3); | |
| } | |
| .btn-secondary { | |
| background: transparent; | |
| border: 1px solid var(--border); | |
| color: var(--text-primary); | |
| } | |
| .btn-secondary:hover { | |
| border-color: var(--accent-cyan); | |
| color: var(--accent-cyan); | |
| } | |
| /* Status badges */ | |
| .badge { | |
| padding: 0.25rem 0.75rem; | |
| border-radius: 20px; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| } | |
| .badge-success { | |
| background: rgba(0, 212, 170, 0.15); | |
| color: var(--accent-cyan); | |
| } | |
| .badge-warning { | |
| background: rgba(255, 200, 87, 0.15); | |
| color: var(--accent-yellow); | |
| } | |
| .badge-danger { | |
| background: rgba(255, 107, 107, 0.15); | |
| color: var(--accent-red); | |
| } | |
| .badge-info { | |
| background: rgba(77, 166, 255, 0.15); | |
| color: var(--accent-blue); | |
| } | |
| /* Checklist */ | |
| .checklist-item { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 0.75rem; | |
| padding: 0.75rem; | |
| border-radius: 6px; | |
| transition: background 0.2s ease; | |
| } | |
| .checklist-item:hover { | |
| background: rgba(0, 212, 170, 0.05); | |
| } | |
| .checkbox-custom { | |
| width: 20px; | |
| height: 20px; | |
| min-width: 20px; | |
| border: 2px solid var(--border); | |
| border-radius: 4px; | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: all 0.2s ease; | |
| } | |
| .checkbox-custom.checked { | |
| background: var(--accent-cyan); | |
| border-color: var(--accent-cyan); | |
| } | |
| .checkbox-custom svg { | |
| opacity: 0; | |
| transform: scale(0); | |
| transition: all 0.2s ease; | |
| } | |
| .checkbox-custom.checked svg { | |
| opacity: 1; | |
| transform: scale(1); | |
| } | |
| /* Collapsible sections */ | |
| .collapsible-header { | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 1rem 1.5rem; | |
| background: var(--bg-tertiary); | |
| border: 1px solid var(--border); | |
| border-radius: 8px; | |
| transition: all 0.2s ease; | |
| } | |
| .collapsible-header:hover { | |
| border-color: rgba(0, 212, 170, 0.3); | |
| } | |
| .collapsible-header.active { | |
| border-bottom-left-radius: 0; | |
| border-bottom-right-radius: 0; | |
| border-bottom-color: transparent; | |
| } | |
| .collapsible-content { | |
| max-height: 0; | |
| overflow: hidden; | |
| transition: max-height 0.3s ease; | |
| border: 1px solid var(--border); | |
| border-top: none; | |
| border-bottom-left-radius: 8px; | |
| border-bottom-right-radius: 8px; | |
| } | |
| .collapsible-content.open { | |
| max-height: 2000px; | |
| } | |
| .chevron-icon { | |
| transition: transform 0.2s ease; | |
| } | |
| .collapsible-header.active .chevron-icon { | |
| transform: rotate(180deg); | |
| } | |
| /* Table */ | |
| .data-table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| } | |
| .data-table th, | |
| .data-table td { | |
| padding: 0.75rem 1rem; | |
| text-align: left; | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .data-table th { | |
| background: var(--bg-tertiary); | |
| font-weight: 600; | |
| font-size: 0.85rem; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| color: var(--text-secondary); | |
| } | |
| .data-table tr:hover td { | |
| background: rgba(0, 212, 170, 0.03); | |
| } | |
| /* Tabs */ | |
| .tab-container { | |
| border-bottom: 1px solid var(--border); | |
| display: flex; | |
| gap: 0; | |
| overflow-x: auto; | |
| } | |
| .tab-button { | |
| padding: 0.75rem 1.5rem; | |
| background: transparent; | |
| border: none; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| position: relative; | |
| font-weight: 500; | |
| transition: color 0.2s ease; | |
| white-space: nowrap; | |
| } | |
| .tab-button:hover { | |
| color: var(--text-primary); | |
| } | |
| .tab-button.active { | |
| color: var(--accent-cyan); | |
| } | |
| .tab-button::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -1px; | |
| left: 0; | |
| right: 0; | |
| height: 2px; | |
| background: var(--accent-cyan); | |
| transform: scaleX(0); | |
| transition: transform 0.2s ease; | |
| } | |
| .tab-button.active::after { | |
| transform: scaleX(1); | |
| } | |
| .tab-panel { | |
| display: none; | |
| padding: 1.5rem 0; | |
| } | |
| .tab-panel.active { | |
| display: block; | |
| } | |
| /* Progress indicator */ | |
| .progress-bar { | |
| height: 4px; | |
| background: var(--bg-tertiary); | |
| border-radius: 2px; | |
| overflow: hidden; | |
| } | |
| .progress-fill { | |
| height: 100%; | |
| background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue)); | |
| border-radius: 2px; | |
| transition: width 0.5s ease; | |
| } | |
| /* Animations */ | |
| @keyframes fadeInUp { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { | |
| opacity: 1; | |
| } | |
| 50% { | |
| opacity: 0.5; | |
| } | |
| } | |
| @keyframes slideIn { | |
| from { | |
| opacity: 0; | |
| transform: translateX(-20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateX(0); | |
| } | |
| } | |
| .animate-fade-in { | |
| animation: fadeInUp 0.5s ease forwards; | |
| } | |
| .animate-slide-in { | |
| animation: slideIn 0.3s ease forwards; | |
| } | |
| .stagger-1 { animation-delay: 0.1s; } | |
| .stagger-2 { animation-delay: 0.2s; } | |
| .stagger-3 { animation-delay: 0.3s; } | |
| .stagger-4 { animation-delay: 0.4s; } | |
| .stagger-5 { animation-delay: 0.5s; } | |
| /* Alert boxes */ | |
| .alert { | |
| padding: 1rem 1.5rem; | |
| border-radius: 8px; | |
| border-left: 4px solid; | |
| margin: 1rem 0; | |
| } | |
| .alert-warning { | |
| background: rgba(255, 200, 87, 0.1); | |
| border-left-color: var(--accent-yellow); | |
| } | |
| .alert-danger { | |
| background: rgba(255, 107, 107, 0.1); | |
| border-left-color: var(--accent-red); | |
| } | |
| .alert-info { | |
| background: rgba(77, 166, 255, 0.1); | |
| border-left-color: var(--accent-blue); | |
| } | |
| .alert-success { | |
| background: rgba(0, 212, 170, 0.1); | |
| border-left-color: var(--accent-cyan); | |
| } | |
| /* Mobile nav toggle */ | |
| .mobile-nav-toggle { | |
| display: none; | |
| } | |
| @media (max-width: 1024px) { | |
| .mobile-nav-toggle { | |
| display: flex; | |
| position: fixed; | |
| bottom: 1.5rem; | |
| right: 1.5rem; | |
| width: 56px; | |
| height: 56px; | |
| background: var(--accent-cyan); | |
| border-radius: 50%; | |
| align-items: center; | |
| justify-content: center; | |
| box-shadow: 0 4px 20px rgba(0, 212, 170, 0.4); | |
| z-index: 1000; | |
| cursor: pointer; | |
| border: none; | |
| } | |
| .sidebar { | |
| position: fixed; | |
| left: -100%; | |
| top: 0; | |
| height: 100vh; | |
| z-index: 999; | |
| transition: left 0.3s ease; | |
| width: 280px; | |
| } | |
| .sidebar.open { | |
| left: 0; | |
| } | |
| .sidebar-overlay { | |
| display: none; | |
| position: fixed; | |
| inset: 0; | |
| background: rgba(0, 0, 0, 0.5); | |
| z-index: 998; | |
| } | |
| .sidebar-overlay.open { | |
| display: block; | |
| } | |
| } | |
| /* Focus states */ | |
| .btn:focus-visible, | |
| .nav-link:focus-visible, | |
| .tab-button:focus-visible, | |
| .collapsible-header:focus-visible { | |
| outline: 2px solid var(--accent-cyan); | |
| outline-offset: 2px; | |
| } | |
| /* Tooltip */ | |
| .tooltip { | |
| position: relative; | |
| } | |
| .tooltip::after { | |
| content: attr(data-tooltip); | |
| position: absolute; | |
| bottom: 100%; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| padding: 0.5rem 0.75rem; | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| border-radius: 6px; | |
| font-size: 0.75rem; | |
| white-space: nowrap; | |
| opacity: 0; | |
| visibility: hidden; | |
| transition: all 0.2s ease; | |
| z-index: 100; | |
| } | |
| .tooltip:hover::after { | |
| opacity: 1; | |
| visibility: visible; | |
| bottom: calc(100% + 8px); | |
| } | |
| /* Copy notification */ | |
| .copy-notification { | |
| position: fixed; | |
| bottom: 2rem; | |
| left: 50%; | |
| transform: translateX(-50%) translateY(100px); | |
| background: var(--accent-cyan); | |
| color: var(--bg-primary); | |
| padding: 0.75rem 1.5rem; | |
| border-radius: 8px; | |
| font-weight: 500; | |
| opacity: 0; | |
| transition: all 0.3s ease; | |
| z-index: 1001; | |
| } | |
| .copy-notification.show { | |
| transform: translateX(-50%) translateY(0); | |
| opacity: 1; | |
| } | |
| /* STRIDE table special styling */ | |
| .stride-row { | |
| transition: background 0.2s ease; | |
| } | |
| .stride-row:hover { | |
| background: rgba(0, 212, 170, 0.05); | |
| } | |
| /* Terminal style */ | |
| .terminal { | |
| background: #000; | |
| border-radius: 8px; | |
| overflow: hidden; | |
| } | |
| .terminal-header { | |
| background: #1a1a1a; | |
| padding: 0.5rem 1rem; | |
| display: flex; | |
| gap: 0.5rem; | |
| } | |
| .terminal-dot { | |
| width: 12px; | |
| height: 12px; | |
| border-radius: 50%; | |
| } | |
| .terminal-body { | |
| padding: 1rem; | |
| font-family: 'JetBrains Mono', monospace; | |
| font-size: 0.85rem; | |
| line-height: 1.6; | |
| } | |
| .terminal-prompt { | |
| color: var(--accent-cyan); | |
| } | |
| .terminal-command { | |
| color: var(--text-primary); | |
| } | |
| .terminal-output { | |
| color: var(--text-secondary); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-grid bg-gradient-radial"> | |
| <!-- Header --> | |
| <header class="fixed top-0 left-0 right-0 z-50 bg-opacity-90 backdrop-blur-md border-b border-[var(--border)]" style="background: rgba(10, 14, 20, 0.9);"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex items-center justify-between h-16"> | |
| <div class="flex items-center gap-3"> | |
| <div class="w-10 h-10 rounded-lg bg-gradient-to-br from-[var(--accent-cyan)] to-[var(--accent-blue)] flex items-center justify-center"> | |
| <svg class="w-6 h-6 text-[var(--bg-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z"/> | |
| </svg> | |
| </div> | |
| <div> | |
| <h1 class="text-lg font-bold">OpenClaw Security Runbook</h1> | |
| <p class="text-xs text-[var(--text-muted)]">Enterprise-Grade DevSecOps Hardening Guide</p> | |
| </div> | |
| </div> | |
| <div class="flex items-center gap-4"> | |
| <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" rel="noopener" class="text-sm text-[var(--text-secondary)] hover:text-[var(--accent-cyan)] transition-colors"> | |
| Built with anycoder | |
| </a> | |
| <span class="badge badge-warning">v2026.1</span> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Progress bar --> | |
| <div class="fixed top-16 left-0 right-0 z-40"> | |
| <div class="progress-bar"> | |
| <div class="progress-fill" id="progressFill" style="width: 0%"></div> | |
| </div> | |
| </div> | |
| <!-- Mobile nav toggle --> | |
| <button class="mobile-nav-toggle" id="mobileNavToggle" aria-label="Toggle navigation"> | |
| <svg class="w-6 h-6 text-[var(--bg-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"/> | |
| </svg> | |
| </button> | |
| <!-- Sidebar overlay --> | |
| <div class="sidebar-overlay" id="sidebarOverlay"></div> | |
| <!-- Sidebar --> | |
| <aside class="sidebar fixed left-0 top-16 bottom-0 w-64 bg-[var(--bg-secondary)] border-r border-[var(--border)] overflow-y-auto" style="height: calc(100vh - 4rem);"> | |
| <nav class="p-4 space-y-1"> | |
| <div class="text-xs font-semibold text-[var(--text-muted)] uppercase tracking-wider mb-3 px-3">Phases</div> | |
| <a href="#phase1" class="nav-link block text-[var(--text-secondary)]" data-section="phase1"> | |
| <div class="flex items-center gap-3"> | |
| <span class="w-6 h-6 rounded bg-[var(--bg-tertiary)] flex items-center justify-center text-xs font-bold">1</span> | |
| <span>Investigation & Due Diligence</span> | |
| </div> | |
| </a> | |
| <a href="#phase2" class="nav-link block text-[var(--text-secondary)]" data-section="phase2"> | |
| <div class="flex items-center gap-3"> | |
| <span class="w-6 h-6 rounded bg-[var(--bg-tertiary)] flex items-center justify-center text-xs font-bold">2</span> | |
| <span>Threat Modeling</span> | |
| </div> | |
| </a> | |
| <a href="#phase3" class="nav-link block text-[var(--text-secondary)]" data-section="phase3"> | |
| <div class="flex items-center gap-3"> | |
| <span class="w-6 h-6 rounded bg-[var(--bg-tertiary)] flex items-center justify-center text-xs font-bold">3</span> | |
| <span>Hardening Blueprint</span> | |
| </div> | |
| </a> | |
| <a href="#phase4" class="nav-link block text-[var(--text-secondary)]" data-section="phase4"> | |
| <div class="flex items-center gap-3"> | |
| <span class="w-6 h-6 rounded bg-[var(--bg-tertiary)] flex items-center justify-center text-xs font-bold">4</span> | |
| <span>Implementation Guide</span> | |
| </div> | |
| </a> | |
| <a href="#phase5" class="nav-link block text-[var(--text-secondary)]" data-section="phase5"> | |
| <div class="flex items-center gap-3"> | |
| <span class="w-6 h-6 rounded bg-[var(--bg-tertiary)] flex items-center justify-center text-xs font-bold">5</span> | |
| <span>Operational Security</span> | |
| </div> | |
| </a> | |
| <div class="border-t border-[var(--border)] my-4"></div> | |
| <a href="#summary" class="nav-link block text-[var(--text-secondary)]" data-section="summary"> | |
| <div class="flex items-center gap-3"> | |
| <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"/> | |
| </svg> | |
| <span>Executive Summary</span> | |
| </div> | |
| </a> | |
| <div class="border-t border-[var(--border)] my-4"></div> | |
| <!-- Completion status --> | |
| <div class="p-4 bg-[var(--bg-tertiary)] rounded-lg"> | |
| <div class="text-xs font-semibold text-[var(--text-muted)] uppercase tracking-wider mb-2">Progress</div> | |
| <div class="flex items-center gap-2 mb-2"> | |
| <span class="text-2xl font-bold text-[var(--accent-cyan)]" id="completionPercent">0%</span> | |
| <span class="text-sm text-[var(--text-secondary)]">Complete</span> | |
| </div> | |
| <div class="text-xs text-[var(--text-muted)]" id="completionCount">0 of 0 checks passed</div> | |
| </div> | |
| </nav> | |
| </aside> | |
| <!-- Main content --> | |
| <main class="lg:ml-64 pt-20 min-h-screen"> | |
| <div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 py-8"> | |
| <!-- Hero section --> | |
| <section class="mb-12 animate-fade-in"> | |
| <div class="card p-8 relative overflow-hidden"> | |
| <div class="absolute top-0 right-0 w-64 h-64 bg-gradient-to-bl from-[var(--accent-cyan)] opacity-5 rounded-full blur-3xl"></div> | |
| <div class="relative"> | |
| <div class="flex items-center gap-2 mb-4"> | |
| <span class="badge badge-danger">High Security</span> | |
| <span class="badge badge-info">Containerized</span> | |
| </div> | |
| <h2 class="text-3xl sm:text-4xl font-bold mb-4">OpenClaw Hardening Runbook</h2> | |
| <p class="text-[var(--text-secondary)] text-lg mb-6 max-w-3xl"> | |
| Enterprise-grade security blueprint for deploying containerized AI agents with maximum isolation, | |
| comprehensive threat modeling, and multi-layered defense mechanisms. | |
| </p> | |
| <div class="flex flex-wrap gap-4"> | |
| <button class="btn btn-primary" onclick="expandAllSections()"> | |
| <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/> | |
| </svg> | |
| Expand All Sections | |
| </button> | |
| <button class="btn btn-secondary" onclick="resetChecklist()"> | |
| <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"/> | |
| </svg> | |
| Reset Checklist | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Phase 1 --> | |
| <section id="phase1" class="mb-12 scroll-mt-24"> | |
| <div class="flex items-center gap-3 mb-6"> | |
| <div class="w-12 h-12 rounded-xl bg-gradient-to-br from-[var(--accent-orange)] to-[var(--accent-red)] flex items-center justify-center text-xl font-bold">1</div> | |
| <div> | |
| <h2 class="text-2xl font-bold">Investigation & Due Diligence</h2> | |
| <p class="text-[var(--text-secondary)]">Mandatory pre-deployment verification checks</p> | |
| </div> | |
| </div> | |
| <div class="alert alert-danger mb-6"> | |
| <div class="flex items-start gap-3"> | |
| <svg class="w-5 h-5 text-[var(--accent-red)] mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"/> | |
| </svg> | |
| <div> | |
| <strong class="text-[var(--accent-red)]">STOP Rule:</strong> | |
| <span class="text-[var(--text-secondary)]"> If any check fails, abort container deployment and recommend an isolated VM with full forensic capture.</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Identity verification --> | |
| <div class="collapsible-section mb-4"> | |
| <div class="collapsible-header" onclick="toggleCollapsible(this)"> | |
| <div class="flex items-center gap-3"> | |
| <svg class="w-5 h-5 text-[var(--accent-cyan)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V8a2 2 0 00-2-2h-5m-4 0V5a2 2 0 114 0v1m-4 0a2 2 0 104 0m-5 8a2 2 0 100-4 2 2 0 000 4zm0 0c1.306 0 2.417.835 2.83 2M9 14a3.001 3.001 0 00-2.83 2M15 11h3m-3 4h2"/> | |
| </svg> | |
| <span class="font-semibold">Identity Verification</span> | |
| </div> | |
| <svg class="w-5 h-5 chevron-icon text-[var(--text-muted)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/> | |
| </svg> | |
| </div> | |
| <div class="collapsible-content"> | |
| <div class="p-4 space-y-4"> | |
| <div class="checklist-item" data-check="identity-1"> | |
| <div class="checkbox-custom" onclick="toggleCheck(this)"> | |
| <svg class="w-3 h-3 text-[var(--bg-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M5 13l4 4L19 7"/> | |
| </svg> | |
| </div> | |
| <div> | |
| <div class="font-medium">Confirm official repository URL</div> | |
| <div class="text-sm text-[var(--text-muted)] mt-1">Verify https://github.com/openclaw/openclaw is the official repository</div> | |
| </div> | |
| </div> | |
| <div class="checklist-item" data-check="identity-2"> | |
| <div class="checkbox-custom" onclick="toggleCheck(this)"> | |
| <svg class="w-3 h-3 text-[var(--bg-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M5 13l4 4L19 7"/> | |
| </svg> | |
| </div> | |
| <div> | |
| <div class="font-medium">Verify GPG-signed tags</div> | |
| <div class="text-sm text-[var(--text-muted)] mt-1">Run <code class="font-mono text-[var(--accent-cyan)]">git log --show-signature</code> to confirm signed releases</div> | |
| </div> | |
| </div> | |
| <div class="code-block mt-4"> | |
| <div class="code-header"> | |
| <span class="text-xs text-[var(--text-muted)] font-mono">bash</span> | |
| <button class="btn btn-secondary text-xs py-1 px-2" onclick="copyCode(this)"> | |
| <svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"/> | |
| </svg> | |
| Copy | |
| </button> | |
| </div> | |
| <div class="code-content"> | |
| <code><span class="token-comment"># Clone and verify signatures</span> | |
| git clone https://github.com/openclaw/openclaw.git | |
| <span class="token-keyword">cd</span> openclaw | |
| git log --show-signature | |
| git verify-tag <span class="token-string">$(git describe --tags `git rev-list --tags --max-count=1`)</span></code> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Functionality --> | |
| <div class="collapsible-section mb-4"> | |
| <div class="collapsible-header" onclick="toggleCollapsible(this)"> | |
| <div class="flex items-center gap-3"> | |
| <svg class="w-5 h-5 text-[var(--accent-blue)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19.428 15.428a2 2 0 00-1.022-.547l-2.387-.477a6 6 0 00-3.86.517l-.318.158a6 6 0 01-3.86.517L6.05 15.21a2 2 0 00-1.806.547M8 4h8l-1 1v5.172a2 2 0 00.586 1.414l5 5c1.26 1.26.367 3.414-1.415 3.414H4.828c-1.782 0-2.674-2.154-1.414-3.414l5-5A2 2 0 009 10.172V5L8 4z"/> | |
| </svg> | |
| <span class="font-semibold">Functionality Analysis</span> | |
| </div> | |
| <svg class="w-5 h-5 chevron-icon text-[var(--text-muted)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/> | |
| </svg> | |
| </div> | |
| <div class="collapsible-content"> | |
| <div class="p-4 space-y-4"> | |
| <p class="text-[var(--text-secondary)]">Core components identified from source analysis:</p> | |
| <div class="grid sm:grid-cols-2 gap-4"> | |
| <div class="card p-4"> | |
| <div class="flex items-center gap-2 mb-2"> | |
| <span class="badge badge-info">Port</span> | |
| <span class="font-mono font-bold">18789</span> | |
| </div> | |
| <div class="text-sm text-[var(--text-secondary)]">Gateway API endpoint</div> | |
| </div> | |
| <div class="card p-4"> | |
| <div class="flex items-center gap-2 mb-2"> | |
| <span class="badge badge-info">Port</span> | |
| <span class="font-mono font-bold">18790</span> | |
| </div> | |
| <div class="text-sm text-[var(--text-secondary)]">Optional Web UI</div> | |
| </div> | |
| </div> | |
| <div class="checklist-item" data-check="func-1"> | |
| <div class="checkbox-custom" onclick="toggleCheck(this)"> | |
| <svg class="w-3 h-3 text-[var(--bg-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M5 13l4 4L19 7"/> | |
| </svg> | |
| </div> | |
| <div> | |
| <div class="font-medium">Document core components</div> | |
| <div class="text-sm text-[var(--text-muted)] mt-1">Gateway, channel adapters, tool-execution engine, memory store</div> | |
| </div> | |
| </div> | |
| <div class="checklist-item" data-check="func-2"> | |
| <div class="checkbox-custom" onclick="toggleCheck(this)"> | |
| <svg class="w-3 h-3 text-[var(--bg-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M5 13l4 4L19 7"/> | |
| </svg> | |
| </div> | |
| <div> | |
| <div class="font-medium">Parse dependencies</div> | |
| <div class="text-sm text-[var(--text-muted)] mt-1">Review package.json, Dockerfiles, docker-compose.yml</div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Reputation & Risk --> | |
| <div class="collapsible-section mb-4"> | |
| <div class="collapsible-header" onclick="toggleCollapsible(this)"> | |
| <div class="flex items-center gap-3"> | |
| <svg class="w-5 h-5 text-[var(--accent-red)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"/> | |
| </svg> | |
| <span class="font-semibold">Reputation & Risk Assessment</span> | |
| <span class="badge badge-danger ml-auto">Critical</span> | |
| </div> | |
| <svg class="w-5 h-5 chevron-icon text-[var(--text-muted)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/> | |
| </svg> | |
| </div> | |
| <div class="collapsible-content"> | |
| <div class="p-4 space-y-4"> | |
| <div class="alert alert-warning"> | |
| <div class="flex items-start gap-3"> | |
| <svg class="w-5 h-5 text-[var(--accent-yellow)] mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"/> | |
| </svg> | |
| <div> | |
| <strong class="text-[var(--accent-yellow)]">Known Threats:</strong> | |
| <ul class="text-[var(--text-secondary)] mt-2 space-y-1 text-sm"> | |
| <li>4+ CVEs disclosed early 2026</li> | |
| <li>Malicious skills on ClawHub marketplace</li> | |
| <li>Fake VS Code extension "Claudebot Agent"</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="checklist-item" data-check="risk-1"> | |
| <div class="checkbox-custom" onclick="toggleCheck(this)"> | |
| <svg class="w-3 h-3 text-[var(--bg-primary)]" fill="none" stroke="currentColor" viewBox="0 0 24 24"> | |
| <path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M5 13l4 4L19 7"/> | |
| </svg> | |
| </ |