audit-logging — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited audit-logging (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Any task involving audit trails, compliance logging, change tracking, tamper detection, event recording for accountability, or data retention policies.
Every audit event MUST capture:
| Field | Description | Example |
|---|---|---|
| who | user_id, IP address, session_id, service account | { userId: "u-123", ip: "10.0.1.5", sessionId: "sess-abc" } |
| what | action performed, resource affected, changes made | { action: "update", resource: "user/u-456", changes: { email: { from: "[email protected]", to: "[email protected]" } } } |
| when | UTC timestamp, monotonic sequence number | { timestamp: "2025-01-15T10:30:00Z", sequence: 1042 } |
| why | correlation_id, request_id, triggering event | { correlationId: "req-789", trigger: "user_request" } |
| outcome | success or failure, error details if failed | { status: "success" } or { status: "failure", error: "permission_denied" } |
Append-only storage:
Hash chain for tamper detection:
event.hash = SHA-256(event.data + previous_event.hash)Alternative: immutable storage backends:
| Tier | Duration | Storage | Access |
|---|---|---|---|
| Hot | 90 days | Primary database (indexed) | Real-time query |
| Warm | 1 year | Object storage (Parquet/JSON) | Query via data warehouse |
| Cold | 7+ years | Compressed archive (Glacier/equivalent) | Manual retrieval |
Rules:
Authentication:
Authorization:
Data mutations:
Admin actions:
Failed access attempts:
Required indexes:
user_id — "show me everything user X did."resource_id — "show me everything that happened to resource Y."timestamp — "show me events in time range."action — "show me all delete events."correlation_id — "show me the full request chain."Search capabilities:
Middleware/interceptor approach:
Request → [Auth] → [Audit: log attempt] → Handler → [Audit: log outcome] → ResponseEvent-driven approach:
Database trigger approach:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.