惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Palo Alto Networks Blog
大猫的无限游戏
大猫的无限游戏
Martin Fowler
Martin Fowler
GbyAI
GbyAI
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
量子位
T
The Blog of Author Tim Ferriss
Y
Y Combinator Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
CERT Recently Published Vulnerability Notes
Recent Announcements
Recent Announcements
A
About on SuperTechFans
aimingoo的专栏
aimingoo的专栏
P
Privacy International News Feed
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
博客园 - 叶小钗
L
Lohrmann on Cybersecurity
G
GRAHAM CLULEY
T
The Exploit Database - CXSecurity.com
Hugging Face - Blog
Hugging Face - Blog
P
Proofpoint News Feed
NISL@THU
NISL@THU
博客园 - Franky
C
Cybersecurity and Infrastructure Security Agency CISA
The Register - Security
The Register - Security
M
MIT News - Artificial intelligence
Know Your Adversary
Know Your Adversary
A
Arctic Wolf
F
Full Disclosure
T
Threat Research - Cisco Blogs
P
Privacy & Cybersecurity Law Blog
The Hacker News
The Hacker News
博客园 - 【当耐特】
D
Docker
T
Tailwind CSS Blog
S
SegmentFault 最新的问题
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Jina AI
Jina AI
Help Net Security
Help Net Security
V
Visual Studio Blog
小众软件
小众软件
B
Blog
Vercel News
Vercel News
云风的 BLOG
云风的 BLOG
N
News and Events Feed by Topic
Forbes - Security
Forbes - Security
N
Netflix TechBlog - Medium
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
C
Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
5 things missing from your AI agent audit logs (and how we fixed them in Signet v0.10)
willamhou · 2026-05-07 · via DEV Community

TL;DR — If your AI agent audit log only signs the intent (tool name + args), you're shipping demo-ware. Real audit needs 5 things most projects skip: outcome binding inside the signature scope, durable nonce stores, persistent server identity, portable forensic bundles, and encrypted-but-verifiable payloads. v0.10 of Signet ships all five today.


The gap between "demo passes" and "compliance team approves"

I've spent the last few months building Signet — an Ed25519-signed cryptographic audit SDK for AI agents. Along the way I noticed a pattern across every "let's add cryptographic audit to AI agents" project I looked at:

  1. Generate a keypair.
  2. Agent calls a tool.
  3. Sign {tool, params} with Ed25519.
  4. Stuff the signature into the audit log.
  5. npm test passes. Demo done.

That's a working prototype. It is not what a compliance team can sign off on.

Below are the five things v0.9 of Signet did not have, that v0.10 (shipped today) does. If you're building anything in this space, I think you have to answer these before claiming production-ready.


1. Outcome binding — sign what happened, not just what was requested

Most agent receipts sign the request: {tool: "delete_user", params: {id: 42}}. The receipt becomes a record that the agent intended to call that tool.

But here's the audit question that actually matters: what did the server actually do? Did it succeed? Did it reject the call (policy violation)? Did it crash mid-flight? An intent-only receipt can't tell you.

In v0.10, Signet's bilateral receipt (v3) embeds an Outcome field with one of four states — verified, rejected, executed, failedinside the signature scope. If a server claims it logged "executed" but the agent observed "failed", the receipt's signature is invalid.

// Rust: signing a bilateral receipt with outcome
let receipt = sign_bilateral_with_outcome(
    &server_key,
    &agent_receipt,
    &response,
    Outcome {
        status: OutcomeStatus::Executed,
        reason: None,
        error: None,
    },
)?;

// The status field is now under the signature.
// Tampering with it after the fact breaks verification.

Enter fullscreen mode Exit fullscreen mode

# Python — same shape
agent.sign_bilateral_with_outcome(
    agent_receipt=receipt,
    response={...},
    outcome={"status": "executed"},
)

Enter fullscreen mode Exit fullscreen mode

This is small in code but big in semantics. The receipt becomes a record of what actually happened, not just what was requested.


2. Durable nonce store — replay protection that survives a restart

Replay attacks against signed receipts are well-known. The standard mitigation: track nonces, reject any receipt whose nonce you've seen before.

The catch: most implementations use an in-memory hash set. Process restarts? Set is empty. Replay protection: gone for the duration of the warm-up window.

v0.10 ships FileNonceChecker — a JSON-file-backed nonce store, single-host pilot grade. It survives process restarts:

let checker = FileNonceChecker::new(Path::new("/var/lib/signet/nonces.json"))?;
let opts = BilateralVerifyOptions::default()  // now includes replay check by default
    .with_nonce_checker(Box::new(checker));

verify_bilateral(&receipt, &server_pubkey, &opts)?;

Enter fullscreen mode Exit fullscreen mode

# Python equivalent
agent.verify_bilateral(
    receipt=receipt,
    server_pubkey=pubkey,
    nonce_store="/var/lib/signet/nonces.json",
)

Enter fullscreen mode Exit fullscreen mode

// TypeScript — packages/signet-mcp-server FileNonceCache
import { FileNonceCache } from '@signet-auth/mcp-server';
const cache = new FileNonceCache('/var/lib/signet/nonces.json');
verifyRequest(req, { nonceCache: cache });

Enter fullscreen mode Exit fullscreen mode

Single-host only — distributed nonce stores (Redis-backed, etc.) are post-1.0. But "single-host pilot" is what most teams need first, and v0.9 didn't even have that.

Behavioral break to note: BilateralVerifyOptions::default() now enables in-memory replay protection by default. Use BilateralVerifyOptions::insecure_no_replay_check() for forensic replay flows where nonce reuse is expected.


3. Persistent server identity — your trust bundle finally has something to anchor

Bilateral signing means both the agent and the server sign the receipt. The server's public key needs to be stable — otherwise nothing can pin it. Trust bundles, allowlists, audit replay — all break the moment the server pubkey rotates.

In v0.9, the server keypair was ephemeral: generated on signet proxy startup. New process, new pubkey. Compliance teams loved that.

In v0.10:

# Generate identities — agent and server must be different keys
signet identity generate --name agent-prod
signet identity generate --name openclaw-gateway

# Use them persistently — same pubkeys across every restart
signet proxy \
  --target ./my_mcp_server \
  --key agent-prod \
  --server-key openclaw-gateway

# Compose the trust bundle by hand — CLI bundle creation is on the roadmap;
# `signet trust` today exposes inspect / list / disable / revoke / rotate for
# editing existing bundles. Full schema lives in docs/guides/team-deployment.md.
cat > trust.json <<JSON
{
  "version": 1,
  "bundle_id": "pilot-2026-Q2",
  "org": "your-org",
  "env": "pilot",
  "generated_at": "2026-05-11T00:00:00Z",
  "agents": [{
    "id": "agent-prod-2026-05",
    "name": "agent-prod",
    "owner": "you",
    "pubkey": "$(signet identity export --name agent-prod)",
    "status": "active",
    "created_at": "2026-05-11T00:00:00Z"
  }],
  "servers": [{
    "id": "openclaw-gateway-2026-05",
    "name": "openclaw-gateway",
    "owner": "you",
    "pubkey": "$(signet identity export --name openclaw-gateway)",
    "status": "active",
    "created_at": "2026-05-11T00:00:00Z"
  }],
  "roots": []
}
JSON

# Sanity-check the bundle parses
signet trust inspect ./trust.json

Enter fullscreen mode Exit fullscreen mode

The CLI also refuses to use the same key for both agent and server roles — a common foot-gun that silently invalidates the entire bilateral protocol.


4. Forensic bundle / restore — the artifact compliance teams actually want

A compliance team's question is rarely "is this audit log valid right now on this machine?" It's usually:

"Six months from now, on a different machine, with no access to your keystore, can you prove that this set of audit records was signed by [these specific keys] and that nothing was tampered with?"

That requires the audit data + the keys + the hash chain proof + version metadata, packaged together, self-verifying.

v0.10 ships:

# Producer side — package up an evidence bundle
signet audit --bundle ./evidence-2026-Q2 \
  --include-trust-bundle ./trust.json

# Output:
#   evidence-2026-Q2/
#   ├── records.jsonl       # the audit records
#   ├── manifest.json       # version + chain root + signer pubkeys
#   ├── hash-summary.txt    # human-readable chain summary
#   └── trust-bundle.json   # (optional) signer key set

# Verifier side — re-verify on ANY machine, no keystore required
signet audit --restore ./evidence-2026-Q2
# Verifies:
#   - every receipt's signature
#   - hash chain integrity
#   - timestamps in expected window
#   - trust bundle attestation chain

Enter fullscreen mode Exit fullscreen mode

The --restore flow is replay-tolerant by design: it uses BilateralVerifyOptions::forensic() so re-verifying the same receipt twice doesn't fail nonce-replay checks. Forensic verification is a different mode from live verification, and v0.10 makes that explicit instead of confusing the two.


5. Encrypted audit envelope — verifiable AND confidential

Audit logs that are cryptographically verifiable are great for forensics. Audit logs that contain customer data in plaintext are great for incident response. These two goods are usually in tension.

v0.10 wraps the params field of audit records in an XChaCha20-Poly1305 encrypted envelope:

# When signing, opt the audit record into encrypted params
signet sign \
  --tool send_email \
  --params '{"to": "alice@example.com"}' \
  --key agent-prod \
  --encrypt-params

# Forensic decrypt during export — uses the matching local identity from
# the keystore (no separate "encryption-only" key flag today)
signet audit --export ./audit-decoded.jsonl --decrypt-params

Enter fullscreen mode Exit fullscreen mode

The signature still covers the encrypted ciphertext — meaning verifiability is preserved without ever exposing the plaintext at rest. Anyone holding the audit log without the keystore sees only ciphertext; the --decrypt-params export materialises plaintext into the export file, scoped to that one operation.

v0.10 limitation: --encrypt-params reuses the signing agent's identity to derive the envelope key, so today "decrypt access" and "sign access" share one key. A dedicated encryption-only identity is on the roadmap; if you need that separation today, please open an issue.

This is the thing your security team has been asking for since you turned audit on.


Putting it together — a pilot deployment

Here's roughly what a single-host Signet pilot looks like with all 5 in play:

# 1. Generate identities (agent and server must be different keys)
signet identity generate --name agent-prod
signet identity generate --name openclaw-gateway   # stable server key

# 2. Compose the trust bundle JSON by hand
#    (paste pubkeys from `signet identity export --name <NAME>` — see Section 3)
$EDITOR ./trust.json
signet trust inspect ./trust.json   # verify it parses

# 3. Run the proxy with persistent agent + server identities + a policy
signet proxy \
  --target ./my_mcp_server \
  --key agent-prod \
  --server-key openclaw-gateway \
  --policy /etc/signet/policy.yaml

# 4. On the verifier side (same host or compliance host) — durable nonce store
#    is a `signet verify` flag, not a proxy flag in v0.10
signet verify <receipt-path> --nonce-store /var/lib/signet/nonces.json

# 5. Periodically bundle audit evidence for off-host handoff
signet audit --bundle ./evidence-2026-05-14 --include-trust-bundle ./trust.json

# 6. Compliance team can verify on a different machine
scp -r ./evidence-2026-05-14 compliance-host:
ssh compliance-host
signet audit --restore ./evidence-2026-05-14
# ✓ all signatures valid
# ✓ hash chain intact
# ✓ trust bundle attestation chain valid

Enter fullscreen mode Exit fullscreen mode

Full operator runbook: docs/guides/team-deployment.md.


What's not in v0.10 (and where the work is going)

Honest disclaimers:

  • Single-host only. Distributed nonce stores (Redis, FoundationDB-backed) are post-1.0.
  • No managed key rotation. You can rotate manually with new identities and bundle merges, but there's no operator-friendly flow yet.
  • No multi-tenant isolation. Each pilot is a single-tenant deployment.
  • BilateralVerifyOptions::default() is a behavioral break. It now defaults to in-memory replay protection. If you were calling verify_bilateral() repeatedly on the same receipt for forensic replay, you need insecure_no_replay_check().
  • OpenClaw plugin is fail-closed by default. That means a misconfigured Signet will block all tool calls, not silently allow them. This is the right default but trips people up — see the pilot runbook for the readiness signal flow.

Try it

# Python
pip install signet-auth==0.10.0

# Rust
cargo install signet-cli

# OpenClaw gateway plugin
openclaw plugins install @signet-auth/openclaw-plugin

Enter fullscreen mode Exit fullscreen mode

Repo: github.com/Prismer-AI/signet
v0.10 release notes: v0.10.0 release
Compliance mapping (SOC 2 / ISO 27001 / EU AI Act / NIST AI RMF): COMPLIANCE.md

If your AI agent audit log is missing any of these five things, I'd love to hear which one bites first in your environment. The fastest way to shape v0.11 is to tell me what doesn't work for you.