☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
This report summarizes scanner evidence for starship/starship, a Rust project with 60,528 GitHub stars. SynthScan examined 241,644 lines of code across 757 source files, recording 114 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.9 (Low 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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 31 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 83 finding(s).
Which changes need focused human review? 114 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 114 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 |
|---|---|---|---|---|
| HIGH | docs/tr-TR/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/fr-FR/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/de-DE/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/pl-PL/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/vi-VN/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/no-NO/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/ru-RU/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/ar-SA/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/nl-NL/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/pt-PT/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/zh-TW/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/ko-KR/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/it-IT/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/id-ID/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/ckb-IR/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/bn-BD/config/README.md | 0 | ` | multi-line literal string | less escaping | | ` | STRING |
| HIGH | docs/tr-TR/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/fr-FR/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/de-DE/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/pl-PL/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/vi-VN/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/no-NO/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/es-ES/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/ru-RU/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/ar-SA/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/nl-NL/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/ja-JP/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/zh-CN/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/pt-PT/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/zh-TW/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/ko-KR/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/pt-BR/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/it-IT/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/id-ID/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/ckb-IR/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/bn-BD/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/uk-UA/config/README.md | 0 | [┌───────────────────>](bold green) [│](bold green)$directory$rust$package [└─>](bold green) | STRING |
| HIGH | docs/tr-TR/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/fr-FR/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/de-DE/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/pl-PL/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/vi-VN/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/no-NO/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/es-ES/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/ru-RU/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/ar-SA/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/nl-NL/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/ja-JP/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/zh-CN/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/pt-PT/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/zh-TW/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/ko-KR/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/pt-BR/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/it-IT/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/id-ID/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/ckb-IR/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| HIGH | docs/bn-BD/config/README.md | 0 | $username\ $hostname\ $localip\ $shlvl\ $singularity\ $kubernetes\ $nats\ $directory\ $vcsh\ $fossil_branch\ $fossil_met | STRING |
| 23 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .rustfmt.toml | 1 | # This file intentionally left almost blank | COMMENT |
| LOW | install/macos_packages/build_and_notarize.sh | 1 | #!/bin/bash | COMMENT |
| LOW | src/main.rs | 101 | }, | COMMENT |
| LOW | src/main.rs | 141 | /// Prints the statusline with a specific profile | COMMENT |
| LOW | src/init/starship.bash | 1 | # We use PROMPT_COMMAND and the DEBUG trap to generate timing information. We try | COMMENT |
| LOW | src/init/starship.bash | 41 | fi | COMMENT |
| LOW | src/context/jj_repo.rs | 21 | /// Size of the shortest unique prefix for the change ID | COMMENT |
| LOW | src/context/jj_repo.rs | 101 | // Will search for diffs and such normally but not update the underlying repository | COMMENT |
| LOW | src/context/mod.rs | 921 | /// Bash, Fish and Zsh support returning codes for each process in a pipeline. | COMMENT |
| LOW | src/formatter/string_formatter.rs | 101 | /// You should provide a function or closure that accepts the variable name `name: &str` as a | COMMENT |
| LOW | src/configs/aws.rs | 1 | use serde::{Deserialize, Serialize}; | COMMENT |
| LOW | src/configs/aws.rs | 21 | /// is read from the `AWS_SESSION_EXPIRATION` or `AWS_CREDENTIAL_EXPIRATION` | COMMENT |
| LOW | src/configs/vcs.rs | 1 | //! The VCS module is a gathering of other Version Control System modules. | COMMENT |
| LOW | src/configs/vcs.rs | 21 | pub struct VcsConfig<'a> { | COMMENT |
| LOW | src/modules/os.rs | 321 | } | COMMENT |
| LOW | src/modules/shell.rs | 401 | bash_indicator = "B" | COMMENT |
| LOW | src/modules/git_branch.rs | 721 | } | COMMENT |
| LOW | src/modules/dotnet.rs | 161 | // With this heuristic, we'll assume that a "global.json" won't | COMMENT |
| LOW | src/modules/directory.rs | 21 | /// Creates a module with the current logical or physical directory | COMMENT |
| LOW | src/modules/directory.rs | 341 | COMMENT | |
| LOW | src/modules/nix_shell.rs | 41 | } | COMMENT |
| LOW | src/modules/docker_context.rs | 1 | use std::path::PathBuf; | COMMENT |
| LOW | src/modules/git_status.rs | 21 | /// - `=` – This branch has merge conflicts | COMMENT |
| LOW | src/modules/username.rs | 1 | use super::{Context, Detected, Module, ModuleConfig}; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | install/macos_packages/build_and_notarize.sh | 88 | # Create the component package | COMMENT |
| MEDIUM | install/macos_packages/build_and_notarize.sh | 92 | # Create the distribution package | COMMENT |
| MEDIUM | src/init/starship.zsh | 81 | # Define a wrapper fn to call the original widget fn and then Starship's. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install/macos_packages/common.sh | 10 | # Check if this is a relative path: if so, prepend './' to it | COMMENT |
| LOW | .github/workflows/workflow.yml | 108 | # Check if config schema needs to be updated to reflect updated configuration options | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/modules/username.rs | 127 | // TODO: Add tests for if root user (UID == 0) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/public/presets/toml/pastel-powerline.toml | 58 | # Here is how you can shorten some long paths by text replacement | STRING |