Claude Code, Skill
Better Auth Firebase Auth
Better Auth Firebase Auth, a skill listed in the PlugVet directory.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/firebase-auth-client-plugin.ts, line 35
return fetch("/firebase-auth/sign-in-with-google", { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
examples/minimal/lib/auth.ts, line 30
// Hardcoded fallback: allows `next build` with no `.env` (Better Auth requires a - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
SKILL.md, line 69
privateKey: process.env.FIREBASE_PRIVATE_KEY!.replace(/\\n/g, "\n"), - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
pnpm-lock.yaml, line 1
lockfileVersion: '9.0'
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
src/firebase-auth-client-plugin.ts, line 35
return fetch("/firebase-auth/sign-in-with-google", {
src/firebase-auth-client-plugin.ts, line 46
return fetch("/firebase-auth/sign-in-with-email", {
src/firebase-auth-client-plugin.ts, line 57
return fetch("/firebase-auth/sign-in-with-phone", {
Show more
src/firebase-auth-client-plugin.ts, line 68
return fetch("/firebase-auth/send-password-reset", {
src/firebase-auth-client-plugin.ts, line 79
return fetch("/firebase-auth/confirm-password-reset", {
src/firebase-auth-client-plugin.ts, line 90
return fetch("/firebase-auth/verify-password-reset-code", {
src/firebase-auth-plugin.test.ts, line 1442
const res = await client.$fetch("/firebase-auth/sign-in-with-google", {
src/firebase-auth-plugin.test.ts, line 1470
const res = await client.$fetch("/firebase-auth/sign-in-with-email", {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
SKILL.md, line 69
privateKey: process.env.FIREBASE_PRIVATE_KEY!.replace(/\\n/g, "\n"),
examples/minimal/lib/auth.ts, line 9
const privateKey = process.env.FIREBASE_PRIVATE_KEY;
examples/minimal/lib/auth.ts, line 30
// Hardcoded fallback: allows `next build` with no `.env` (Better Auth requires a
Show more
examples/minimal/lib/auth.ts, line 33
secret: process.env.BETTER_AUTH_SECRET || "00000000000000000000000000000000",
src/cli.ts, line 123
// First file wins for a given key, matching dotenv: load .env.local first.
src/cli.ts, line 124
for (const file of [".env.local", ".env"]) {
.gitignore, line 7
# Environment variables
.gitignore, line 8
.env
.gitignore, line 9
.env.local
.gitignore, line 11
!.env.example
.gitignore, line 43
examples/*/.env*.local
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
pnpm-lock.yaml, line 1
lockfileVersion: '9.0'
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 8d62b98ded29. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 8d62b98ded29a3be7e52e950856a388f13a791c4
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.