Skip to main content

auth-implementation-patterns

Master authentication and authorization patterns to build secure, scalable access control systems for APIs and applications.

Install this skill

or
84/100

Security score

The auth-implementation-patterns skill was audited on Mar 8, 2026 and we found 12 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 353

Template literal with variable interpolation in command context

SourceSKILL.md
353`${process.env.FRONTEND_URL}/auth/callback?token=${tokens.accessToken}`,
low line 79

Access to .env file

SourceSKILL.md
79process.env.JWT_SECRET!,
low line 85

Access to .env file

SourceSKILL.md
85process.env.JWT_REFRESH_SECRET!,
low line 95

Access to .env file

SourceSKILL.md
95return jwt.verify(token, process.env.JWT_SECRET!) as JWTPayload;
low line 156

Access to .env file

SourceSKILL.md
156payload = jwt.verify(refreshToken, process.env.JWT_REFRESH_SECRET!) as {
low line 185

Access to .env file

SourceSKILL.md
185process.env.JWT_SECRET!,
low line 235

Access to .env file

SourceSKILL.md
235url: process.env.REDIS_URL,
low line 242

Access to .env file

SourceSKILL.md
242secret: process.env.SESSION_SECRET!,
low line 246

Access to .env file

SourceSKILL.md
246secure: process.env.NODE_ENV === "production", // HTTPS only
low line 309

Access to .env file

SourceSKILL.md
309clientID: process.env.GOOGLE_CLIENT_ID!,
low line 310

Access to .env file

SourceSKILL.md
310clientSecret: process.env.GOOGLE_CLIENT_SECRET!,
low line 353

Access to .env file

SourceSKILL.md
353`${process.env.FRONTEND_URL}/auth/callback?token=${tokens.accessToken}`,
Scanned on Mar 8, 2026
View Security Dashboard
Installation guide →