Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
'use client';
/**
* "MIT all the way down" — `open-source` section from §6.11 of the brief.
*
* Single-column band split into two halves on `≥md`:
*
* - Left: eyebrow + H2 + sub-head + primary/secondary CTAs.
* - Right: a "repo card" rendered as a stylised README header with a
* `BorderBeam` and a `bash` snippet underneath. Three commands —
* the same `git clone … pnpm aisoc:demo` shorthand the
* `landing-page-content.md` doc specifies.
*
* No live GitHub API call for the star count; it is intentionally
* static here. A follow-up workflow will fill in the real value from
* `github.repos.get`.
*/
import Link from 'next/link';
import { motion, useReducedMotion } from 'framer-motion';
import { ArrowRight, GitBranch, Star, Terminal } from 'lucide-react';
import { BorderBeam } from '@/components/magicui/BorderBeam';
import { docs } from '@/lib/docs';
import { GithubMark } from './icons';
const REPO_URL = 'https://github.com/beenuar/AiSOC';
const CONTRIBUTING_URL = docs('contributing/guidelines');
/**
* The snippet used to end `pnpm aisoc:demo`, under the caption "boots a
* pre-seeded case in under a minute". That command loads the synthetic demo
* dataset, so the three commands a visitor was given produced a stack whose
* every row is labelled `is_synthetic = true` — the one thing this project
* asks readers not to mistake for the product working. `make up` is the
* documented path and produces real data, and `make smoke` proves it did.
*/
const SNIPPET = `git clone https://github.com/beenuar/AiSOC.git
cd AiSOC
make up && make smoke`;
export function OpenSourceMoment() {
const prefersReducedMotion = useReducedMotion();
const fadeIn = (delay = 0) =>
prefersReducedMotion
? false
: ({
initial: { opacity: 0, y: 16 },
whileInView: { opacity: 1, y: 0 },
viewport: { once: true, margin: '-15%' as const },
transition: { duration: 0.55, ease: [0.16, 1, 0.3, 1], delay },
} as const);
return (
<section
id="open-source"
aria-labelledby="open-source-heading"
className="relative py-20 sm:py-24 lg:py-28"
>
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
<div className="grid items-center gap-12 lg:grid-cols-[1.05fr_1fr] lg:gap-16">
<motion.div {...(fadeIn(0) || {})}>
<p className="text-xs font-semibold uppercase tracking-[0.18em] text-velvet-emerald-mint">
MIT all the way down
</p>
<h2
id="open-source-heading"
className="font-velvet-display font-normal mt-3 text-3xl tracking-tight text-velvet-content-primary sm:text-4xl lg:text-[40px] lg:leading-[1.15] lg:tracking-[-0.015em]"
>
Every detection rule public. Every benchmark reproducible.
</h2>
<p className="mt-4 max-w-xl text-base leading-relaxed text-velvet-content-secondary">
Fork the agent, fork the rules, fork the harness. We measure
ourselves on the same metrics we publish, and we ship the
dataset that produced them. There is no private fork.
</p>
<div className="mt-6 flex flex-wrap items-center gap-3">
<Link
href={REPO_URL}
rel="noreferrer"
target="_blank"
className="group inline-flex h-10 items-center gap-2 rounded-md bg-velvet-emerald-cta px-4 text-sm font-semibold text-velvet-content-primary shadow-[0_1px_0_rgba(255,255,255,0.18)_inset] transition-shadow duration-200 ease-landing-out-quart motion-safe:hover:shadow-glow-emerald-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-velvet-emerald-mint focus-visible:ring-offset-2 focus-visible:ring-offset-velvet-surface-base"
>
<Star className="h-4 w-4" aria-hidden="true" />
Star on GitHub
<ArrowRight
className="h-3.5 w-3.5 transition-transform duration-200 group-hover:translate-x-0.5 motion-reduce:transition-none motion-reduce:group-hover:translate-x-0"
aria-hidden="true"
/>
</Link>
<Link
href={CONTRIBUTING_URL}
rel="noreferrer"
target="_blank"
className="inline-flex h-10 items-center gap-2 rounded-md border border-velvet-border bg-velvet-surface-raised/60 px-4 text-sm font-semibold text-velvet-content-primary transition-colors duration-200 hover:border-velvet-emerald/40 hover:text-velvet-emerald-mint focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-velvet-emerald-mint focus-visible:ring-offset-2 focus-visible:ring-offset-velvet-surface-base"
>
<GitBranch className="h-4 w-4" aria-hidden="true" />
Read CONTRIBUTING.md
</Link>
</div>
</motion.div>
<motion.div {...(fadeIn(0.12) || {})} className="relative">
<div className="relative overflow-hidden rounded-2xl border border-velvet-border bg-velvet-surface-raised/80 backdrop-blur-sm">
<BorderBeam size={160} duration={14} colorFrom="#34D399" colorTo="#1E3A8A" />
<div className="flex items-center gap-2 border-b border-velvet-border bg-velvet-surface-raised/70 px-4 py-3 text-xs text-velvet-content-tertiary">
<span className="flex gap-1.5" aria-hidden="true">
<span className="h-2.5 w-2.5 rounded-full bg-red-500/70" />
<span className="h-2.5 w-2.5 rounded-full bg-amber-400/70" />
<span className="h-2.5 w-2.5 rounded-full bg-emerald-500/70" />
</span>
<span className="ml-2 font-mono">github.com/beenuar/AiSOC</span>
</div>
<div className="space-y-4 p-6">
<div className="flex items-start gap-3">
<span
aria-hidden="true"
className="inline-flex h-10 w-10 items-center justify-center rounded-lg bg-velvet-content-primary/10 text-velvet-content-primary"
>
<GithubMark className="h-5 w-5" />
</span>
<div>
<p className="text-sm font-semibold text-velvet-content-primary">
beenuar / AiSOC
</p>
<p className="flex items-center gap-2 text-xs text-velvet-content-tertiary">
{/*
Live GitHub star count via shields.io. Previously hard-coded
as "2.3k", which was a falsifiable claim every visitor could
check in five seconds. The shields.io endpoint redraws on
every page load (cached at the edge) so the number always
matches what github.com/beenuar/AiSOC shows.
Using <img> rather than next/image is deliberate: this is a
~250-byte SVG badge served by a 3rd-party CDN. Funnelling
it through next/image would add a same-origin /_next/image
roundtrip and lose the shields.io edge cache without
delivering meaningful LCP gains.
*/}
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src="https://img.shields.io/github/stars/beenuar/AiSOC?style=flat&label=%E2%98%85&color=4ade80&labelColor=0b1f1a"
alt="GitHub stars"
width={68}
height={20}
loading="lazy"
decoding="async"
className="h-4 w-auto"
/>
<span>· MIT · TypeScript / Python / Go</span>
</p>
</div>
</div>
<p className="text-sm leading-relaxed text-velvet-content-secondary">
Clone it, bring the pipeline up, and prove it works — three
commands, no credentials:
</p>
<pre className="overflow-x-auto rounded-lg border border-velvet-border bg-velvet-surface-raised/60 p-4 text-xs leading-relaxed text-velvet-content-secondary">
<code className="block whitespace-pre font-mono">
<span className="select-none text-velvet-content-tertiary">$ </span>
<span className="text-velvet-emerald-mint">git clone</span>{' '}
<span className="text-velvet-content-primary">https://github.com/beenuar/AiSOC.git</span>
{'\n'}
<span className="select-none text-velvet-content-tertiary">$ </span>
<span className="text-velvet-emerald-mint">cd</span>{' '}
<span className="text-velvet-content-primary">AiSOC</span>
{'\n'}
<span className="select-none text-velvet-content-tertiary">$ </span>
<span className="text-velvet-emerald-mint">make</span>{' '}
<span className="text-velvet-content-primary">up && make smoke</span>
</code>
</pre>
<div className="flex items-center gap-2 text-xs text-velvet-content-tertiary">
<Terminal className="h-3.5 w-3.5" aria-hidden="true" />
<span>
One real event through the real spine, PASS or FAIL per
stage.
</span>
</div>
{/* Hidden plaintext copy for screen readers / clipboard tools */}
<span className="sr-only">{SNIPPET}</span>
</div>
</div>
</motion.div>
</div>
</div>
</section>
);
}