Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
61 of your 117 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 8.62s · analysis 8.91s · 61.2 MB · GitHub API rate-limit (preflight)

brazilofmux/tinymux

https://github.com/brazilofmux/tinymux · scanned 2026-06-05 12:51 UTC (5 days, 9 hours ago) · 10 languages

158 raw signals (114 security + 44 graph) 11/13 scanners ran 0th percentile · C · large (100-500K LoC) System graph score 75 (lower by 29)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 5 days, 9 hours ago · v2 · 89 actionable findings from 2 signal sources. 46 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 40.0 0.15 6.00
security_score 100.0 0.25 25.00
testing_score 17.0 0.20 3.40
documentation_score 15.0 0.15 2.25
practices_score 40.0 0.15 6.00
code_quality 32.0 0.10 3.20
Overall 1.00 45.9
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade D+ (46/100). Dimensions: security 100, maintainability 40. 114 findings (13 security). 453,030 lines analyzed.

Showing 46 of 89 actionable findings. 135 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high Security checks quality Quality conf 1.00 ✓ Repobility 4 occurrences [MINED107] Missing import: `sys` used but not imported: The file uses `sys.something(...)` but never imports `sys`. This raises NameError at runtime the first time the line executes.
Add `import sys` at the top of the file.
4 files, 4 locations
tools/worldbuilder/grammar.py:232
tools/worldbuilder/importer.py:153
tools/worldbuilder/mapgen.py:112
tools/worldbuilder/worldbuilder.py:502
critical System graph security Secrets conf 1.00 Possible secret in client/web/js/settings.js
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
client/web/js/settings.js:6
high Security checks quality Quality conf 1.00 ✓ Repobility [MINED029] Kotlin Null Bang: x!! throws NullPointerException if x is null. Bypasses Kotlins null safety.
Review and fix per the pattern semantics. See CWE-476 / for context.
client/android/app/src/main/java/org/tinymux/titan/net/MudConnection.kt:110
high Security checks quality Quality conf 1.00 ✓ Repobility 11 occurrences [MINED108] `self._read_until_quiet` used but never assigned in __init__: Method `connect` of class `MuxConnection` reads `self._read_until_quiet`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
Initialize `self._read_until_quiet = <default>` in __init__, or add a class-level default.
3 files, 11 locations
tools/worldbuilder/executor.py:62, 65, 67, 75, 91, 130 (6 hits)
tools/worldbuilder/grammar.py:49, 116, 145 (3 hits)
tools/worldbuilder/migrate.py:55, 59 (2 hits)
high Security checks software dependencies conf 0.90 ✓ Repobility 3 occurrences [MINED118] Dockerfile FROM `tinymux:2.13.0.11` not pinned by digest: `FROM tinymux:2.13.0.11` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM tinymux:2.13.0.11@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
2 files, 3 locations
docker/tinymux/Dockerfile:1, 18 (2 hits)
docker/AnonymousMUX/Dockerfile:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `client/android/gradle/wrapper/gradle-wrapper.jar` committed in source repo: `client/android/gradle/wrapper/gradle-wrapper.jar` is a .jar binary (43,705 bytes) committed to a repo that otherwise has 537 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
client/android/gradle/wrapper/gradle-wrapper.jar:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `tools/worldbuilder/__pycache__/executor.cpython-310.pyc` committed in source repo: `tools/worldbuilder/__pycache__/executor.cpython-310.pyc` is a .pyc binary (10,374 bytes) committed to a repo that otherwise has 537 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
tools/worldbuilder/__pycache__/executor.cpython-310.pyc:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `tools/worldbuilder/__pycache__/grammar.cpython-310.pyc` committed in source repo: `tools/worldbuilder/__pycache__/grammar.cpython-310.pyc` is a .pyc binary (7,411 bytes) committed to a repo that otherwise has 537 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
tools/worldbuilder/__pycache__/grammar.cpython-310.pyc:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `tools/worldbuilder/__pycache__/importer.cpython-310.pyc` committed in source repo: `tools/worldbuilder/__pycache__/importer.cpython-310.pyc` is a .pyc binary (8,334 bytes) committed to a repo that otherwise has 537 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
tools/worldbuilder/__pycache__/importer.cpython-310.pyc:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `tools/worldbuilder/__pycache__/mapgen.cpython-310.pyc` committed in source repo: `tools/worldbuilder/__pycache__/mapgen.cpython-310.pyc` is a .pyc binary (8,037 bytes) committed to a repo that otherwise has 537 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
tools/worldbuilder/__pycache__/mapgen.cpython-310.pyc:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `tools/worldbuilder/__pycache__/softcode_lint.cpython-310.pyc` committed in source repo: `tools/worldbuilder/__pycache__/softcode_lint.cpython-310.pyc` is a .pyc binary (7,433 bytes) committed to a repo that otherwise has 537 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
tools/worldbuilder/__pycache__/softcode_lint.cpython-310.pyc:1
high Security checks software dependencies conf 0.90 ✓ Repobility [MINED134] Binary file `tools/worldbuilder/__pycache__/worldbuilder.cpython-310.pyc` committed in source repo: `tools/worldbuilder/__pycache__/worldbuilder.cpython-310.pyc` is a .pyc binary (25,098 bytes) committed to a repo that otherwise has 537 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
tools/worldbuilder/__pycache__/worldbuilder.cpython-310.pyc:1
medium Security checks quality Error handling conf 1.00 [ERR002] Empty Catch Block: Empty catch blocks hide errors.
Log the error or rethrow it. Use console.error() at minimum.
client/web/js/triggers.js:73
medium Security checks quality Error handling conf 1.00 [ERR002] Empty Catch Block: Empty catch blocks hide errors.
Log the error or rethrow it. Use console.error() at minimum.
client/web/js/settings.js:44
low Security checks quality Quality conf 1.00 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all exception block that silently returns success or no-ops. AI agents reach for this pattern when a flaky test or an unfamiliar API throws — wrap, swallow, return success. Real bugs are masked, observability is destroyed, and callers think the operation worked. CWE-396 (improperly-generalized exception). Distinct from intentional fallback because there's no log line and the success value is fabricated.
Catch the specific exception type, log at error level with full exception info, and return a failure-shaped result. If the operation is genuinely best-effort, log at warning and document why in a comment so the next reader (or scanner) knows.
tools/worldbuilder/migrate.py:101
low Security checks quality Quality conf 1.00 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all exception block that silently returns success or no-ops. AI agents reach for this pattern when a flaky test or an unfamiliar API throws — wrap, swallow, return success. Real bugs are masked, observability is destroyed, and callers think the operation worked. CWE-396 (improperly-generalized exception). Distinct from intentional fallback because there's no log line and the success value is fabricated.
Catch the specific exception type, log at error level with full exception info, and return a failure-shaped result. If the operation is genuinely best-effort, log at warning and document why in a comment so the next reader (or scanner) knows.
client/web/js/spawns.js:19
medium Security checks quality Quality Average file size is 825 lines (recommend <300)
Refactor large files by extracting related functions into separate modules. Target files with 300+ lines first. Use the Single Responsibility Principle — each module should have one clear purpose.
low Security checks quality Error handling conf 0.55 ✓ Repobility 3 occurrences Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
3 files, 3 locations
tools/worldbuilder/live_adapter.py:174
tools/worldbuilder/migrate.py:103
tools/worldbuilder/worldbuilder.py:928
Error handlingquality
medium Security checks cicd CI/CD security conf 0.86 Database dump or local database file is included in Docker build context
Move database dumps outside the Docker build context or exclude them with .dockerignore. Keep backup and restore artifacts in private object storage or a dedicated backup workflow.
.dockerignore CI/CD securitycontainers
medium Security checks cicd CI/CD security conf 0.90 Docker build context has no .dockerignore
Add .dockerignore with at least .git, .env, private keys, dependency folders, build outputs, and local databases.
.dockerignore CI/CD securitycontainers
high Security checks cicd CI/CD security conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
docker/tinymux/Dockerfile:19 CI/CD securitycontainers
high Security checks cicd CI/CD security conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
docker/AnonymousMUX/Dockerfile:1 CI/CD securitycontainers
medium Security checks cicd CI/CD security conf 0.94 2 occurrences Dockerfile base image uses the latest tag
Pin to a maintained version tag or digest and update it deliberately through dependency automation.
lines 1, 19
docker/tinymux/Dockerfile:1, 19 (2 hits)
CI/CD securitycontainers
high Security checks quality Quality conf 0.80 localStorage write failures are swallowed silently
Handle QuotaExceededError explicitly, show a toast or error state, and guide the user to export/clear old local data. Log non-quota failures for diagnostics.
client/web/js/settings.js:43
medium Security checks quality Documentation No README file found
Create a README.md with: project name and description, installation instructions, usage examples, configuration options, and contribution guidelines.
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — client/web/js/hydra_connection.js:500
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph hardware Supply chain conf 1.00 2 occurrences Docker base image uses a mutable or implicit tag: alpine:latest
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
lines 1, 18
docker/tinymux/Dockerfile:1, 18 (2 hits)
containersPinned dependencies
medium System graph hardware Security conf 1.00 Dockerfile runs as root: docker/AnonymousMUX/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph hardware Security conf 1.00 Dockerfile runs as root: docker/tinymux/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph quality Integrity conf 1.00 Likely N+1 query: `for ex in …` triggers a query per row — tools/worldbuilder/executor.py:489
The loop iterates a Django queryset and accesses `ex.name.split` per row, which fires an additional database query each iteration. Add `.select_related('<fk_field>')` for FK / O2O relations or `.prefetch_related('<m2m_or_reverse>')` for many-related lookups, to load everything in 1-2 queries instea…
tools/worldbuilder/executor.py:489 N plus onePerformance
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). Either auth lives in custom code, in a separate service, or is missing.
auth
medium System graph cicd CI/CD security conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
CI/CD securityCoverage
low Security checks quality Quality conf 0.60 24 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
12 files, 16 locations
mux/convert/t6hgame.h:4, 182, 211 (3 hits)
mux/convert/t5xgame.h:6, 188 (2 hits)
testcases/tools/unformat.c:327, 332 (2 hits)
client/tf/src/hydra_connection.cpp:9
client/tf/src/spawn.cpp:24
client/tf/src/spawn.h:11
color/kdtree_lab.cpp:157
mux/convert/r7hgame.h:173
duplicationquality
low Security checks quality Quality conf 0.68 Multiple AI-agent scaffold marker files are present
Keep one current agent instruction file if it helps contributors, remove stale progress/completion markers, and make sure the README, tests, and CI describe the real supported behavior.
AGENTS.md:1
low Security checks quality Documentation No LICENSE file
Add a LICENSE file to your repository. Use choosealicense.com to pick the right license (MIT for permissive, Apache 2.0 for patent protection, GPL for copyleft).
low System graph hardware Coverage conf 1.00 Containers defined but no K8s/orchestration manifest found
Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo.
Deployment
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: tinymux:2.13.0.11
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
docker/AnonymousMUX/Dockerfile:1 containersPinned dependencies
low System graph software Dead code candidate conf 1.00 File has no detected symbols: client/web/js/settings.js
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph quality Tests conf 1.00 Low test-to-source ratio
5 tests / 23 src (ratio 0.22).
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: tools/worldbuilder/executor.py:do_cmd, tools/worldbuilder/executor.py:do_cmd This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: tools/worldbuilder/executor.py:login, tools/worldbuilder/executor.py:log, tools/worldbuilder/executor.py:log, tools/worldbuilder/executor.py:log This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-…
duplicatesduplication
low System graph software Dead code conf 1.00 Possibly dead Python function: expand_descriptions
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/worldbuilder/grammar.py:195
low System graph software Dead code conf 1.00 Possibly dead Python function: fork
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/worldbuilder/grammar.py:51
low System graph software Dead code conf 1.00 Possibly dead Python function: query_live_snapshot
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/worldbuilder/live_adapter.py:304
low System graph software Dead code conf 1.00 Possibly dead Python function: replacer
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
tools/worldbuilder/grammar.py:104
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — client/web/test_web.js:404
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/f308af98-0ce7-4abc-85fc-9adf6d0f2bd0/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/f308af98-0ce7-4abc-85fc-9adf6d0f2bd0/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.