Skip to main content

better-auth

Enables secure authentication and authorization in TypeScript applications with features like OAuth, 2FA, and session management.

Install this skill

or
87/100

Security score

The better-auth skill was audited on Mar 1, 2026 and we found 9 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 32

Access to .env file

SourceSKILL.md
32Create `.env`:
low line 55

Access to .env file

SourceSKILL.md
55clientId: process.env.GITHUB_CLIENT_ID!,
low line 56

Access to .env file

SourceSKILL.md
56clientSecret: process.env.GITHUB_CLIENT_SECRET!,
low line 90

Access to .env file

SourceSKILL.md
90baseURL: process.env.NEXT_PUBLIC_BETTER_AUTH_URL || "http://localhost:3000"
low line 35

External URL reference

SourceSKILL.md
35BETTER_AUTH_URL=http://localhost:3000
low line 90

External URL reference

SourceSKILL.md
90baseURL: process.env.NEXT_PUBLIC_BETTER_AUTH_URL || "http://localhost:3000"
low line 201

External URL reference

SourceSKILL.md
201- Docs: https://www.better-auth.com/docs
low line 203

External URL reference

SourceSKILL.md
203- Plugins: https://www.better-auth.com/docs/plugins
low line 204

External URL reference

SourceSKILL.md
204- Examples: https://www.better-auth.com/docs/examples
Scanned on Mar 1, 2026
View Security Dashboard