Skip to main content

managing-client-lifecycle

Manages PrismaClient lifecycle for graceful shutdown and logging, ensuring clean connections in Node.js applications and serverless functions.

Install this skill

or
85/100

Security score

The managing-client-lifecycle skill was audited on Feb 12, 2026 and we found 3 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 30

Template literal with variable interpolation in command context

SourceSKILL.md
30console.log(`Received ${signal}, closing gracefully...`)
medium line 104

Template literal with variable interpolation in command context

SourceSKILL.md
104console.log(`Query: ${e.query} (${e.duration}ms)`);
medium line 90

Access to .env file

SourceSKILL.md
90| **Environment-based** |`log: process.env.NODE_ENV === 'production' ? ['warn', 'error'] : ['query', 'info', 'warn', 'error']` | Conditional verbosity |
Scanned on Feb 12, 2026
View Security Dashboard
Installation guide →