Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions openzero/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h2 style="color:var(--neon);">LET YOUR LOCAL OPENZERO NODE WORK INSIDE ONE TAB

<div class="terminal-box">
<div class="terminal-top">
<span>ROOT@OPENZERO:~#</span>
<span>ZERO@OPENZERO:~$</span>
<div style="display:flex; align-items:center; gap:10px;">
<span>OS_INSTALL_SCRIPT</span>
<button onclick="copyInstall()" id="copy-btn" class="copy-btn">COPY_CODE</button>
Expand All @@ -494,7 +494,7 @@ <h2 style="color:var(--neon);">LET YOUR LOCAL OPENZERO NODE WORK INSIDE ONE TAB

<div class="terminal-box" style="margin-top:24px;">
<div class="terminal-top">
<span>ROOT@OPENZERO:~#</span>
<span>ZERO@OPENZERO:~$</span>
<div style="display:flex; align-items:center; gap:10px;">
<span>SAFE_UPDATE_SCRIPT</span>
<button onclick="copyUpdate()" id="copy-update-btn" class="copy-btn">COPY_CODE</button>
Expand All @@ -510,7 +510,7 @@ <h2 style="color:var(--neon);">LET YOUR LOCAL OPENZERO NODE WORK INSIDE ONE TAB

<div class="terminal-box" style="margin-top:24px;">
<div class="terminal-top">
<span>ROOT@OPENZERO:~#</span>
<span>ZERO@OPENZERO:~$</span>
<div style="display:flex; align-items:center; gap:10px;">
<span>AIRGAP_OFFLINE_BUNDLE</span>
<button onclick="copyOfflineBuild()" id="copy-offline-btn" class="copy-btn">COPY_CODE</button>
Expand Down Expand Up @@ -653,12 +653,12 @@ <h3>LOCAL CONTINUITY</h3>
</tr>
<tr>
<td>RESTRICTIONS</td>
<td class="check">UNCENSORED / DNA MATH</td>
<td class="check">OPERATOR POLICY / LOCAL AUDIT</td>
<td class="cross">CORPORATE GUARDRAILS</td>
</tr>
<tr>
<td>ACCESS</td>
<td class="check">ROOT SHELL / BASH</td>
<td class="check">APPROVAL-GATED LOCAL TOOLS</td>
<td class="cross">LOCKED SANDBOX</td>
</tr>
</tbody>
Expand Down Expand Up @@ -686,7 +686,7 @@ <h2 style="color:var(--neon);">BEGINNER PATH // NO COMMAND-LINE KNOWLEDGE REQUIR
<div>
<h3 style="color: #ff3333; margin: 0 0 10px 0; font-size: 1.2em;">WARNING: HIGH-RISK AUTONOMY</h3>
<p style="color: #cc5555; font-size: 0.9em; margin: 0; line-height: 1.6; text-transform: none;">
OpenZero can operate with elevated local privileges. Version 7.1 retains tamper-evident ethics locks, encrypted local vault files, and signed Hive contributions, but a system owner with full disk access can still replace files. Treat the platform as hardened and auditable, not magically immutable.
OpenZero performs operator-approved actions only within the deployed service permissions; automatic privilege escalation is blocked in production. Version 7.1 retains tamper-evident ethics locks, encrypted local vault files, and signed Hive contributions, but self-editing and other writable state remain high risk because a system owner with full disk access can still replace files. Treat the platform as hardened and auditable, not magically immutable.
</p>
</div>
</div>
Expand Down
18 changes: 18 additions & 0 deletions openzero/tests/test_security_hardening.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,24 @@ def test_manual_has_no_shared_default_or_root_runtime_claim(self):
self.assertIn("unique operator account and password", manual)
self.assertIn("no automatic privilege escalation", manual)

def test_public_page_matches_the_production_privilege_boundary(self):
public_page = (OPENZERO_ROOT / "index.html").read_text(encoding="utf-8")
for retired_claim in (
"ROOT@OPENZERO:~#",
"UNCENSORED / DNA MATH",
"ROOT SHELL / BASH",
"operate with elevated local privileges",
):
self.assertNotIn(retired_claim, public_page)
for required_copy in (
"ZERO@OPENZERO:~$",
"OPERATOR POLICY / LOCAL AUDIT",
"APPROVAL-GATED LOCAL TOOLS",
"automatic privilege escalation is blocked in production",
"self-editing and other writable state remain high risk",
):
self.assertIn(required_copy, public_page)


class DoctorModelSelectionTests(unittest.TestCase):
def test_hugging_face_ollama_reference_is_local(self):
Expand Down
Loading