mirror of
https://github.com/hanzoai/bootnode.git
synced 2026-10-25 02:31:30 +00:00
Hanzo CI/CD / cicd (push) Failing after 1h10m29s
CI/CD / cicd (push) Failing after 2h37m43s
A static export has no host when it prerenders, so BrandProvider renders the
tree only once the browser has resolved the host, pages that show the brand
are client components, the static head names no brand, and the title and
favicon come from the host. The chain page keeps its static params and
metadata on the server and renders its body on the client, with RPC endpoints
on the brand's API origin at /v1/rpc/{chain}/{network}.
Hanzo's API origin is web3.hanzo.ai itself. The node fleet view, its landing
strip and its nav link belong to the brand that operates a fleet, which is
Lux alone. llms.txt, one file for every host, names no brand and points at
each host's own /docs/api.
Marketing copy states no certification the company does not hold and no
unmeasured uptime, latency, volume or response-time figure. Every internal
link points at a page that exists, every catalog chain is prerendered, and
the routes test holds page bodies to zero dead links.
Co-authored-by: Hanzo Dev <[email protected]>
258 lines
12 KiB
TypeScript
258 lines
12 KiB
TypeScript
"use client"
|
|
|
|
import Link from "next/link"
|
|
import { Navbar } from "@/components/navbar"
|
|
import { Footer } from "@/components/footer"
|
|
import { Button } from "@/components/ui/button"
|
|
import { Badge } from "@/components/ui/badge"
|
|
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
|
|
import {
|
|
ArrowRight,
|
|
FileKey2,
|
|
KeyRound,
|
|
Lock,
|
|
Network,
|
|
Shield,
|
|
ShieldCheck,
|
|
} from "@luxfi/ui/icons"
|
|
import { getBrand } from "@/lib/brand"
|
|
|
|
const brand = getBrand()
|
|
|
|
const practices = [
|
|
{
|
|
icon: <Lock className="h-6 w-6" />,
|
|
title: "Data Encryption",
|
|
description:
|
|
"All data is encrypted in transit using TLS 1.3 with modern cipher suites. Data at rest is encrypted using AES-256-GCM. Database backups, logs, and any stored blockchain data are fully encrypted. We enforce HSTS and certificate transparency for all public endpoints.",
|
|
},
|
|
{
|
|
icon: <KeyRound className="h-6 w-6" />,
|
|
title: "API Key Security",
|
|
description:
|
|
"API keys are hashed using bcrypt before storage. We never store plaintext API keys in our database. Keys are displayed only once at creation time. You can restrict keys by IP address, HTTP referrer, and specific API methods. Key rotation is supported with zero downtime.",
|
|
},
|
|
{
|
|
icon: <FileKey2 className="h-6 w-6" />,
|
|
title: "HMAC Webhook Signing",
|
|
description:
|
|
`Every webhook delivery includes an HMAC-SHA256 signature in the X-${brand.name}-Signature header, computed using a per-webhook signing secret. This allows you to cryptographically verify that webhook payloads originated from ${brand.name} and have not been tampered with in transit.`,
|
|
},
|
|
{
|
|
icon: <Network className="h-6 w-6" />,
|
|
title: "Rate Limiting & DDoS Protection",
|
|
description:
|
|
"All API endpoints are protected by multi-layer rate limiting at the edge, application, and per-key levels. Our infrastructure is fronted by DDoS protection at the edge.",
|
|
},
|
|
{
|
|
icon: <Shield className="h-6 w-6" />,
|
|
title: "Infrastructure Security",
|
|
description:
|
|
"Our infrastructure runs on hardened, purpose-built systems with minimal attack surface. We use network segmentation, least-privilege IAM policies, and immutable infrastructure patterns. No engineer has standing access to production systems -- all access requires just-in-time approval with full audit logging.",
|
|
},
|
|
]
|
|
|
|
export default function SecurityPage() {
|
|
return (
|
|
<div className="flex min-h-screen flex-col">
|
|
<Navbar />
|
|
|
|
{/* Hero */}
|
|
<section className="border-b bg-gradient-to-b from-background to-muted/20">
|
|
<div className="container py-20 md:py-28">
|
|
<div className="mx-auto max-w-3xl text-center">
|
|
<Badge variant="secondary" className="mb-4">
|
|
<Shield className="mr-1 h-3 w-3" />
|
|
Security
|
|
</Badge>
|
|
<h1 className="text-4xl font-bold tracking-tight sm:text-5xl">
|
|
Security at {brand.name}
|
|
</h1>
|
|
<p className="mt-6 text-lg text-muted-foreground">
|
|
We take security seriously. {brand.name} implements defense-in-depth
|
|
across every layer of our infrastructure.
|
|
Your API keys, data, and webhook payloads are protected by
|
|
industry-leading security practices.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
{/* Security Practices */}
|
|
<section className="py-16">
|
|
<div className="container">
|
|
<div className="mx-auto max-w-4xl space-y-6">
|
|
{practices.map((practice) => (
|
|
<Card key={practice.title}>
|
|
<CardHeader>
|
|
<div className="flex items-center gap-3">
|
|
<div className="flex h-12 w-12 items-center justify-center rounded-lg bg-primary/10 text-primary">
|
|
{practice.icon}
|
|
</div>
|
|
<CardTitle>{practice.title}</CardTitle>
|
|
</div>
|
|
</CardHeader>
|
|
<CardContent>
|
|
<p className="text-sm text-muted-foreground leading-relaxed">
|
|
{practice.description}
|
|
</p>
|
|
</CardContent>
|
|
</Card>
|
|
))}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
{/* Additional Measures */}
|
|
<section className="border-y bg-muted/30 py-16">
|
|
<div className="container">
|
|
<div className="mx-auto max-w-4xl">
|
|
<h2 className="text-2xl font-bold tracking-tight">
|
|
Additional Security Measures
|
|
</h2>
|
|
<div className="mt-8 grid gap-6 sm:grid-cols-2">
|
|
<div className="rounded-lg border bg-card p-6">
|
|
<h3 className="font-semibold">Penetration Testing</h3>
|
|
<p className="mt-2 text-sm text-muted-foreground leading-relaxed">
|
|
We conduct annual third-party penetration tests covering our API
|
|
endpoints, dashboard application, and infrastructure.
|
|
</p>
|
|
</div>
|
|
<div className="rounded-lg border bg-card p-6">
|
|
<h3 className="font-semibold">Dependency Management</h3>
|
|
<p className="mt-2 text-sm text-muted-foreground leading-relaxed">
|
|
Automated dependency scanning runs on every pull request using
|
|
Dependabot and Snyk. We maintain a software bill of materials (SBOM)
|
|
for all production services.
|
|
</p>
|
|
</div>
|
|
<div className="rounded-lg border bg-card p-6">
|
|
<h3 className="font-semibold">Access Controls</h3>
|
|
<p className="mt-2 text-sm text-muted-foreground leading-relaxed">
|
|
All employees use hardware security keys for authentication. Production
|
|
access requires multi-party approval and is logged immutably. We enforce
|
|
least-privilege access across all systems and conduct quarterly access
|
|
reviews.
|
|
</p>
|
|
</div>
|
|
<div className="rounded-lg border bg-card p-6">
|
|
<h3 className="font-semibold">Incident Response</h3>
|
|
<p className="mt-2 text-sm text-muted-foreground leading-relaxed">
|
|
We maintain a documented incident response plan with defined severity
|
|
levels, escalation paths, and communication procedures. All security
|
|
incidents are reviewed in post-incident reviews, and affected customers
|
|
are told about critical incidents.
|
|
</p>
|
|
</div>
|
|
<div className="rounded-lg border bg-card p-6">
|
|
<h3 className="font-semibold">Data Retention</h3>
|
|
<p className="mt-2 text-sm text-muted-foreground leading-relaxed">
|
|
API request logs are retained for 30 days on Growth plans and 90 days
|
|
on Enterprise plans. Webhook delivery logs are retained for the same
|
|
period. You can request deletion of your data at any time by contacting
|
|
support.
|
|
</p>
|
|
</div>
|
|
<div className="rounded-lg border bg-card p-6">
|
|
<h3 className="font-semibold">Compliance</h3>
|
|
<p className="mt-2 text-sm text-muted-foreground leading-relaxed">
|
|
We align our practices with the OWASP Top 10, CIS Benchmarks, and
|
|
NIST Cybersecurity Framework. GDPR data
|
|
processing agreements are available for customers operating in the EU.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
{/* Responsible Disclosure */}
|
|
<section className="py-16">
|
|
<div className="container">
|
|
<div className="mx-auto max-w-4xl">
|
|
<Card className="border-primary/30">
|
|
<CardHeader>
|
|
<div className="flex items-center gap-3">
|
|
<Shield className="h-6 w-6 text-primary" />
|
|
<CardTitle>Responsible Disclosure Program</CardTitle>
|
|
</div>
|
|
</CardHeader>
|
|
<CardContent>
|
|
<div className="space-y-4 text-sm text-muted-foreground leading-relaxed">
|
|
<p>
|
|
We value the security research community and welcome responsible
|
|
disclosure of vulnerabilities. If you discover a security issue
|
|
in {brand.name}, please report it to us privately so we can address it before
|
|
public disclosure.
|
|
</p>
|
|
<h4 className="font-semibold text-foreground">Scope</h4>
|
|
<ul className="ml-4 list-disc space-y-1">
|
|
<li>{brand.name} API endpoints ({brand.apiUrl})</li>
|
|
<li>{brand.name} dashboard ({brand.domain}/dashboard)</li>
|
|
<li>{brand.name} documentation site ({brand.domain}/docs)</li>
|
|
<li>Authentication and authorization systems</li>
|
|
<li>Webhook delivery and signature verification</li>
|
|
</ul>
|
|
<h4 className="font-semibold text-foreground">Guidelines</h4>
|
|
<ul className="ml-4 list-disc space-y-1">
|
|
<li>Do not access or modify data belonging to other users</li>
|
|
<li>Do not perform denial-of-service attacks</li>
|
|
<li>Do not perform automated scanning at high volume</li>
|
|
<li>Provide sufficient detail for us to reproduce the issue</li>
|
|
<li>Allow reasonable time for remediation before public disclosure</li>
|
|
</ul>
|
|
<h4 className="font-semibold text-foreground">Reporting</h4>
|
|
<p>
|
|
Send vulnerability reports to{" "}
|
|
<a
|
|
href="mailto:[email protected]"
|
|
className="text-primary hover:underline"
|
|
>
|
|
security@hanzo.ai
|
|
</a>
|
|
. Include a detailed description, steps to reproduce, and any proof-of-concept
|
|
code. We will acknowledge receipt and follow up with an initial
|
|
assessment.
|
|
</p>
|
|
<p>
|
|
We do not currently offer monetary bounties but will credit researchers
|
|
in our security acknowledgments with their permission.
|
|
</p>
|
|
</div>
|
|
</CardContent>
|
|
</Card>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
{/* CTA */}
|
|
<section className="border-t bg-muted/30 py-16">
|
|
<div className="container">
|
|
<div className="mx-auto max-w-2xl text-center">
|
|
<h2 className="text-2xl font-bold tracking-tight">
|
|
Questions about security?
|
|
</h2>
|
|
<p className="mt-4 text-muted-foreground">
|
|
Our team is happy to discuss our security practices or answer compliance
|
|
questions.
|
|
</p>
|
|
<div className="mt-8 flex flex-col justify-center gap-4 sm:flex-row">
|
|
<Button size="lg" asChild>
|
|
<Link href="/contact">
|
|
Contact Security Team
|
|
<ArrowRight className="ml-2 h-4 w-4" />
|
|
</Link>
|
|
</Button>
|
|
<Button size="lg" variant="outline" asChild>
|
|
<Link href="/docs">View Documentation</Link>
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<Footer />
|
|
</div>
|
|
)
|
|
}
|