Skip to main content

elysia-betterauth-api

Scaffolds a Bun + Elysia + BetterAuth API server for building secure, typed REST APIs with PostgreSQL integration.

Install this skill

or
72/100

Security score

The elysia-betterauth-api skill was audited on Mar 8, 2026 and we found 12 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 199

Template literal with variable interpolation in command context

SourceSKILL.md
199console.error(` ${issue.path.join(".")}: ${issue.message}`);
medium line 456

Template literal with variable interpolation in command context

SourceSKILL.md
456return new Elysia({ name: `guard:roles:${roles.join(",")}` })
medium line 830

Template literal with variable interpolation in command context

SourceSKILL.md
830console.log(`API running at ${app.server?.hostname}:${app.server?.port}`);
low line 195

Access to .env file

SourceSKILL.md
195const result = EnvSchema.safeParse(process.env);
medium line 218

Access to .env file

SourceSKILL.md
218Create `.env.example`:
low line 746

Access to .env file

SourceSKILL.md
746url: process.env.DATABASE_URL!,
low line 224

External URL reference

SourceSKILL.md
224BETTER_AUTH_URL="http://localhost:3011"
low line 225

External URL reference

SourceSKILL.md
225ALLOWED_ORIGINS="http://localhost:3000,http://localhost:5173"
low line 979

External URL reference

SourceSKILL.md
979- **Elysia:** https://elysiajs.com
low line 980

External URL reference

SourceSKILL.md
980- **BetterAuth:** https://better-auth.com
low line 981

External URL reference

SourceSKILL.md
981- **Drizzle ORM:** https://orm.drizzle.team
low line 982

External URL reference

SourceSKILL.md
982- **Bun:** https://bun.sh
Scanned on Mar 8, 2026
View Security Dashboard