Spaces:
Running
Running
File size: 39,144 Bytes
8aa1c03 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 | <!DOCTYPE html>
<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 !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
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>
</ |