ZERO 1.0 · MISTRAL SMALL 4 (119B MoE) · GATED WEIGHTS & PRIVATE API
CORTEXROUTER LAB · FIND IT BEFORE THEY DO.
CortexRouter Zero 1.0 — 119B MoE Zero-Day Discovery Engine
Trained on Mistral Small 4 (119B total parameters, ~6.5B active per token across 128 hybrid Mixture-of-Experts, 256K context window), our flagship model uncovers multi-file authentication bypasses, cryptographic flaws, and memory-safety bugs missed by static rules.
🔒 Weights Not Publicly Released — API Access by Request: To prevent dual-use misuse, CortexRouter Zero 1.0 (119B) weights remain unpublished. Verified security teams, software vendors (PSIRT), CERT/CSIRT units, and enterprise defense partners may contact us to request private API access.
119B MoE
Mistral Small 4 · 128 Experts (~6.5B Active)
256K Tokens
Full-Repository Multi-File Context
12 HTR
Real-World HTR-2026 Zero-Day Findings
Gated API
Unpublished Weights · Zero Data Retention
Interactive Deep-Code Audit & Reasoning Explorer (Sanitized Cases)
100% Zero-JavaScript (0 KB JS): Filter by CWE family below and click any synthetic audit case to inspect how Zero 1.0 (119B MoE) traces multi-branch flaws missed by SAST.
#01 CWE-287 · Go · JWT Key Loader JWS Header `kid` Path Traversal Loads Predictable Empty Key (`/dev/null`) AUTH / RBAC
1. Multi-Branch Target Code Excerpt (Sanitized Demo Input)
// synthetic/jwtauth/verifier.go
func VerifySessionJWT(rawToken string, keyDir string) (*Claims, error) {
hdr, payload, sig, err := splitJWS(rawToken)
if err != nil || hdr.Alg != "HS256" {
return nil, ErrInvalidHeader
}
// Attacker sets kid="../../../dev/null" -> keyBytes is []byte{} (0 bytes)!
keyBytes, err := os.ReadFile(filepath.Join(keyDir, hdr.KeyID + ".key"))
if err != nil { return nil, err }
if !hmac.Equal(sig, computeHMAC256(keyBytes, payload)) {
return nil, ErrBadSignature
}
return parseClaims(payload)
}
2. CortexRouter Zero 1.0 (119B MoE) Structured Reasoning Output
01 · ROUTED MOE EXPERTS
Auth-Token Expert + Filesystem-Sink Analyzer
02 · MITRE CWE CLASS
CWE-287 (AUTH / RBAC)
06 · MODEL VERDICT
✓ CONFIRMED_LOGIC_FLAW
03 · WHY STATIC SAST MISSED IT
`Alg == "HS256"` and `hmac.Equal` pass standard JWT linter checks; `.key` suffix hides traversal unless path normalization is traced.
04 · ROOT-CAUSE CHAIN
`filepath.Join(keyDir, hdr.KeyID)` resolves `../` segments outside `keyDir`, allowing an attacker to sign arbitrary admin tokens with a known empty or public file.
05 · MINIMAL SAFE REMEDIATION
Validate `hdr.KeyID` against strict alphanumeric allowlist (`^[a-zA-Z0-9_-]{1,32}$`) or look up keys in an in-memory map.
3. Private Enterprise API Invocation (Requires Authorized Key)
curl -s https://api.cortexrouter.ai/v1/audit/completions \
-H "Authorization: Bearer $CORTEXROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"cortexrouter-zero-1.0-119b","reasoning_effort":"high","case_ref":"ZR-DEMO-01","cwe_focus":"CWE-287"}'
#02 CWE-190 · C / Rust FFI · Raster 32-Bit Dimension Overflow (`width * height * 4`) Under-Allocates Pixel Buffer MEMORY / DOS
1. Multi-Branch Target Code Excerpt (Sanitized Demo Input)
// synthetic/imgcodec/raster_ffi.c
int decode_rgba_tile(uint32_t width, uint32_t height, const uint8_t *src, size_t src_len) {
if (width > 65535 || height > 65535) return -1;
// 65535 * 65535 * 4 overflows 32-bit uint32_t before widening to size_t!
uint32_t buf_bytes = width * height * 4;
uint8_t *rgba = (uint8_t *)malloc(buf_bytes);
if (!rgba) return -1;
return unpack_rows(rgba, width, height, src, src_len); // Out-of-bounds heap write
}
2. CortexRouter Zero 1.0 (119B MoE) Structured Reasoning Output
01 · ROUTED MOE EXPERTS
Memory-Safety Expert + Integer-Range Solver
02 · MITRE CWE CLASS
CWE-190 (MEMORY / DOS)
06 · MODEL VERDICT
✓ CONFIRMED_LOGIC_FLAW
03 · WHY STATIC SAST MISSED IT
Explicit upper-bound checks (`width <= 65535`, `height <= 65535`) fool pattern scanners into marking both operands bounded.
04 · ROOT-CAUSE CHAIN
`width * height * 4` wraps modulo `2^32` inside `uint32_t`, allocating a tiny heap buffer followed by multi-megabyte row writes.
05 · MINIMAL SAFE REMEDIATION
Perform checked `size_t` arithmetic (`__builtin_mul_overflow`) before allocation.
3. Private Enterprise API Invocation (Requires Authorized Key)
curl -s https://api.cortexrouter.ai/v1/audit/completions \
-H "Authorization: Bearer $CORTEXROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"cortexrouter-zero-1.0-119b","reasoning_effort":"high","case_ref":"ZR-DEMO-02","cwe_focus":"CWE-190"}'
#03 CWE-347 · Python · XML/SAML Auth Signature Verified on First `<Assertion>` While Session Reads Unverified Sibling CRYPTO / SIG
1. Multi-Branch Target Code Excerpt (Sanitized Demo Input)
# synthetic/sso/saml_consumer.py
def consume_saml_response(xml_doc: Element) -> str:
sig_node = xml_doc.find(".//ds:Signature", NS)
signed_assertion = sig_node.getparent()
verify_xmldsig(signed_assertion, IDP_CERT) # Verifies signed_assertion only!
# BUG: Queries the document root instead of the verified signed_assertion!
primary_subject = xml_doc.find(".//saml:Assertion/saml:Subject/saml:NameID", NS)
return primary_subject.text
2. CortexRouter Zero 1.0 (119B MoE) Structured Reasoning Output
01 · ROUTED MOE EXPERTS
Crypto-Protocol Expert + DOM-Tree Provenance Tracker
02 · MITRE CWE CLASS
CWE-347 (CRYPTO / SIG)
06 · MODEL VERDICT
✓ CONFIRMED_LOGIC_FLAW
03 · WHY STATIC SAST MISSED IT
`verify_xmldsig` cryptographic call is valid and executed unconditionally before reading `NameID`.
04 · ROOT-CAUSE CHAIN
Attacker prepends an unsigned `<saml:Assertion>` before the legitimately signed assertion; `xml_doc.find` returns the attacker's `NameID`.
05 · MINIMAL SAFE REMEDIATION
Extract `Subject/NameID` strictly from the exact `signed_assertion` subtree returned by `verify_xmldsig`.
3. Private Enterprise API Invocation (Requires Authorized Key)
curl -s https://api.cortexrouter.ai/v1/audit/completions \
-H "Authorization: Bearer $CORTEXROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"cortexrouter-zero-1.0-119b","reasoning_effort":"high","case_ref":"ZR-DEMO-03","cwe_focus":"CWE-347"}'
#04 CWE-639 · TypeScript · GraphQL Shared Request-Batch DataLoader Leaks Cross-Tenant Invoice Objects AUTH / RBAC
1. Multi-Branch Target Code Excerpt (Sanitized Demo Input)
// synthetic/graphql/loaders.ts (singleton cache across HTTP requests!)
const invoiceLoader = new DataLoader<string, Invoice>(async (ids) => {
const rows = await db.query("SELECT * FROM invoices WHERE id = ANY($1)", [ids]);
return ids.map((id) => rows.find((r) => r.id === id));
});
export async function resolveInvoice(_: unknown, args: { id: string }, ctx: AuthCtx) {
if (!ctx.orgId) throw new UnauthorizedError();
return invoiceLoader.load(args.id); // Missing ctx.orgId ownership verification!
}
2. CortexRouter Zero 1.0 (119B MoE) Structured Reasoning Output
01 · ROUTED MOE EXPERTS
Multi-Tenant Isolation Expert + Async-Lifecycle Analyzer
02 · MITRE CWE CLASS
CWE-639 (AUTH / RBAC)
06 · MODEL VERDICT
✓ CONFIRMED_LOGIC_FLAW
03 · WHY STATIC SAST MISSED IT
`ctx.orgId` guard is present in resolver and SQL query uses parameterized `$1` binding.
04 · ROOT-CAUSE CHAIN
Module-scoped `DataLoader` caches records across all tenants and never checks `invoice.orgId === ctx.orgId`.
05 · MINIMAL SAFE REMEDIATION
Instantiate `DataLoader` per request context and filter `WHERE id = ANY($1) AND org_id = $2`.
3. Private Enterprise API Invocation (Requires Authorized Key)
curl -s https://api.cortexrouter.ai/v1/audit/completions \
-H "Authorization: Bearer $CORTEXROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"cortexrouter-zero-1.0-119b","reasoning_effort":"high","case_ref":"ZR-DEMO-04","cwe_focus":"CWE-639"}'
#05 CWE-362 · Go · Ledger Service Read-Then-Write Balance Check Outside Serializable Transaction Enables Double-Spend CRYPTO / SIG
1. Multi-Branch Target Code Excerpt (Sanitized Demo Input)
// synthetic/ledger/withdraw.go
func Withdraw(ctx context.Context, db *sql.DB, acctID string, amount int64) error {
var bal int64
_ = db.QueryRowContext(ctx, "SELECT balance FROM accounts WHERE id=$1", acctID).Scan(&bal)
if bal < amount {
return ErrInsufficientFunds
}
_, err := db.ExecContext(ctx, "UPDATE accounts SET balance = balance - $1 WHERE id=$2", amount, acctID)
return err
}
2. CortexRouter Zero 1.0 (119B MoE) Structured Reasoning Output
01 · ROUTED MOE EXPERTS
Concurrency & DB-Isolation Expert + State-Invariant Checker
02 · MITRE CWE CLASS
CWE-362 (CRYPTO / SIG)
06 · MODEL VERDICT
✓ CONFIRMED_LOGIC_FLAW
03 · WHY STATIC SAST MISSED IT
Sequential logic appears sound in single-threaded control-flow analysis.
04 · ROOT-CAUSE CHAIN
Concurrent requests pass `bal < amount` simultaneously before `UPDATE` commits, driving account balance negative.
05 · MINIMAL SAFE REMEDIATION
Use a single atomic statement: `UPDATE accounts SET balance = balance - $1 WHERE id = $2 AND balance >= $1`.
3. Private Enterprise API Invocation (Requires Authorized Key)
curl -s https://api.cortexrouter.ai/v1/audit/completions \
-H "Authorization: Bearer $CORTEXROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"cortexrouter-zero-1.0-119b","reasoning_effort":"high","case_ref":"ZR-DEMO-05","cwe_focus":"CWE-362"}'
#06 CWE-918 · TypeScript · Preview Fetch Pre-Fetch IP Blocklist Bypassed via HTTP 302 Redirect to Cloud Metadata WEB / XSS-CSRF
1. Multi-Branch Target Code Excerpt (Sanitized Demo Input)
// synthetic/preview/fetcher.ts
export async function fetchRemoteAvatar(rawUrl: string): Promise<ArrayBuffer> {
const parsed = new URL(rawUrl);
const resolvedIp = await dnsLookup(parsed.hostname);
if (isPrivateOrLinkLocalIp(resolvedIp)) {
throw new Error("Blocked internal address");
}
// Default redirect: "follow" silently follows 302 -> http://169.254.169.254/!
const resp = await fetch(parsed.toString(), { signal: AbortSignal.timeout(3000) });
return resp.arrayBuffer();
}
2. CortexRouter Zero 1.0 (119B MoE) Structured Reasoning Output
01 · ROUTED MOE EXPERTS
Network-Boundary Expert + HTTP-Client Semantics Analyzer
02 · MITRE CWE CLASS
CWE-918 (WEB / XSS-CSRF)
06 · MODEL VERDICT
✓ CONFIRMED_LOGIC_FLAW
03 · WHY STATIC SAST MISSED IT
`isPrivateOrLinkLocalIp` check is present right before `fetch`, fooling SSRF taint rules.
04 · ROOT-CAUSE CHAIN
Initial URL resolves to an external attacker IP that responds `302 Found` to `http://169.254.169.254/latest/meta-data/`, which `fetch` follows without re-checking.
05 · MINIMAL SAFE REMEDIATION
Set `redirect: 'error'` (or validate every hop via a custom socket dialer pinning the verified IP).
3. Private Enterprise API Invocation (Requires Authorized Key)
curl -s https://api.cortexrouter.ai/v1/audit/completions \
-H "Authorization: Bearer $CORTEXROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"cortexrouter-zero-1.0-119b","reasoning_effort":"high","case_ref":"ZR-DEMO-06","cwe_focus":"CWE-918"}'
#07 CWE-22 · Rust · Tar Extractor Two-Entry Symlink + File Tarball Escapes Destination Directory (Symlink Zip-Slip) MEMORY / DOS
1. Multi-Branch Target Code Excerpt (Sanitized Demo Input)
// synthetic/archiver/unpack.rs
pub fn unpack_bundle(archive: &mut Archive<File>, dest: &Path) -> io::Result<()> {
for entry in archive.entries()? {
let mut entry = entry?;
let rel = entry.path()?;
if rel.components().any(|c| matches!(c, Component::ParentDir)) {
return Err(io::Error::new(io::ErrorKind::InvalidInput, "parent traversal"));
}
// Entry 1 creates symlink 'dest/sub -> /etc'; Entry 2 writes 'dest/sub/cron.d/job'!
entry.unpack(dest.join(&rel))?;
}
Ok(())
}
2. CortexRouter Zero 1.0 (119B MoE) Structured Reasoning Output
01 · ROUTED MOE EXPERTS
Filesystem-State Expert + Multi-Step Archive Simulator
02 · MITRE CWE CLASS
CWE-22 (MEMORY / DOS)
06 · MODEL VERDICT
✓ CONFIRMED_LOGIC_FLAW
03 · WHY STATIC SAST MISSED IT
`Component::ParentDir` (`..`) check blocks lexical path traversal on individual entry names.
04 · ROOT-CAUSE CHAIN
Lexical path check ignores previously extracted symlink entries (`sub -> /etc`), allowing subsequent clean relative paths to write outside `dest`.
05 · MINIMAL SAFE REMEDIATION
Reject symlink/hardlink archive entries (`EntryType::Symlink`) and use `openat2(..., RESOLVE_BENEATH)`.
3. Private Enterprise API Invocation (Requires Authorized Key)
curl -s https://api.cortexrouter.ai/v1/audit/completions \
-H "Authorization: Bearer $CORTEXROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"cortexrouter-zero-1.0-119b","reasoning_effort":"high","case_ref":"ZR-DEMO-07","cwe_focus":"CWE-22"}'
#08 CWE-444 · C · Reverse Proxy Parser Tab-Separated `Transfer-Encoding:\tchunked` Triggers CL.TE Request Smuggling WEB / XSS-CSRF
1. Multi-Branch Target Code Excerpt (Sanitized Demo Input)
// synthetic/edgeproxy/http_hdr.c
int has_chunked_encoding(const char *hdr_line) {
// Only checks exact ASCII space after colon; misses horizontal tab '\t' or OWS!
return strncasecmp(hdr_line, "Transfer-Encoding: chunked", 26) == 0;
}
2. CortexRouter Zero 1.0 (119B MoE) Structured Reasoning Output
01 · ROUTED MOE EXPERTS
RFC-9112 Grammar Expert + Differential Parser Fuzzer
02 · MITRE CWE CLASS
CWE-444 (WEB / XSS-CSRF)
06 · MODEL VERDICT
✓ CONFIRMED_LOGIC_FLAW
03 · WHY STATIC SAST MISSED IT
Code explicitly inspects `Transfer-Encoding` header, appearing to handle chunked framing.
04 · ROOT-CAUSE CHAIN
Edge proxy ignores `Transfer-Encoding:\tchunked` and forwards using `Content-Length`, while RFC-compliant backend parses chunked body—desynchronizing the socket.
05 · MINIMAL SAFE REMEDIATION
Parse optional whitespace (OWS: SP / HTAB) per RFC 9112 and reject requests containing both `Transfer-Encoding` and `Content-Length`.
3. Private Enterprise API Invocation (Requires Authorized Key)
curl -s https://api.cortexrouter.ai/v1/audit/completions \
-H "Authorization: Bearer $CORTEXROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"cortexrouter-zero-1.0-119b","reasoning_effort":"high","case_ref":"ZR-DEMO-08","cwe_focus":"CWE-444"}'
Model Lineup Comparison — Zero 1.0 (119B) vs. Judge v1 (8B)
| Capability | CortexRouter Zero 1.0 (Flagship) | CortexRouter Judge v1 (Open Verifier) |
|---|---|---|
| Base Architecture | Mistral Small 4 · 119B Hybrid MoE (128 Experts, ~6.5B active) | Qwen3-8B + PEFT LoRA Adapter |
| Context Window | 256,000 Tokens (Full repository, AST & cross-file taint flow) | 32,768 Tokens (HTTP response, stack trace & lab evidence) |
| Primary Role | Deep source-code auditing, logical zero-day discovery & patch synthesis | Lab evidence verification & scanner false-positive elimination (80/80 Holdout) |
| Access & License | Unpublished Weights (Gated) · Private API Access by Request | Apache-2.0 Open Weights (Public on Hugging Face & GitHub) |
Private API Access Onboarding (Model Weights Unpublished)
- Institutional Inquiry (vahap@cortexrouter.ai): Reach out from your corporate or organizational domain (OpenPGP supported) detailing your team and defensive use case (PSIRT, AppSec, CI/CD auditing, or CERT).
- Responsible Dual-Use Verification: To prevent offensive misuse, API credentials are provisioned exclusively to verified defense teams, software vendors, and authorized security researchers.
- Isolated API Key & Zero Data Retention: Provisioned organizations receive a dedicated endpoint; submitted code excerpts are never logged, retained, or used for training.
- Structured JSON Integration: Query `/v1/audit/completions` to receive deterministic CWE classifications, cross-file call chains, and minimal remediation diffs.
Private API Request & Structured Response Schema
The CortexRouter Zero 1.0 endpoint is gated to verified partners and returns deterministic vulnerability diagnostics:
POST /v1/audit/completions (Request)
{
"model": "cortexrouter-zero-1.0-119b",
"reasoning_effort": "high",
"zero_data_retention": true,
"repository_context": {
"language": "go",
"files": ["auth/grant_router.go", "auth/ticket.go"]
}
}
Structured Audit Diagnostics (Response)
{
"verdict": "VULNERABLE",
"cwe": "CWE-287",
"confidence": 0.98,
"routed_experts": ["auth-state", "cross-branch-taint"],
"call_chain": ["IssueToken -> mintTicketToken"],
"minimal_patch_ready": true
}