Grades are a hygiene check, not a security guarantee.

Claude Code, Skill

Fastapi Production Rules

Production-grade conventions for FastAPI + SQLAlchemy 2.0 async + Pydantic v2 projects — layering (router → service → model), transactions, errors, schemas, pagination, multi-tenancy, auth, security, logging, background tasks (ArdiQ), testing, migrations, and deployment.

Compatibility: Not stated.

Grade B

Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

SECRETS_PATH_DOTENV

Why this grade

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    references/app-setup.md, line 15 model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8", extra="ignore")

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

    Pass

    No network call found.

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_DOTENV

    SKILL.md, line 274

    Secrets and per-environment values live in `Settings(BaseSettings)`. Secrets are `SecretStr` with **no default**, so the app refuses to start without them. Fields are typed (`Postg

    references/app-setup.md, line 15

    model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8", extra="ignore")

    references/app-setup.md, line 56

    - Commit a `.env.example` with every variable and dummy values. Never commit `.env`.

    Show more

    references/deployment.md, line 53

    .venv

    references/deployment.md, line 54

    .env

    references/deployment.md, line 56

    !.env.example

    references/deployment.md, line 65

    - No dev dependencies, no tests, no `.env`, no `.git` in the image.

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • 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 f1944c3fa910. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: f1944c3fa910ceb51cb5c6ef0a51bcb6297c5ee1

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.

Read how this letter is chosen