Skip to content
KitploitKITPLOIT
أدواتعمليات الاستغلالالمدونة
Log in
إرسال
أدواتعمليات الاستغلالالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

الخلاصاتاتصالالخصوصية© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
FlashProve-Next — Verifiable inference for native-FP LLM APIs (vLLM, CUDA Graphs): folded ZK-Basefold + FracLogUp-GKR prover, zero-dep Rust verifier, and 28 Lean 4 modules. | Kitploit
أدوات/GitHubGitHub/s-jol/flashprove-next
CryptographyPrivacyMachine LearningPapers & ResearchAI Security
GitHubs-jol/flashprove-next

FlashProve-Next

Verifiable inference for native-FP LLM APIs (vLLM, CUDA Graphs): folded ZK-Basefold + FracLogUp-GKR prover, zero-dep Rust verifier, and 28 Lean 4 modules.

عرض المستودع
منذ يوم واحدلم تتم المراجعة بعد
مشاركة
الموقع الإلكتروني
المحتوى غير متوفر باللغة المطلوبة. عرض النسخة الإنجليزية.

FlashProve-Next

Verifiable inference for production LLM APIs. By Liang Song.

CI Release Lean 4 License

English · 简体中文 · Project Homepage · Reviewer Guide · Paper (PDF) · Specs (01–11)


Why This Exists

When you call a closed-weight LLM API, you have no cryptographic proof of what ran behind the endpoint: whether the server routed your request to a smaller model under load, quantized a bf16 checkpoint to int4, skipped layers, truncated context, or shortened a hidden system prompt to save reasoning tokens.

FlashProve-Next attaches a verifiable zero-knowledge-masked proof to an API response under two constraints:

  1. Keep production serving intact. No fixed-point surrogate model and no deterministic-integer rewrite. Inference runs in native floating point (bf16/fp8/mxfp4 with fp32 GEMM reductions), with temperature/top-$p$ sampling, FlashAttention, CUDA Graphs, continuous batching, and prefix caching. Proving runs asynchronously after streaming finishes.
  2. Protect serving secrets. The proof hides model weights, hidden system prompts, hidden chain-of-thought (CoT) text, intermediate activations, and multi-turn encrypted state. In v1.0.0, dense full-reply profiles still expose coarse geometry (layer/width tier); cross-architecture hidden-table privacy is deferred to v2.

Try It on Any Laptop CPU (No GPU, No Model Weights)

1. Rust FPN2 verifier (~10 ms per 8 MiB container)

Verify an exact 8,388,608 B zero-padded FPN2 container (fpn2-llm-std-v1, Q = 72, 64-row reference circuit) using both the zero-dependency #![forbid(unsafe_code)] Rust CLI (core/) and the detached pure-Python reference (verifier/python/, AST-tested for zero prover imports):

pip install numpy   # needed by the Python harness; Rust fpn-verify has zero dependencies
cargo build --release --manifest-path core/Cargo.toml --bin fpn-verify
python demo/run_v1_relation2_demo.py

On an unloaded Apple M1 CPU, the honest 8 MiB container verifies in ~10 ms (warm Rust CLI) and ~110 ms (Python), while all 8 negative checks (E_CIRCUIT_UNPINNED, E_CIRCUIT_PINNED, E_STMT_UNPINNED, E_STMT_PINNED, E_PADDING, E_LENGTH, gate forgery E_SUMCHECK, range forgery E_GKR_ROOT) reject identically across both verifiers and re-proving shares 0 aligned 64-byte private blocks.

2. Real Qwen3-0.6B API proof bundles (demo/run_demo.py)

Verify bundled proofs (Stage 1 FPNZK1 gzip format, ~10.1 MiB each) generated by unsliced Qwen/Qwen3-0.6B (L = 28, d = 1024, V = 151,936) on live vLLM 0.33 (CUDA_VISIBLE_DEVICES="" is enforced automatically; ~30–145 s total on Apple M1 depending on CPU load):

pip install -e ".[tokenizers]"
python -m flashprove_next.build_ext   # optional C++ Goldilocks speedup; pure NumPy works too
python demo/run_demo.py

Checks 3 honest replies (VERIFIED: hidden system prompt + hidden <think> CoT, Turn-1 multi-turn St_prev -> St_new chain, strict JSON-Schema constrained decoding) and 6 attacks (REJECTED: live int4-quantized server, missing --allow-reduced-security, altered reply token, replayed nonce, tampered St_prev, injected schema). Bundled proofs use the compact qwen3-0.6b-demo profile (4 + 2 draws); production profiles use NI-315 (210 + 105) or ExtSeed-153 (102 + 51).


Artifact, Verifier, and Lean 4 Coverage (v1.0.0)

One boundary is worth stating upfront: in v1.0.0, the zero-dependency Rust binary verifies self-contained FPN2 containers (Relations 1–6), whereas full 12-round interactive LLM replies (FPNZK2) still run through the Python verifier.

FormatWhat It ProvesProverVerifierLean 4 Coverage
FPN2 (binary, fixed size)Self-contained Relations 1–6: Relation 2 (8 MiB 64-row demo), Relation 4 AIR, Relations 5–6 (32×1024 tiles, incl. live vLLM 30B MoE)prover/fpn_prover/backend/Zero-dep Rust core/ (fpn-verify, 10–24 ms) & detached Python verifier/python/Executable verifiers for Rel 1, 3–5 (131/131 golden vectors) + conditional Fpn2EndToEnd (THEOREM.md §2.4); Rel 2 & 6 open
FPNZK2 (8 MiB transitional zero-padded JSON)Full 12-round interactive replies (Qwen3-0.6B ExtSeed-153, Qwen3-4B dev 4+2, 14/14 cheating matrix)flashprove_next/reply_zk.py → folded_engine.py (ZK-masked; simulator open)Isolated Python CPU verifier verifier/fpn_verify.py (10.8 s 0.6B / 7.2 s 4B; shares Python stack)Protocol-level RBR, sampling, mask, and blinding modules only; no executable Lean verifier yet
FPNZK1 (Stage 1 gzip)Historical v0.3.0 NI-315 (149.8 MB) & bundled laptop demo (demo/run_demo.py)Legacy flashprove_next/zk_flat.py (--backend legacy)Isolated Python CPU verifier verifier/fpn_verify.pyProtocol-level RBR, sampling, mask, and blinding modules only

Comparison with FlashProve

Anthropic's FlashProve showed that closed-weight 400B MoE inference can be proved without hardware enclaves by proving exact full-layer execution of a deterministic 4-bit integer surrogate. FlashProve-Next targets a different point in the design space: keeping native floating-point production serving unchanged.

DimensionFlashProve (2026-11)FlashProve-Next
GuaranteeExact full-layer execution of a committed 4-bit integer surrogateCost-weighted spot-check threshold ($\sigma = \rho = 0.5$): NI-315 ($\varepsilon \le 2^{-40}, Q \le 2^{64}$) or external-seed ExtSeed-153 ($\varepsilon \le 2^{-20}, Q_{\rm samp} \le 2^{30}$ with pre-recorded C_pre)
Committed modelDeterministic 4-bit integer surrogateDeployed bf16/fp8/mxfp4 weights, per-operator rounding bounds, hidden prompts, and sampling key
Serving stackGreedy or fixed-seed integer execution across all layersNative FP (fp32 GEMM reductions), random temperature/top-$p$ sampling, FlashAttention, CUDA Graph, continuous batching, prefix caching
PrivacyWeights only; architecture public; no hidden prompts, CoT, or multi-turn stateWeights, hidden prompts, hidden CoT, activations, and multi-turn state (v1.0.0 dense reply_zk fixes coarse geometry per profile; cross-architecture hiding in v2)
Commitment lifetimeExhausts after 688,127 batchesNon-depleting static RS commitment opened inside proofs (HCO, specs/09)
Proving structureProves every layer of every tokenProves a fixed cost-weighted sample (315 or 153 draws), independent of depth $L$

Core Mechanisms

تنزيل الأداة

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    # تطبيق GhostLock للتنفيذ بنقرة واحدة (CVE-2026-43499)

    960
  • 2

    wifit3

    derv82/wifit3

    Wifite لكن عبر USB فقط ومتعدد المنصات.

    749
  • 3

    OsintHunter

    letox4/osinthunter

    🎯 مجموعة أدوات OSINT المثالية: رسم بياني للتحقيق، وتقييم الثقة، وعائلات الأسماء المستعارة، وخريطة، وخط زمني، وتقارير. 49 وحدة، وأكثر من 400 موقع، دون الحاجة إلى مفاتيح API.

    628
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer هي منصة مفتوحة المصدر لإدارة الامتيازات (PAM) توفر لفرق DevOps وتكنولوجيا المعلومات وصولًا آمنًا عند الطلب إلى نقاط نهاية SSH وRDP وKubernetes وقواعد البيانات وRemoteApp عبر متصفح الويب.

    501
  • 5

    SafeLine

    chaitin/safeline

    WAF مستضافة ذاتيًا ووكيل عكسي يقوم بتصفية حركة المرور HTTP الضارة، ويمنع هجمات SQL injection و XSS وهجمات البوت، مع تحديد معدل الطلبات وتشفير HTML/JS الديناميكي.

    455
  • 6

    mcp-reverse

    1llu50ry/mcp-reverse

    خادم MCP يوفّر أكثر من 180 أداة لهندسة عكسية تجمع Ghidra وIDA وx64dbg وFrida و56 من الواجهات الخلفية الأخرى، مع محلّلات ثنائية أصلية وقاعدة معرفية تضم 4,200 مهارة.

    340

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →