DeepTeam is a framework to red team LLMs and AI agents.
.
A-Vamshiae42a0dfaac8
diff --git a/docs/app/global.css b/docs/app/global.cssindex f19313b2..0d3c40d7 100644--- a/docs/app/global.css+++ b/docs/app/global.css@@ -13,6 +13,10 @@--font-sans: var(--font-sans), "Geist", ui-sans-serif, system-ui, sans-serif;--font-heading: var(--font-heading), "Space Grotesk", "Inter", ui-sans-serif,system-ui, sans-serif;+ --font-pixel: var(--font-geist-pixel-grid), ui-monospace, "Courier New",+ monospace;++ --color-deepteam-red: #de0064;--fd-layout-width: 90rem;--site-shell-max-width: 1400px;@@ -88,6 +92,7 @@:root {--color-bg-inverse: #000000;+ --color-deepteam-red: #de0064;}.dark {@@ -104,6 +109,14 @@width: 100%;}+.docs-page-surface h2 {+ font-family: var(--font-geist-pixel-grid), ui-monospace, monospace !important;+}++.faq-question {+ font-family: var(--font-geist-pixel-grid), ui-monospace, monospace !important;+}+/* (fix: remove or correct the invalid selector) *//* The selector `* >` is invalid and will throw a CSS error.If the intention is to add a border for debugging, use a valid selector like `*` or a more specific one. */diff --git a/docs/app/layout.tsx b/docs/app/layout.tsxindex 8153f5d5..3ce7663e 100644--- a/docs/app/layout.tsx+++ b/docs/app/layout.tsx@@ -4,6 +4,7 @@ import { RootProvider } from 'fumadocs-ui/provider/next';import './global.css';import 'katex/dist/katex.css';import { Geist, Space_Grotesk } from 'next/font/google';+import { GeistPixelGrid } from 'geist/font/pixel';import UtmCapture from '@/src/layouts/UtmCapture';import SchemaInjector from '@/src/components/SchemaInjector/SchemaInjector';import { buildWebSiteSchema } from '@/src/utils/schema-helpers';@@ -101,7 +102,7 @@ export default function Layout({ children }: LayoutProps<'/'>) {return (<htmllang="en"- className={`${sans.variable} ${heading.variable}`}+ className={`${sans.variable} ${heading.variable} ${GeistPixelGrid.variable}`}suppressHydrationWarning><head>diff --git a/docs/lib/generated/contributors.json b/docs/lib/generated/contributors.jsonindex 4828b518..e1b59699 100644--- a/docs/lib/generated/contributors.json+++ b/docs/lib/generated/contributors.json@@ -1397,37 +1397,16 @@"content/docs/data-privacy.mdx": [{"login": "penguine-ip",- "name": "Jeffrey Ip",+ "name": "penguine","avatarUrl": "https://avatars.githubusercontent.com/u/143328635?v=4","url": "https://github.com/penguine-ip",- "commits": 13- },- {- "login": "BloggerBust",- "name": "BloggerBust",- "avatarUrl": "https://avatars.githubusercontent.com/u/10637462?v=4",- "url": "https://github.com/BloggerBust","commits": 3},{- "login": "joaopmatias",- "name": "João Matias",- "avatarUrl": "https://avatars.githubusercontent.com/u/17345950?v=4",- "url": "https://github.com/joaopmatias",- "commits": 1- },- {- "login": "PLNech",- "name": "Paul-Louis NECH",- "avatarUrl": "https://avatars.githubusercontent.com/u/1821404?v=4",- "url": "https://github.com/PLNech",- "commits": 1- },- {- "login": "pritamsoni-hsr",- "name": "Pritam Soni",- "avatarUrl": "https://avatars.githubusercontent.com/u/23050213?v=4",- "url": "https://github.com/pritamsoni-hsr",+ "login": "A-Vamshi",+ "name": "A-Vamshi",+ "avatarUrl": "https://avatars.githubusercontent.com/u/123094948?v=4",+ "url": "https://github.com/A-Vamshi","commits": 1}],@@ -1509,121 +1488,23 @@"content/docs/getting-started.mdx": [{"login": "penguine-ip",- "name": "Jeffrey Ip",+ "name": "penguine","avatarUrl": "https://avatars.githubusercontent.com/u/143328635?v=4","url": "https://github.com/penguine-ip",- "commits": 136- },- {- "login": "kritinv",- "name": "Kritin_Vongthongsri",- "avatarUrl": "https://avatars.githubusercontent.com/u/73642562?v=4",- "url": "https://github.com/kritinv",- "commits": 8- },- {- "login": "ChristianBernhard",- "name": "Christian Bernhard",- "avatarUrl": "https://avatars.githubusercontent.com/u/44226023?v=4",- "url": "https://github.com/ChristianBernhard",- "commits": 3- },- {- "login": "BloggerBust",- "name": "BloggerBust",- "avatarUrl": "https://avatars.githubusercontent.com/u/10637462?v=4",- "url": "https://github.com/BloggerBust",- "commits": 2- },- {- "login": "Andrea23Romano",- "name": "Andrea23Romano",- "avatarUrl": "https://avatars.githubusercontent.com/u/103339491?v=4",- "url": "https://github.com/Andrea23Romano",- "commits": 1- },- {- "login": "bderenzi",- "name": "Brian DeRenzi",- "avatarUrl": "https://avatars.githubusercontent.com/u/94682?v=4",- "url": "https://github.com/bderenzi",- "commits": 1+ "commits": 10},{- "login": "bmerkle",- "name": "Bernhard Merkle",- "avatarUrl": "https://avatars.githubusercontent.com/u/232471?v=4",- "url": "https://github.com/bmerkle",- "commits": 1- },- {- "login": "chkimes",- "name": "Chad Kimes",- "avatarUrl": "https://avatars.githubusercontent.com/u/1936066?v=4",- "url": "https://github.com/chkimes",- "commits": 1- },- {- "login": "connorbrinton",- "name": "Connor Brinton",- "avatarUrl": "https://avatars.githubusercontent.com/u/1848731?v=4",- "url": "https://github.com/connorbrinton",- "commits": 1- },- {- "login": "Deeds67",- "name": "Pierre Marais",- "avatarUrl": "https://avatars.githubusercontent.com/u/8532893?v=4",- "url": "https://github.com/Deeds67",- "commits": 1- },- {- "login": "dunnkers",- "name": "Jeroen Overschie",- "avatarUrl": "https://avatars.githubusercontent.com/u/744430?v=4",- "url": "https://github.com/dunnkers",- "commits": 1- },- {- "login": "elsatch",- "name": "César García",- "avatarUrl": "https://avatars.githubusercontent.com/u/653433?v=4",- "url": "https://github.com/elsatch",- "commits": 1- },- {- "login": "fabiofumarola",- "name": "fabio fumarola",- "avatarUrl": "https://avatars.githubusercontent.com/u/1550672?v=4",- "url": "https://github.com/fabiofumarola",- "commits": 1- },- {- "login": "joaopmatias",- "name": "João Matias",- "avatarUrl": "https://avatars.githubusercontent.com/u/17345950?v=4",- "url": "https://github.com/joaopmatias",- "commits": 1- },- {- "login": "NeelayS",- "name": "Neelay Shah",- "avatarUrl": "https://avatars.githubusercontent.com/u/44301912?v=4",- "url": "https://github.com/NeelayS",- "commits": 1- },- {- "login": "NimJay",- "name": "Nim Jayawardena",- "avatarUrl": "https://avatars.githubusercontent.com/u/10292865?v=4",- "url": "https://github.com/NimJay",- "commits": 1+ "login": "A-Vamshi",+ "name": "A-Vamshi",+ "avatarUrl": "https://avatars.githubusercontent.com/u/123094948?v=4",+ "url": "https://github.com/A-Vamshi",+ "commits": 9},{- "login": "r-sniper",- "name": "Rahul Shah",- "avatarUrl": "https://avatars.githubusercontent.com/u/23214902?v=4",- "url": "https://github.com/r-sniper",+ "login": "tanayvaswani",+ "name": "tanayvaswani",+ "avatarUrl": "https://avatars.githubusercontent.com/u/114291962?v=4",+ "url": "https://github.com/tanayvaswani","commits": 1}],diff --git a/docs/lib/generated/repo-contributors.json b/docs/lib/generated/repo-contributors.jsonindex eb616ff3..76678e75 100644--- a/docs/lib/generated/repo-contributors.json+++ b/docs/lib/generated/repo-contributors.json@@ -3,7 +3,7 @@"login": "A-Vamshi","avatarUrl": "https://avatars.githubusercontent.com/u/123094948?v=4","url": "https://github.com/A-Vamshi",- "contributions": 563+ "contributions": 565},{"login": "penguine-ip",diff --git a/docs/package.json b/docs/package.jsonindex 52eaa135..4b285e31 100644--- a/docs/package.json+++ b/docs/package.json@@ -17,6 +17,7 @@"fumadocs-core": "16.8.1","fumadocs-mdx": "14.3.1","fumadocs-ui": "16.8.1",+ "geist": "^1.7.2","katex": "^0.16.45","lucide-react": "^1.8.0","mdast-util-directive": "^3.1.0",diff --git a/docs/scripts/generate-contributors.mjs b/docs/scripts/generate-contributors.mjsindex 4324910c..3223c923 100644--- a/docs/scripts/generate-contributors.mjs+++ b/docs/scripts/generate-contributors.mjs@@ -370,18 +370,24 @@ async function main() {if (list.length > 0) manifest[rel] = list;}- // Hosted builds can have incomplete git history without being marked as- // shallow. Never let a partial regeneration replace a richer checked-in- // manifest entry for a page that still exists.+ // Hosted builds can have incomplete git history without being marked+ // as shallow. Fall back to the checked-in entry ONLY when the+ // regeneration produced nothing at all for that page — never when it+ // produced a real (possibly shorter) list. The regen is the source of+ // truth for the *current* repo, so a shorter list still beats a+ // longer-but-stale one. The previous "preserve if existing is longer"+ // rule silently kept old entries forever whenever a page outgrew its+ // own real history — most visibly after the docs were bootstrapped+ // from a sibling repo, where a popular page like `getting-started`+ // dragged in cross-repo PR authors who never touched this codebase.const existingManifest = loadExistingManifest();let preserved = 0;for (const [rel, existingList] of Object.entries(existingManifest)) {if (!fileSet.has(rel) || !Array.isArray(existingList)) continue;const generatedList = manifest[rel];- if (- !Array.isArray(generatedList) ||- existingList.length > generatedList.length- ) {+ const generatedIsEmpty =+ !Array.isArray(generatedList) || generatedList.length === 0;+ if (generatedIsEmpty && existingList.length > 0) {manifest[rel] = existingList;preserved += 1;}diff --git a/docs/src/components/FAQ/index.tsx b/docs/src/components/FAQ/index.tsxindex cc64070b..e0590fa3 100644--- a/docs/src/components/FAQ/index.tsx+++ b/docs/src/components/FAQ/index.tsx@@ -47,7 +47,10 @@ export const FAQs: React.FC<FAQsProps> = ({ qas }) => {<SchemaInjector schema={schema} /><Accordions type="single">{qas.map(({ question, answer }) => (- <Accordion key={question} title={question}>+ <Accordion+ key={question}+ title={<span className="faq-question">{question}</span>}+ >{answer}</Accordion>))}diff --git a/docs/src/sections/home/HomeHeroSection.tsx b/docs/src/sections/home/HomeHeroSection.tsxindex 0b61465a..c5725654 100644--- a/docs/src/sections/home/HomeHeroSection.tsx+++ b/docs/src/sections/home/HomeHeroSection.tsx@@ -1,3 +1,6 @@+"use client";++import { useEffect, useState } from "react";import Image from "next/image";import { ArrowUpRight } from "lucide-react";import { PrimaryButton, SecondaryButton } from "@site/src/components/Buttons";@@ -5,6 +8,55 @@ import { PauseOffscreen } from "@site/src/components/PauseOffscreen";import { DYNAMIC_LOGOS } from "./CompanyLogos";import styles from "./HomeSection.module.scss";+/**+ * One-shot "encrypted text decoder" effect for the install command.+ * Each character index has a lock time proportional to its position;+ * before its lock time the slot renders a random ASCII char from+ * `DECODER_CHARSET`, after it settles to the real character. Total+ * cycle is `durationMs`; the loop falls through once the last char+ * locks, so the effect only plays on mount.+ */+const DECODER_CHARSET =+ "abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*-=_+[]{}|;:,.<>?/~`";++function useDecodedText(target: string, durationMs: number): string {+ // Initial render uses the final string so the SSR-flushed HTML matches+ // the post-decode state — the useEffect kicks in client-side, swaps+ // it for scrambled text, then walks it back to `target`.+ const [display, setDisplay] = useState(target);++ useEffect(() => {+ const start = performance.now();+ let raf = 0;+ const tick = (now: number) => {+ const t = (now - start) / durationMs;+ if (t >= 1) {+ setDisplay(target);+ return;+ }+ // Lock the final ~15% of progress for the last char so the very+ // end of the animation feels deliberate, not a sudden snap.+ const lockProgress = t / 0.85;+ const next = Array.from(target)+ .map((c, i) => {+ if (c === " ") return " ";+ const lockAt = i / target.length;+ if (lockProgress >= lockAt) return c;+ return DECODER_CHARSET[+ Math.floor(Math.random() * DECODER_CHARSET.length)+ ];+ })+ .join("");+ setDisplay(next);+ raf = requestAnimationFrame(tick);+ };+ raf = requestAnimationFrame(tick);+ return () => cancelAnimationFrame(raf);+ }, [target, durationMs]);++ return display;+}+type Brand = {name: string;slug: string;@@ -44,10 +96,15 @@ const BANNER_ITEMS = [];const HomeHeroSection: React.FC = () => {+ const installText = useDecodedText("pip install deepteam", 2600);+return (<section className={styles.hero}><div className={styles.main}>- <h1 className={styles.title}>The LLM Red Teaming Framework</h1>+ <h1 className={styles.title}>+ The LLM{" "}+ <span className={styles.titleAccent}>Red Teaming</span> Framework+ </h1><p className={styles.description}>Used by some of the world's leading AI companies, DeepTeam@@ -68,6 +125,38 @@ const HomeHeroSection: React.FC = () => {</SecondaryButton></div></div>++ {/* Hero footer — install command in a rectangular box with a+ * rotating gradient border (deepteam-red sweep), plus the stat+ * dial below. Shield experiment was reverted in favor of this+ * simpler border-glow treatment. */}+ <div className={styles.heroFooter}>+ <div className={styles.installBlock}>+ <div className={styles.installCommand}>+ <span className={styles.installPrompt}>$</span>+ <code>{installText}</code>+ </div>+ </div>+ <div+ className={styles.statRoller}+ aria-label="DeepTeam by the numbers"+ >+ <span className={styles.statWindow}>+ <ul className={styles.statTrack}>+ <li>60+ adversarial attacks</li>+ <li>30+ vulnerability types</li>+ <li>6+ safety frameworks</li>+ <li aria-hidden="true">60+ adversarial attacks</li>+ </ul>+ </span>+ </div>+ </div>+ {/* Scrolling stats banner hidden for now — at deepteam's current+ * traction, even the soft claims ("Used by leading security & AI+ * teams") read as aspirational. The BANNER_ITEMS array stays+ * defined above so reviving the ticker later is a one-block+ * uncomment + tweak. */}+ {/*<PauseOffscreenclassName={styles.banner}aria-label="DeepTeam by the numbers"@@ -84,6 +173,13 @@ const HomeHeroSection: React.FC = () => {))}</div></PauseOffscreen>+ */}+ {/* Brand logo grid hidden for now — the 20-brand strip (Google,+ * Uber, OpenAI, LEGO, etc.) was inherited verbatim from deepeval+ * and overstates deepteam's current adoption. Keep the JSX ++ * BRANDS array so it's a one-edit revival once we have honest+ * customer logos to show. */}+ {/*<div className={styles.logoGrid} aria-label="Companies using DeepTeam">{BRANDS.map((brand) => {const DynamicLogo = DYNAMIC_LOGOS[brand.slug];@@ -108,6 +204,7 @@ const HomeHeroSection: React.FC = () => {);})}</div>+ */}</section>);};diff --git a/docs/src/sections/home/HomeSection.module.scss b/docs/src/sections/home/HomeSection.module.scssindex 76e226dc..863a9826 100644--- a/docs/src/sections/home/HomeSection.module.scss+++ b/docs/src/sections/home/HomeSection.module.scss@@ -20,14 +20,21 @@.title {margin: 0;- font-size: clamp(31px, 4.2vw, 46px);+ /* Geist Pixel Grid for a security-console feel. Pixel grid encodes+ * its own spacing so we run letter-spacing flat. */+ font-family: var(--font-geist-pixel-grid), ui-monospace, monospace;+ font-size: clamp(42px, 5.5vw, 64px);font-weight: 500;- line-height: 1.02;- letter-spacing: -0.03em;+ line-height: 1.05;+ letter-spacing: 0;color: var(--color-fd-foreground);text-wrap: balance;}+ .titleAccent {+ color: var(--color-deepteam-red);+ }+.description {margin: 0;max-width: 28rem;@@ -98,6 +105,197 @@}}+/* -------------------------------------------------------------------+ * Hero footer — install command (with a rotating deepteam-red scan+ * glow around it) + a single-line stat dial that rolls between three+ * verifiable claims. Replaces the deleted brand-logo grid and+ * scrolling stats banner.+ * ----------------------------------------------------------------- */++.heroFooter {+ margin-top: 1.75rem;+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: 0.95rem;+}++/* Custom property declarations so the angle vars are animatable —+ * without `@property`, browsers treat custom properties as opaque+ * strings and `animation` can't interpolate between angle values, so+ * gradients would snap from 0deg → 360deg instead of sweeping. */+@property --scan-angle {+ syntax: "<angle>";+ initial-value: 0deg;+ inherits: false;+}+@property --plasma-angle {+ syntax: "<angle>";+ initial-value: 0deg;+ inherits: false;+}++/* Shield silhouette — 12-vertex polygon roughly approximating the+ * classic pointed-bottom security shield. `clip-path` is applied to+ * the WHOLE frame so the scan glow (::before) and plasma field+ * (::after) both follow the shield outline instead of bleeding+ * outside as a rectangle. */+/* Rectangular install block with a rotating deepteam-red gradient+ * border — the simpler fallback after the shield experiment. The 1px+ * padding IS the border thickness; the ::before paints a conic+ * gradient that sweeps around the perimeter, and the inner+ * .installCommand has a solid background so the gradient is only+ * visible as a thin animated outline. */+.installBlock {+ position: relative;+ padding: 1px;+ isolation: isolate;+ width: fit-content;+ --scan-angle: 0deg;++ &::before {+ content: "";+ position: absolute;+ inset: 0;+ z-index: -1;+ background: conic-gradient(+ from var(--scan-angle),+ transparent 0deg,+ var(--color-deepteam-red) 60deg,+ transparent 120deg,+ transparent 240deg,+ var(--color-deepteam-red) 300deg,+ transparent 360deg+ );+ animation: installScan 3s linear infinite;+ }+}++@keyframes installScan {+ to {+ --scan-angle: 360deg;+ }+}++.installCommand {+ position: relative;+ z-index: 1;+ display: inline-flex;+ align-items: center;+ gap: 0.55rem;+ padding: 0.7rem 1.1rem;+ background: var(--color-fd-background);+ font-family: var(--font-mono, ui-monospace), SFMono-Regular, Menlo,+ "JetBrains Mono", Consolas, monospace;+ font-size: 13.5px;+ line-height: 1;+ color: var(--color-fd-foreground);+ user-select: all;++ > code {+ background: none;+ padding: 0;+ font: inherit;+ /* Reserve horizontal room so the decoder animation, which swaps+ * each glyph for narrower / wider random chars during the fade,+ * doesn't visibly twitch the parent width during the ~1.5s run. */+ min-width: 11ch;+ display: inline-block;+ }+}++.installPrompt {+ color: var(--color-deepteam-red);+ font-weight: 600;+}++.statRoller {+ font-family: var(--font-mono, ui-monospace), SFMono-Regular, Menlo,+ monospace;+ font-size: 12.5px;+ letter-spacing: 0.02em;+ color: var(--color-fd-muted-foreground);+}++.statWindow {+ /* A 1-line-tall window. `overflow: hidden` + a top/bottom mask+ * produces the "slot-machine dial" look — the next line eases in+ * from a soft fade rather than appearing abruptly at the edge. */+ display: inline-block;+ vertical-align: middle;+ height: 1.5em;+ overflow: hidden;+ mask-image: linear-gradient(+ to bottom,+ transparent 0%,+ black 28%,+ black 72%,+ transparent 100%+ );+ -webkit-mask-image: linear-gradient(+ to bottom,+ transparent 0%,+ black 28%,+ black 72%,+ transparent 100%+ );+}++.statTrack {+ margin: 0;+ padding: 0;+ list-style: none;+ /* 12s total cycle: ~3.4s hold per stat + ~0.6s roll between. The+ * 4th <li> repeats the 1st so the wrap from final → first reads as+ * one continuous roll instead of snapping back. */+ animation: statRoll 12s infinite;++ > li {+ height: 1.5em;+ line-height: 1.5em;+ display: block;+ white-space: nowrap;+ }+}++@keyframes statRoll {+ 0%,+ 25% {+ transform: translateY(0);+ }+ 33%,+ 58% {+ transform: translateY(-1.5em);+ }+ 66%,+ 91% {+ transform: translateY(-3em);+ }+ 100% {+ transform: translateY(-4.5em);+ }+}++@media (prefers-reduced-motion: reduce) {+ .installBlock::before {+ animation: none;+ /* Hold a static red glow rather than disappear entirely. */+ background: conic-gradient(+ from 45deg,+ transparent 0deg,+ var(--color-deepteam-red) 90deg,+ transparent 180deg,+ transparent 360deg+ );+ }+++ .statTrack {+ animation: none;+ transform: translateY(0);+ }+}+.logoGrid {display: grid;grid-template-columns: repeat(5, 1fr);@@ -170,7 +368,7 @@@media (max-width: 640px) {.main {.title {- font-size: clamp(29px, 7vw, 37px);+ font-size: clamp(32px, 7vw, 42px);}.description {diff --git a/docs/yarn.lock b/docs/yarn.lockindex 931e7a35..8fc1793a 100644--- a/docs/yarn.lock+++ b/docs/yarn.lock@@ -2180,6 +2180,11 @@ [email protected]:tailwind-merge "^3.5.0"unist-util-visit "^5.1.0"+geist@^1.7.2:+ version "1.7.2"+ resolved "https://registry.yarnpkg.com/geist/-/geist-1.7.2.tgz#96f6e5d2b3305fd27eacbd5ae4dcfbc5a15e6939"+ integrity sha512-Gu5lDFa3pLRyoBlBPf0QIFHVdWAnpco7fS1bJm41jyLPFoguBgiubseUN2oLXMgqZ7uxAxDoXcHMhCY/fOTTgg==+get-nonce@^1.0.0:version "1.0.1"resolved "https://registry.npmjs.org/get-nonce/-/get-nonce-1.0.1.tgz"