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
56/100

Security score

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

Categories Tested

Security Issues

medium line 92

Template literal with variable interpolation in command context

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

Template literal with variable interpolation in command context

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

Webhook reference - potential data exfiltration

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

Webhook reference - potential data exfiltration

SourceSKILL.md
104### Step 3: Webhook Event Tracking
low line 106

Webhook reference - potential data exfiltration

SourceSKILL.md
106// app/api/webhooks/clerk/route.ts
low line 109

Webhook reference - potential data exfiltration

SourceSKILL.md
109async function handleWebhookEvent(evt: WebhookEvent) {
low line 112

Webhook reference - potential data exfiltration

SourceSKILL.md
112// Track webhook processing metrics
low line 124

Webhook reference - potential data exfiltration

SourceSKILL.md
124path: '/webhooks/clerk',
low line 134

Webhook reference - potential data exfiltration

SourceSKILL.md
134path: '/webhooks/clerk',
low line 142

Webhook reference - potential data exfiltration

SourceSKILL.md
142path: '/webhooks/clerk',
low line 149

Webhook reference - potential data exfiltration

SourceSKILL.md
149// Alert on slow webhook processing
low line 151

Webhook reference - potential data exfiltration

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

Webhook reference - potential data exfiltration

SourceSKILL.md
268webhookEvents24h: await db.webhookEvent.count({
medium line 280

Webhook reference - potential data exfiltration

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

Webhook reference - potential data exfiltration

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

Access to .env file

SourceSKILL.md
44level: process.env.LOG_LEVEL || 'info',
low line 45

Access to .env file

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

Access to .env file

SourceSKILL.md
197dsn: process.env.SENTRY_DSN,
low line 302

External URL reference

SourceSKILL.md
302- [Clerk Dashboard Analytics](https://dashboard.clerk.com)
low line 304

External URL reference

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