AI Slop Code RIsk Monitor

cookiecutter/cookiecutter-django

Cookiecutter Django is a framework for jumpstarting production-ready Django projects quickly.

7.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for cookiecutter/cookiecutter-django, a Python project with 13,624 GitHub stars. SynthScan examined 41,730 lines of code across 169 source files, recording 142 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 7.6 (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.

7.6
Adjusted Signal
7.6
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
13.6K
Stars
Python
Language
41.7K
Lines of Code
169
Files
142
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 8.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 62 finding(s).

Hallucinated Dependency & Supply Chain Risk 2.4/100 · LOW

Are imports declared and package/API names verified? 11 finding(s).

Agent Over-Engineering Ratio 27.5/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 108 finding(s).

PR Review Velocity Impact 28.9/100 · MEDIUM

Which changes need focused human review? 142 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 3MEDIUM 64LOW 75

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 142 distinct pattern matches across 12 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.

Decorative Section Separators59 hits · 206 pts
SeverityFileLineSnippetContext
MEDIUM{{cookiecutter.project_slug}}/config/settings/local.py10# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/local.py22# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/local.py32# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/local.py64# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/local.py70# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/local.py103 # ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/local.py113# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/local.py119# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/local.py130# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/local.py135# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/test.py10# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/test.py20# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/test.py25# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/test.py30# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/test.py34# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/test.py40# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/test.py45# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/base.py237# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/base.py242# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/base.py251# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/config/settings/base.py261# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py22# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py49# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py71# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py78# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py121# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py126# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py140# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py160# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py181# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py195# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py202# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py273# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py300# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py342# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py366# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py373# -------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py399# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/config/settings/base.py411# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡…kiecutter.project_slug}}/config/settings/production.py26# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡…kiecutter.project_slug}}/config/settings/production.py33# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡…kiecutter.project_slug}}/config/settings/production.py37# ------------------------------------------------------------------------------COMMENT
MEDIUM…kiecutter.project_slug}}/config/settings/production.py52# ------------------------------------------------------------------------------COMMENT
MEDIUM…kiecutter.project_slug}}/config/settings/production.py117# ------------------------COMMENT
MEDIUM…kiecutter.project_slug}}/config/settings/production.py211# ------------------------------------------------------------------------------COMMENT
MEDIUM…kiecutter.project_slug}}/config/settings/production.py227# ------------------------------------------------------------------------------COMMENT
MEDIUM…kiecutter.project_slug}}/config/settings/production.py232# ------------------------------------------------------------------------------COMMENT
MEDIUM…kiecutter.project_slug}}/config/settings/production.py299# ------------------------------------------------------------------------------COMMENT
MEDIUM…kiecutter.project_slug}}/config/settings/production.py327# ------------------------------------------------------------------------------COMMENT
MEDIUM…kiecutter.project_slug}}/config/settings/production.py332# ------------------------------------------------------------------------------COMMENT
MEDIUM…kiecutter.project_slug}}/config/settings/production.py409# ------------------------------------------------------------------------------COMMENT
MEDIUM…kiecutter.project_slug}}/config/settings/production.py439# -------------------------------------------------------------------------------COMMENT
MEDIUM…kiecutter.project_slug}}/config/settings/production.py447# ------------------------------------------------------------------------------COMMENT
MEDIUM…ookiecutter.project_slug}}/requirements/production.txt18# ------------------------------------------------------------------------------COMMENT
MEDIUM{{cookiecutter.project_slug}}/requirements/base.txt24# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/requirements/local.txt13# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/requirements/local.txt23# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/requirements/local.txt28# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡{{cookiecutter.project_slug}}/requirements/local.txt36# ------------------------------------------------------------------------------COMMENT
Hyper-Verbose Identifiers39 hits · 44 pts
SeverityFileLineSnippetContext
LOWtests/test_cookiecutter_generation.py224def test_django_upgrade_passes(cookies, context_override):CODE
LOWtests/test_cookiecutter_generation.py282def test_travis_invokes_pytest(cookies, context, use_docker, expected_test_script):CODE
LOWtests/test_cookiecutter_generation.py307def test_gitlab_invokes_precommit_and_pytest(cookies, context, use_docker, expected_test_script):CODE
LOWtests/test_cookiecutter_generation.py334def test_github_invokes_linter_and_pytest(cookies, context, use_docker, expected_test_script):CODE
LOWtests/test_cookiecutter_generation.py373def test_error_if_incompatible(cookies, context, invalid_context):CODE
LOWtests/test_cookiecutter_generation.py390def test_pycharm_docs_removed(cookies, context, editor, pycharm_docs_exist):CODE
LOWtests/test_cookiecutter_generation.py408def test_package_jsons_removed(cookies, context, frontend_pipeline, package_jsons_exist):CODE
LOWtests/test_cookiecutter_generation.py463def test_pre_commit_without_heroku(cookies, context):CODE
LOWtests/test_hooks.py21def test_append_to_gitignore_file(working_directory):CODE
LOWhooks/post_gen_project.py40def remove_custom_user_manager_files():CODE
LOWhooks/post_gen_project.py74def remove_nginx_docker_files():CODE
LOWhooks/post_gen_project.py200def remove_prettier_pre_commit():CODE
LOWhooks/post_gen_project.py204def remove_repo_from_pre_commit_config(repo_to_remove: str):CODE
LOWhooks/post_gen_project.py244def remove_dotgitlabciyml_file():CODE
LOWhooks/post_gen_project.py349def set_celery_flower_password(file_path, value=None):CODE
LOW⚡hooks/post_gen_project.py386def set_flags_in_settings_files():CODE
LOW⚡hooks/post_gen_project.py391def remove_envs_and_associated_files():CODE
LOW⚡hooks/post_gen_project.py397def remove_celery_compose_dirs():CODE
LOWhooks/post_gen_project.py415def remove_ninja_starter_files():CODE
LOWscripts/node_version.py21def get_version_from_dockerfile() -> str:CODE
LOW⚡scripts/node_version.py34def get_version_from_package_json() -> str:CODE
LOW⚡scripts/node_version.py39def update_package_json_version(old_version: str, new_version: str) -> None:CODE
LOW⚡scripts/node_version.py48def update_production_node_version(old_version: str, new_version: str) -> None:CODE
LOWscripts/update_changelog.py86def group_pulls_by_change_type(CODE
LOWscripts/create_django_issue.py88def get_all_latest_django_versions(CODE
LOW⚡scripts/python_dependency_version.py33def get_requirements_txt_version(package_name: str) -> str:CODE
LOW⚡scripts/python_dependency_version.py42def get_pyproject_toml_version(package_name: str) -> str:CODE
LOW…{cookiecutter.project_slug}}/users/tests/test_forms.py20 def test_username_validation_error_msg(self, user: User):CODE
LOW⚡…okiecutter.project_slug}}/users/tests/test_managers.py32 def test_create_superuser_username_ignored(self):CODE
LOW⚡…okiecutter.project_slug}}/users/tests/test_managers.py41def test_createsuperuser_command():CODE
LOW…cookiecutter.project_slug}}/users/tests/test_models.py9def test_user_get_absolute_url(user: User):CODE
LOW…ecutter.project_slug}}/users/tests/api/test_openapi.py8def test_api_docs_accessible_by_admin(admin_client):CODE
LOW…ecutter.project_slug}}/users/tests/api/test_openapi.py19def test_api_docs_not_accessible_by_anonymous_users(client):CODE
LOW…ecutter.project_slug}}/users/tests/api/test_openapi.py32def test_api_schema_generated_successfully(admin_client):CODE
LOW…kiecutter.project_slug}}/users/tests/api/test_views.py71def test_list_users_as_anonymous_user(client: Client):CODE
LOW…kiecutter.project_slug}}/users/tests/api/test_views.py77def test_list_users_as_authenticated_user(client: Client, user: User):CODE
LOW…kiecutter.project_slug}}/users/tests/api/test_views.py100def test_retrieve_current_user(client: Client, user: User):CODE
LOW…kiecutter.project_slug}}/users/tests/api/test_views.py131def test_retrieve_current_user(client: Client, user: User):CODE
LOW…kiecutter.project_slug}}/users/tests/api/test_views.py164def test_retrieve_another_user(client: Client, user: User):CODE
Over-Commented Block16 hits · 15 pts
SeverityFileLineSnippetContext
LOWdocs/conf.py1# cookiecutter-django documentation build configuration file.COMMENT
LOWdocs/conf.py41master_doc = "index"COMMENT
LOWdocs/conf.py61# non-false value, then it is used:COMMENT
LOWdocs/conf.py81# output. They are ignored by default.COMMENT
LOWdocs/conf.py101COMMENT
LOWdocs/conf.py121# Add any paths that contain custom static files (such as style sheets) here,COMMENT
LOWdocs/conf.py141# If false, no module index is generated.COMMENT
LOWdocs/conf.py161# base URL from which the finished HTML is served.COMMENT
LOWdocs/conf.py201COMMENT
LOW{{cookiecutter.project_slug}}/config/settings/test.py21# https://docs.djangoproject.com/en/dev/ref/settings/#password-hashersCOMMENT
LOW{{cookiecutter.project_slug}}/config/settings/base.py21# GENERALCOMMENT
LOW{{cookiecutter.project_slug}}/config/settings/base.py261# ------------------------------------------------------------------------------COMMENT
LOW…kiecutter.project_slug}}/config/settings/production.py321 ],COMMENT
LOW{{cookiecutter.project_slug}}/docs/conf.py61# a list of builtin themes.COMMENT
LOW…ecutter.project_slug}}/.devcontainer/devcontainer.json61 },COMMENT
LOW…ecutter.project_slug}}/users/tests/api/test_openapi.py41# No REST API framework was selected (rest_api = 'None').COMMENT
Excessive Try-Catch Wrapping5 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMhooks/post_gen_project.py557 print(f"Error building Docker image: {e}", file=sys.stderr)CODE
MEDIUM⚡hooks/post_gen_project.py571 print(f"Error installing production dependencies: {e}", file=sys.stderr)CODE
MEDIUM⚡hooks/post_gen_project.py578 print(f"Error installing local dependencies: {e}", file=sys.stderr)CODE
LOW⚡hooks/post_gen_project.py586 except Exception as e: # noqa: BLE001CODE
MEDIUM⚡hooks/post_gen_project.py587 print(f"Error removing 'requirements' folder: {e}", file=sys.stderr)CODE
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHscripts/update_changelog.py159 repo.git.push(server, GIT_BRANCH)CODE
HIGHscripts/update_changelog.py160 repo.git.push("--tags", server, GIT_BRANCH)CODE
Modern Structural Boilerplate5 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡scripts/node_version.py39def update_package_json_version(old_version: str, new_version: str) -> None:CODE
LOW⚡scripts/node_version.py48def update_production_node_version(old_version: str, new_version: str) -> None:CODE
LOWscripts/update_changelog.py131def update_version(file_path: Path, release: str) -> None:CODE
LOWscripts/update_changelog.py142def update_git_repo(paths: list[Path], release: str) -> None:CODE
LOW⚡scripts/python_dependency_version.py51def update_package_version(package_name: str, old_version: str, new_version: str) -> None:CODE
Unused Imports6 hits · 6 pts
SeverityFileLineSnippetContext
LOWscripts/node_version.py1CODE
LOWscripts/create_django_issue.py10CODE
LOWscripts/python_dependency_version.py1CODE
LOW…r.project_slug}}/merge_production_dotenvs_in_dotenv.py1CODE
LOW…lug}}/tests/test_merge_production_dotenvs_in_dotenv.py1CODE
LOW…slug}}/{{cookiecutter.project_slug}}/users/managers.py7CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdocs/6-about/generative-ai.md17Maintainers may close issues and PRs that are not useful or productive, including those that are fully generated by AI. CODE
Fake / Example Data3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…{cookiecutter.project_slug}}/users/tests/test_admin.py51 user = User.objects.get(email="admin@example.com")CODE
LOW⚡…okiecutter.project_slug}}/users/tests/test_managers.py24 email="admin@example.com",CODE
LOW⚡…okiecutter.project_slug}}/users/tests/test_managers.py27 assert user.email == "admin@example.com"CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/test_cookiecutter_generation.py334CODE
LOWscripts/update_changelog.py86CODE
LOWscripts/create_django_issue.py154CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdocs/conf.py3# This file is execfile()d with the current directory set to its containing dir.COMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/create_django_issue.py289 # Check if there are any djsCOMMENT
LOW…tter.project_slug}}/utility/install_os_dependencies.sh9# Check if a requirements file exist for the current distribution.COMMENT