Skip to main content

clerk-observability

Enables comprehensive monitoring and logging for Clerk authentication, aiding in debugging and audit logging for production environments.

Install this skill

or
57/100

Security score

The clerk-observability skill was audited on Jun 2, 2026 and we found 19 security issues across 4 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 96

Template literal with variable interpolation in command context

SourceSKILL.md
96console.warn(`[Auth Perf] ${req.nextUrl.pathname} took ${duration}ms`, {
medium line 104

Template literal with variable interpolation in command context

SourceSKILL.md
104response.headers.set('X-Auth-Duration', `${duration}ms`)
medium line 30

Webhook reference - potential data exfiltration

SourceSKILL.md
30Implement monitoring, logging, and observability for Clerk authentication. Covers structured auth logging, middleware performance tracking, webhook event monitoring, Sentry integration, and health che
medium line 108

Webhook reference - potential data exfiltration

SourceSKILL.md
108### Step 3: Webhook Event Tracking
low line 111

Webhook reference - potential data exfiltration

SourceSKILL.md
111// app/api/webhooks/clerk/route.ts
low line 114

Webhook reference - potential data exfiltration

SourceSKILL.md
114async function handleWebhookEvent(evt: WebhookEvent) {
low line 117

Webhook reference - potential data exfiltration

SourceSKILL.md
117// Track webhook processing metrics
low line 129

Webhook reference - potential data exfiltration

SourceSKILL.md
129path: '/webhooks/clerk',
low line 139

Webhook reference - potential data exfiltration

SourceSKILL.md
139path: '/webhooks/clerk',
low line 147

Webhook reference - potential data exfiltration

SourceSKILL.md
147path: '/webhooks/clerk',
low line 154

Webhook reference - potential data exfiltration

SourceSKILL.md
154// Alert on slow webhook processing
low line 156

Webhook reference - potential data exfiltration

SourceSKILL.md
156console.error('[Webhook] Slow processing:', metrics)
low line 276

Webhook reference - potential data exfiltration

SourceSKILL.md
276webhookEvents24h: await db.webhookEvent.count({
medium line 289

Webhook reference - potential data exfiltration

SourceSKILL.md
289- Webhook event monitoring with processing time metrics
medium line 299

Webhook reference - potential data exfiltration

SourceSKILL.md
299| Webhook failure rate > 1% | Alert on processing errors, check endpoint health |
low line 47

Access to .env file

SourceSKILL.md
47level: process.env.LOG_LEVEL || 'info',
low line 48

Access to .env file

SourceSKILL.md
48transport: process.env.NODE_ENV === 'development' ? { target: 'pino-pretty' } : undefined,
low line 203

Access to .env file

SourceSKILL.md
203dsn: process.env.SENTRY_DSN,
low line 316

External URL reference

SourceSKILL.md
316- [Pino Logger](https://getpino.io/)
Scanned on Jun 2, 2026
View Security Dashboard
Installation guide →