Sentry, feature-complete and packaged up for low-volume deployments and proofs-of-concept
This report summarizes scanner evidence for getsentry/self-hosted, a Shell project with 9,602 GitHub stars. SynthScan examined 9,150 lines of code across 109 source files, recording 77 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 15.2 (Elevated 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? 62 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 27 finding(s).
Which changes need focused human review? 77 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 77 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 |
|---|---|---|---|---|
| MEDIUM⚡ | _unit-test/setup-custom-ca-certificate-test.sh | 9 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | _unit-test/setup-custom-ca-certificate-test.sh | 11 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | _unit-test/setup-custom-ca-certificate-test.sh | 17 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | _unit-test/setup-custom-ca-certificate-test.sh | 19 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | _unit-test/setup-custom-ca-certificate-test.sh | 25 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | _unit-test/setup-custom-ca-certificate-test.sh | 27 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | _unit-test/setup-custom-ca-certificate-test.sh | 34 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | _unit-test/setup-custom-ca-certificate-test.sh | 36 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | _unit-test/setup-custom-ca-certificate-test.sh | 48 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | _unit-test/setup-custom-ca-certificate-test.sh | 54 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | _unit-test/setup-custom-ca-certificate-test.sh | 97 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | _unit-test/setup-custom-ca-certificate-test.sh | 99 | # ----------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/_lib.sh | 22 | # ---------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | workstation/299_setup-completed.sh | 1 | #!/bin/bash | COMMENT |
| LOW | install/migrate-pgbouncer.sh | 1 | echo "${_group}Migrating Postgres config to PGBouncer..." | COMMENT |
| LOW | install/detect-platform.sh | 1 | source install/_detect-container-engine.sh | COMMENT |
| LOW | _unit-test/migrate-pgbouncer-test.sh | 21 | "PORT": "", | COMMENT |
| LOW | _unit-test/migrate-pgbouncer-test.sh | 81 | rm $SENTRY_CONFIG_PY | COMMENT |
| LOW | _unit-test/migrate-pgbouncer-test.sh | 141 | echo "Test 3 (custom postgres config)" | COMMENT |
| LOW | relay/config.example.yml | 21 | # max_memory_percent: 1.0 | COMMENT |
| LOW | relay/config.example.yml | 41 | prefix: "sentry.relay" # Adjust this to your needs, default is "sentry.relay" | COMMENT |
| LOW | sentry/config.example.yml | 1 | # While a lot of configuration in Sentry can be changed via the UI, for all | COMMENT |
| LOW | sentry/config.example.yml | 21 | # appear at the same time. Only uncomment one of them. | COMMENT |
| LOW | sentry/config.example.yml | 41 | # When email-replies are enabled, this value is used in the Reply-To header | COMMENT |
| LOW | sentry/config.example.yml | 61 | # | COMMENT |
| LOW | sentry/config.example.yml | 81 | # 0: | COMMENT |
| LOW | sentry/config.example.yml | 121 | COMMENT | |
| LOW | sentry/config.example.yml | 141 | # -----END RSA PRIVATE KEY----- | COMMENT |
| LOW | sentry/config.example.yml | 161 | COMMENT | |
| LOW | sentry/sentry.conf.example.py | 61 | ########### | COMMENT |
| LOW | sentry/sentry.conf.example.py | 81 | # Changing this value will result in all current sessions being invalidated. | COMMENT |
| LOW | sentry/sentry.conf.example.py | 101 | # Setting the value to False while running in an air-gapped environment will | COMMENT |
| LOW | sentry/sentry.conf.example.py | 121 | # "169.254.0.0/16", | COMMENT |
| LOW | sentry/sentry.conf.example.py | 141 | # "::ffff:c000:200/120", | COMMENT |
| LOW | sentry/sentry.conf.example.py | 161 | # "ff00::/8", | COMMENT |
| LOW | sentry/sentry.conf.example.py | 241 | ################## | COMMENT |
| LOW | sentry/sentry.conf.example.py | 261 | ######## | COMMENT |
| LOW | sentry/sentry.conf.example.py | 341 | # End of SSL/TLS settings | COMMENT |
| LOW | sentry/sentry.conf.example.py | 461 | COMMENT | |
| LOW | sentry/sentry.conf.example.py | 481 | COMMENT | |
| LOW | sentry/sentry.conf.example.py | 501 | # https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-CSRF_TRUSTED_ORIGINS | COMMENT |
| LOW | sentry/sentry.conf.example.py | 521 | ######### | COMMENT |
| LOW | sentry/enhance-image.example.sh | 1 | #!/bin/bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | sentry-admin.sh | 11 | # Define the Docker volume mapping. | COMMENT |
| MEDIUM | install/error-handling.sh | 20 | # Create the breadcrumb payload now before stacktrace is printed | COMMENT |
| MEDIUM | _unit-test/migrate-pgbouncer-test.sh | 40 | # Create the replacement text in a temp file | COMMENT |
| MEDIUM | _unit-test/migrate-pgbouncer-test.sh | 97 | # Create the replacement text in a temp file | COMMENT |
| MEDIUM | _unit-test/migrate-pgbouncer-test.sh | 154 | # Create the replacement text in a temp file | COMMENT |
| MEDIUM | sentry/sentry.conf.example.py | 1 | # This file is just Python, with a touch of Django which means | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker-compose.yml | 86 | # Leaving the value empty to just pass whatever is set | COMMENT |
| LOW | docker-compose.yml | 118 | # Leaving the value empty to just pass whatever is set | COMMENT |
| MEDIUM | docker-compose.yml | 121 | # If you have statsd server, you can utilize that to monitor self-hosted Snuba containers. | COMMENT |
| LOW | install/error-handling.sh | 84 | # If not, we'll just use the kernel name and version from `uname`. | COMMENT |
| MEDIUM | symbolicator/config.example.yml | 9 | # If you have statsd server, you can utilize that to monitor self-hosted Symbolicator. | COMMENT |
| MEDIUM | relay/config.example.yml | 36 | # If you have statsd server, you can utilize that to monitor self-hosted Relay. | COMMENT |
| MEDIUM | sentry/sentry.conf.example.py | 548 | # If you have a statsd server, you can utilize that to monitor self-hosted | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | _integration-test/conftest.py | 14 | def configure_self_hosted_environment(request): | CODE |
| LOW | _integration-test/conftest.py | 44 | def setup_backup_restore_env_variables(): | CODE |
| LOW | _integration-test/test_01_basics.py | 112 | def test_asset_internal_rewrite(): | CODE |
| LOW | _integration-test/test_01_basics.py | 120 | def test_memcached_django_cache(): | CODE |
| LOW | _integration-test/test_01_basics.py | 246 | def test_cleanup_crons_running(): | STRING |
| LOW | _integration-test/test_01_basics.py | 265 | def test_custom_certificate_authorities(): | STRING |
| LOW | _integration-test/test_01_basics.py | 512 | def test_receive_transaction_events(client_login): | STRING |
| LOW | _integration-test/test_01_basics.py | 539 | def test_receive_user_feedback_events(client_login): | STRING |
| LOW | _integration-test/test_01_basics.py | 570 | def test_receive_metrics_events(client_login): | STRING |
| LOW | _integration-test/test_01_basics.py | 637 | def test_upload_mobile_builds(client_login): | STRING |
| LOW⚡ | _integration-test/test_seaweedfs_kek.py | 32 | def test_recovers_plaintext_hex_kek(): | CODE |
| LOW⚡ | _integration-test/test_seaweedfs_kek.py | 37 | def test_recovers_wrapped_kek(version): | CODE |
| LOW⚡ | _integration-test/test_seaweedfs_kek.py | 44 | def test_rejects_wrapped_kek_without_passphrase(): | CODE |
| LOW⚡ | _integration-test/test_seaweedfs_kek.py | 49 | def test_rejects_wrong_passphrase(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install/_min-requirements.sh | 1 | # Don't forget to update the README and other docs when you change these! | COMMENT |
| LOW | sentry/config.example.yml | 46 | # Also don't forget to set `mail.enable-replies: true` above. | COMMENT |
| LOW | sentry/config.example.yml | 46 | # Also don't forget to set `mail.enable-replies: true` above. | COMMENT |
| MEDIUM | sentry/sentry.conf.example.py | 173 | # Through this setting, you can use the provided blob storage or | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sentry/config.example.yml | 25 | # NOTE: The following 2 configs (mail.from and mail.list-namespace) are set | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | _integration-test/nodejs/user-feedback.js | 5 | name: "John Doe", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | sentry/sentry.conf.example.py | 4 | CODE |