Ready-to-run Docker images containing Jupyter applications
This report summarizes scanner evidence for jupyter/docker-stacks, a Python project with 8,469 GitHub stars. SynthScan examined 13,231 lines of code across 228 source files, recording 52 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 5.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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 43 finding(s).
Are imports declared and package/API names verified? 7 finding(s).
Are wrappers, guards, and repeated structures necessary? 32 finding(s).
Which changes need focused human review? 52 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 52 distinct pattern matches across 9 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 | …_image/docker-stacks-foundation/test_python_version.py | 26 | def test_python_pinned_version(container: TrackedContainer) -> None: | CODE |
| LOW | …sts/by_image/docker-stacks-foundation/test_packages.py | 79 | def check_import_python_package(container: TrackedContainer, package: str) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 38 | def test_log_format_includes_timestamp(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 50 | def test_quiet_mode_suppresses_info(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 62 | def test_quiet_mode_shows_warnings(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 74 | def test_log_without_level_defaults_to_info(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 102 | def test_log_no_color_without_tty(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 117 | def test_log_fatal_exits_nonzero(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 132 | def test_log_fatal_color_on_tty(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/docker-stacks-foundation/test_logging.py | 147 | def test_log_no_color_env_override(container: TrackedContainer) -> None: | CODE |
| LOW | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 42 | def test_run_hooks_missing_dir(container: TrackedContainer) -> None: | CODE |
| LOW | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 58 | def test_run_hooks_dir_is_file(container: TrackedContainer) -> None: | CODE |
| LOW | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 115 | def test_start_sh_runs_before_notebook_hooks(container: TrackedContainer) -> None: | CODE |
| LOW | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 145 | def test_run_hooks_executables(container: TrackedContainer) -> None: | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 161 | def test_sudo_path_without_grant(container: TrackedContainer) -> None: | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 189 | def test_conda_dir_group_inheritance(container: TrackedContainer) -> None: | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 243 | def test_container_not_delete_bind_mount( | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 270 | def test_jupyter_env_vars_to_unset( | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 313 | def test_startsh_multiple_exec(container: TrackedContainer) -> None: | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 328 | def test_rootless_triplet_change(container: TrackedContainer) -> None: | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 341 | def test_rootless_triplet_home(container: TrackedContainer) -> None: | CODE |
| LOW | …by_image/docker-stacks-foundation/test_user_options.py | 353 | def test_rootless_triplet_sudo(container: TrackedContainer) -> None: | CODE |
| LOW | tests/by_image/base-notebook/test_container_options.py | 132 | def test_custom_internal_port( | CODE |
| LOW | wiki/update_wiki.py | 76 | def generate_home_wiki_tables(repository: str, all_years: list[YearFiles]) -> str: | CODE |
| LOW | tagging/utils/get_prefix.py | 8 | def get_file_prefix_for_platform(*, platform: str, variant: str) -> str: | CODE |
| LOW | tagging/utils/get_prefix.py | 12 | def _get_tag_prefix_for_platform(*, platform: str, variant: str) -> str: | CODE |
| LOW | tagging/taggers/versions.py | 28 | def python_major_minor_tagger(container: Container) -> str: | CODE |
| LOW | tagging/manifests/conda_environment.py | 10 | def conda_environment_manifest(container: Container) -> MarkdownPiece: | CODE |
| LOW | tagging/apps/merge_tags.py | 22 | def read_local_tags_from_files(config: Config) -> dict[str, set[str]]: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 67 | "touch /tmp/some-file && source /usr/local/bin/run-hooks.sh /tmp/some-file", | CODE |
| HIGH | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 81 | "mkdir /tmp/empty-dir && source /usr/local/bin/run-hooks.sh /tmp/empty-dir/", | CODE |
| HIGH | …by_image/docker-stacks-foundation/test_user_options.py | 20 | command=["bash", "-c", "id && touch /opt/conda/test-file"], | CODE |
| HIGH | tests/by_image/scipy-notebook/test_cython.py | 21 | f"cp -r {cont_data_dir}/ /tmp/test/ && cd /tmp/test && python3 setup.py build_ext", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pre-commit-config.yaml | 1 | --- | COMMENT |
| LOW | .readthedocs.yaml | 21 | sphinx: | COMMENT |
| LOW | images/docker-stacks-foundation/10activate-conda-env.sh | 1 | #!/bin/bash | COMMENT |
| LOW | images/docker-stacks-foundation/start.sh | 41 | # shellcheck source=images/docker-stacks-foundation/run-hooks.sh | COMMENT |
| LOW | images/docker-stacks-foundation/start.sh | 161 | # happens to the environment will be determined by configuration in | COMMENT |
| LOW | …nimal-notebook/setup-scripts/setup-julia-packages.bash | 1 | #!/bin/bash | COMMENT |
| LOW | images/pyspark-notebook/ipython_kernel_config.py | 1 | # Configuration file for ipython-kernel. | COMMENT |
| LOW | tests/utils/conda_package_helper.py | 1 | # Copyright (c) Jupyter Development Team. | COMMENT |
| LOW | docs/contributing/packages.md | 21 | # INFO test_outdated:test_outdated.py:80 3/8 (38%) packages could be updated | COMMENT |
| LOW | docs/using/specifics.md | 81 | docker run -it --rm my-pyspark-notebook pyspark --version | COMMENT |
| LOW | .github/workflows/scorecard.yml | 41 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/make-deploy/README.md | 109 | SOFTLAYER_API_KEY=your_api_key | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/docker-compose/notebook/up.sh | 64 | # Create a Docker volume to store notebooks | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ts/by_image/docker-stacks-foundation/test_run_hooks.py | 3 | CODE | |
| LOW | tests/by_image/pyspark-notebook/units/unit_spark.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/by_image/pytorch-notebook/units/unit_pytorch.py | 7 | # Check if GPU is available | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | wiki/update_wiki.py | 159 | def update_monthly_wiki_page(wiki_dir: Path, build_history_line: str) -> None: | CODE |
| LOW | wiki/update_wiki.py | 216 | def update_wiki(config: Config) -> None: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tagging/apps/common_cli_arguments.py | 10 | CODE |