Skip to content
B

better-auth-security-best-practices

Configure rate limiting, manage auth secrets, set up CSRF protection

by better-authFree

Launch
#3310in AI Skills
0In stores

Description

better-auth-security-best-practices is an agent skill from the better-auth skills collection that guides a coding agent through securing an…

Highlights

  • Rate limiting for auth endpoints
  • Auth secret management and lookup order
  • CSRF protection and trusted origins
  • Secure sessions, cookies and encrypted OAuth tokens
  • Install from skills.sh

Ratings & Reviews

No ratings yet

Be the first to rate better-auth-security-best-practices.

People also visit

E

email-and-password-best-practices

Email verification, password reset flows

AI Skills
Launch
S

secure-code-guardian

Implementing authentication/authorization, securing user input

AI Skills
Launch
Q

quarkus-security

Quarkus security implementation patterns: JWT and OIDC authentication

AI Skills
Launch
A

api-security-best-practices

Implement secure API design patterns including authentication, authorization

AI Skills
Launch
C

cc-skill-security-review

Ensures all code follows security best practices

AI Skills
Launch
N

nodejs-best-practices

Node.js development principles and decision-making

AI Skills
Launch

better-auth-security-best-practices FAQ

What does this skill cover?

Rate limiting, managing the auth secret, CSRF protection, trusted origins, secure sessions and cookies, encrypting OAuth tokens, and tracking IP addresses in a Better Auth setup.

Where does Better Auth read its secret?

The skill says it checks the secret option in your config first, then the BETTER_AUTH_SECRET environment variable, then AUTH_SECRET.

How do I install it?

Run npx skills add https://github.com/better-auth/skills --skill better-auth-security-best-practices.

What are the security audit results?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

How popular is it?

The page shows about 45.7K installs, and the better-auth/skills repository has 222 GitHub stars.

When should an agent use it?

When it is writing or reviewing authentication code for a Better Auth project, so it applies the library's recommended security settings.

What are the best better-auth-security-best-practices alternatives?

Popular alternatives to better-auth-security-best-practices include email-and-password-best-practices, secure-code-guardian and quarkus-security. See all better-auth-security-best-practices alternatives

Developer Stuff

Badges