Full-stack web application template with FastAPI, React, SQLModel, PostgreSQL, Vite, Tailwind CSS, shadcn/ui, FastAPI Cloud, and Docker Compose.
This report summarizes scanner evidence for fastapi/full-stack-fastapi-template, a TypeScript project with 45,937 GitHub stars. SynthScan examined 18,156 lines of code across 215 source files, recording 73 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 5.3 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 61 finding(s).
Are imports declared and package/API names verified? 10 finding(s).
Are wrappers, guards, and repeated structures necessary? 48 finding(s).
Which changes need focused human review? 73 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 73 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/app/utils.py | 70 | def generate_reset_password_email(email_to: str, email: str, token: str) -> EmailData: | CODE |
| LOW | backend/app/utils.py | 87 | def generate_new_account_email( | CODE |
| LOW | backend/app/utils.py | 105 | def generate_password_reset_token(email: str) -> str: | CODE |
| LOW | backend/app/utils.py | 118 | def verify_password_reset_token(token: str) -> str | None: | CODE |
| LOW | backend/app/main.py | 14 | def custom_generate_unique_id(route: APIRoute) -> str: | CODE |
| LOW | backend/app/core/config.py | 80 | def _enforce_non_default_secrets(self) -> Self: | CODE |
| LOW | backend/app/api/deps.py | 52 | def get_current_active_superuser(current_user: CurrentUser) -> User: | CODE |
| LOW | backend/app/api/routes/login.py | 105 | def recover_password_html_content(email: str, session: SessionDep) -> Any: | CODE |
| LOW | backend/tests/conftest.py | 39 | def normal_user_token_headers(client: TestClient, db: Session) -> dict[str, str]: | CODE |
| LOW | backend/tests/utils/user.py | 10 | def user_authentication_headers( | CODE |
| LOW | backend/tests/utils/user.py | 30 | def authentication_token_from_email( | CODE |
| LOW | backend/tests/utils/utils.py | 17 | def get_superuser_token_headers(client: TestClient) -> dict[str, str]: | CODE |
| LOW⚡ | backend/tests/crud/test_user.py | 30 | def test_not_authenticate_user(db: Session) -> None: | CODE |
| LOW⚡ | backend/tests/crud/test_user.py | 37 | def test_check_if_user_is_active(db: Session) -> None: | CODE |
| LOW⚡ | backend/tests/crud/test_user.py | 45 | def test_check_if_user_is_active_inactive(db: Session) -> None: | CODE |
| LOW⚡ | backend/tests/crud/test_user.py | 53 | def test_check_if_user_is_superuser(db: Session) -> None: | CODE |
| LOW⚡ | backend/tests/crud/test_user.py | 61 | def test_check_if_user_is_superuser_normal_user(db: Session) -> None: | CODE |
| LOW | backend/tests/api/routes/test_login.py | 28 | def test_get_access_token_incorrect_password(client: TestClient) -> None: | CODE |
| LOW | backend/tests/api/routes/test_login.py | 67 | def test_recovery_password_user_not_exits( | CODE |
| LOW | backend/tests/api/routes/test_login.py | 113 | def test_reset_password_invalid_token( | CODE |
| LOW | backend/tests/api/routes/test_items.py | 55 | def test_read_item_not_enough_permissions( | CODE |
| LOW | backend/tests/api/routes/test_items.py | 100 | def test_update_item_not_found( | CODE |
| LOW | backend/tests/api/routes/test_items.py | 114 | def test_update_item_not_enough_permissions( | CODE |
| LOW | backend/tests/api/routes/test_items.py | 142 | def test_delete_item_not_found( | CODE |
| LOW | backend/tests/api/routes/test_items.py | 154 | def test_delete_item_not_enough_permissions( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 15 | def test_get_users_superuser_me( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 26 | def test_get_users_normal_user_me( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 37 | def test_create_user_new_email( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 60 | def test_get_existing_user_as_superuser( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 79 | def test_get_non_existing_user_as_superuser( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 90 | def test_get_existing_user_current_user(client: TestClient, db: Session) -> None: | CODE |
| LOW | backend/tests/api/routes/test_users.py | 117 | def test_get_existing_user_permissions_error( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 132 | def test_get_non_existing_user_permissions_error( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 146 | def test_create_user_existing_username( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 165 | def test_create_user_by_normal_user( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 267 | def test_update_password_me_incorrect_password( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 282 | def test_update_user_me_email_exists( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 300 | def test_update_password_me_same_password_error( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 342 | def test_register_user_already_exists_error(client: TestClient) -> None: | CODE |
| LOW | backend/tests/api/routes/test_users.py | 384 | def test_update_user_not_exists( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 397 | def test_update_user_email_exists( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 451 | def test_delete_user_me_as_superuser( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 463 | def test_delete_user_super_user( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 482 | def test_delete_user_not_found( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 493 | def test_delete_user_current_super_user_error( | CODE |
| LOW | backend/tests/api/routes/test_users.py | 508 | def test_delete_user_without_privileges( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | compose.override.yml | 14 | # Create an entrypoint "http" listening on port 80 | COMMENT |
| MEDIUM | compose.deploy.yml | 18 | # Create an entrypoint "http" listening on port 80 | COMMENT |
| MEDIUM | compose.deploy.yml | 23 | # Create an entrypoint "https" listening on port 443 | COMMENT |
| MEDIUM | compose.deploy.yml | 60 | # Create a volume to store the certificates, even if the container is recreated | COMMENT |
| MEDIUM | compose.yml | 13 | # Create an entrypoint "http" listening on port 80 | COMMENT |
| MEDIUM | compose.yml | 46 | # Define the port inside of the Docker service to use | COMMENT |
| MEDIUM | compose.yml | 80 | # Define the port inside of the Docker service to use | COMMENT |
| MEDIUM | …98dd8ec85a3_edit_replace_id_integers_in_all_models_.py | 25 | # Create a new UUID column with a default UUID value | COMMENT |
| MEDIUM | backend/tests/crud/test_user.py | 101 | # Create a bcrypt hash directly (simulating legacy password) | COMMENT |
| MEDIUM | backend/tests/api/routes/test_login.py | 136 | # Create a bcrypt hash directly (simulating legacy password) | COMMENT |
| MEDIUM | backend/tests/api/routes/test_login.py | 170 | # Create an argon2 hash (current default) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/src/routes/login.tsx | 91 | placeholder="user@example.com" | CODE |
| LOW | frontend/src/routes/recover-password.tsx | 101 | placeholder="user@example.com" | CODE |
| LOW | frontend/src/routes/signup.tsx | 122 | placeholder="user@example.com" | CODE |
| LOW | backend/tests/api/routes/test_login.py | 54 | patch("app.core.config.settings.SMTP_USER", "admin@example.com"), | CODE |
| LOW | backend/tests/api/routes/test_users.py | 43 | patch("app.core.config.settings.SMTP_USER", "admin@example.com"), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/app/alembic/env.py | 1 | CODE | |
| LOW | …rsions/fe56fa70289e_add_created_at_to_user_and_item.py | 10 | CODE | |
| LOW | …98dd8ec85a3_edit_replace_id_integers_in_all_models_.py | 10 | CODE | |
| LOW | …sions/1a31ce608336_add_cascade_delete_relationships.py | 10 | CODE | |
| LOW | …ons/9c0a54914c78_add_max_length_for_string_varchar_.py | 10 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/playwright.config.ts | 41 | use: { | COMMENT |
| LOW | frontend/playwright.config.ts | 61 | // storageState: 'playwright/.auth/user.json', | COMMENT |
| LOW | backend/alembic.ini | 1 | # A generic, single database configuration. | COMMENT |
| LOW | backend/alembic.ini | 21 | # the 'revision' command, regardless of autogenerate | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backend/app/initial_data.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | backend/app/utils.py | 16 | logger = logging.getLogger(__name__) | CODE |