reaatech/mcp-gateway/audit-trail
Claude Code and agent skill by reaatech/mcp-gateway
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install reaatech/mcp-gateway/audit-trailSKILL.md
The same SKILL.md was published earlier as reaatech/mcp-gateway/audit-trail.
Audit Trail
Capability
Compliance audit logging with structured JSON output, multiple storage backends, tamper-evident chaining, and query API.
Package
@reaatech/mcp-gateway-audit — packages/audit/src/
Components
| Component | Purpose | |
|---|---|---|
audit-logger.ts | Core logging: ConsoleAuditLogger, FileAuditLogger, CompositeAuditLogger, TamperEvidentLogger | |
audit-storage.ts | MemoryAuditStorage and FileAuditStorage backends | |
audit-query.ts | Query API with filtering by tenant, event type, date range, limit | |
event-types.ts | Event type configurations and severity mappings | |
types.ts | AuditEvent, AuditEventType, AuditSeverity, AuditQueryParams |
Audit Event Types
| Event | Triggered When | |
|---|---|---|
auth.success | Authentication succeeds | |
auth.failure | Authentication fails | |
rate_limit.exceeded | Rate limit exceeded | |
allowlist.denied | Tool access denied | |
tool.executed | Tool execution completes | |
cache.hit | Cache hit | |
cache.miss | Cache miss | |
upstream.error | Upstream server error |
Audit Event Format
Storage Backends
| Backend | Use Case | |
|---|---|---|
Console (ConsoleAuditLogger) | Development, stdout | |
File (FileAuditLogger) | Production, JSONL format, append-only | |
Memory (MemoryAuditStorage) | Queryable, for API access | |
Composite (CompositeAuditLogger) | Fan-out to multiple backends | |
Tamper-Evident (TamperEvidentLogger) | SHA-256 chain integrity verification |
Error Handling
- Audit failures never block request processing (fire-and-forget)
- Failed audit writes logged at WARN level
- Integrity verification via
computeEventHashandverifyAuditChain
Security Considerations
- PII automatically redacted (tokens, IPs masked)
- Audit logs immutable (append-only)
- Tamper detection via hash chaining
- Audit log queries gated behind admin-scoped auth
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/audit-trail/skill.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/reaatech/mcp-gateway/audit-trail)