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.
19 of your 57 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 3.68s · analysis 10.34s · 10.2 MB · GitHub API rate-limit (preflight)

typst/typst

https://github.com/typst/typst · scanned 2026-06-05 10:30 UTC (5 days, 12 hours ago) · 10 languages

120 raw signals (52 security + 68 graph) 35th percentile · Rust · large (100-500K LoC) System graph score 82 (lower by 18)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 5 days, 12 hours ago · v2 · 60 actionable findings from 2 signal sources. 26 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 60.0 0.15 9.00
security_score 67.8 0.25 16.95
testing_score 22.0 0.20 4.40
documentation_score 88.0 0.15 13.20
practices_score 97.0 0.15 14.55
code_quality 61.6 0.10 6.16
Overall 1.00 64.3
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade C+ (64/100). Dimensions: security 68, maintainability 60. 52 findings (12 security). 156,322 lines analyzed.

Showing 45 of 60 actionable findings. 86 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 security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
crates/typst-cli/src/deps.rs:68
high Security checks software dependencies conf 0.88 bincode: RUSTSEC-2025-0141
Bincode is unmaintained
Cargo.lock
high Security checks cicd CI/CD security conf 0.92 Dockerfile copies the entire context without .dockerignore
COPY . or ADD . sends the full build context to Docker. Without .dockerignore this can include secrets, git history, and local artifacts.
Dockerfile:7 CI/CD securitycontainers
high Security checks software dependencies conf 0.90 ✓ Repobility Dockerfile FROM `alpine:latest` not pinned by digest
`FROM alpine:latest` 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.
Dockerfile:26
high Security checks software dependencies conf 0.88 paste: RUSTSEC-2024-0436
paste - no longer maintained
Cargo.lock
high Security checks software dependencies conf 0.88 time: RUSTSEC-2026-0009
Denial of Service via Stack Exhaustion
Cargo.lock
high Security checks software dependencies conf 0.88 yaml-rust: RUSTSEC-2024-0320
yaml-rust is unmaintained.
Cargo.lock
high System graph security security conf 1.00 Insecure pattern 'eval_used' in crates/typst-cli/src/main.rs:75
Found a known-risky pattern (eval_used). Review and replace if possible.
crates/typst-cli/src/main.rs:75 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in crates/typst-eval/src/access.rs:22
Found a known-risky pattern (eval_used). Review and replace if possible.
crates/typst-eval/src/access.rs:22 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in crates/typst-layout/src/inline/deco.rs:114
Found a known-risky pattern (eval_used). Review and replace if possible.
crates/typst-layout/src/inline/deco.rs:114 Eval used
high System graph security security conf 1.00 Insecure pattern 'eval_used' in crates/typst/src/lib.rs:123
Found a known-risky pattern (eval_used). Review and replace if possible.
crates/typst/src/lib.rs:123 Eval used
medium Security checks cicd CI/CD security conf 0.90 Docker build context has no .dockerignore
Without .dockerignore, build context can include source history, local env files, dependencies, and generated artifacts.
.dockerignore CI/CD securitycontainers
high Security checks cicd CI/CD security conf 0.82 Docker final stage has no non-root USER
Docker images run as root unless the image or Dockerfile switches to a non-root user.
Dockerfile:27 CI/CD securitycontainers
medium Security checks cicd CI/CD security conf 0.94 Dockerfile base image uses the latest tag
The latest tag is mutable and can change without a code review, producing different images from the same source.
Dockerfile:27 CI/CD securitycontainers
medium Security checks cicd CI/CD security conf 0.90 Dockerfile installs dependencies after copying the full source tree
When dependency installation comes after COPY ., any source change invalidates the dependency layer and makes Docker rebuild much more slowly.
Dockerfile:9 CI/CD securitycontainers
medium Security checks software dependencies conf 0.88 openssl: GHSA-phqj-4mhp-q6mq
rust-openssl: Potential out-of-bounds write in `CipherCtxRef::cipher_update_inplace` for AES-KW-PAD ciphers
Cargo.lock
medium Security checks software dependencies conf 0.88 tar: GHSA-3pv8-6f4r-ffg2
tar has a PAX header desynchronization issue
Cargo.lock
medium System graph hardware Supply chain conf 1.00 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.
Dockerfile:26 containersPinned dependencies
medium System graph hardware Supply chain conf 1.00 Docker base image uses a mutable or implicit tag: tonistiigi/xx
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
Dockerfile:1 containersPinned dependencies
medium System graph hardware Security conf 1.00 Dockerfile runs as root: Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph cicd CI/CD security conf 1.00 GitHub Action is tag-pinned rather than SHA-pinned
docker/build-push-action@v263435318d21b8e681c14492fe198d362a7d2c83 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/docker-image.yml:58 CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/docker-image.yml CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/release.yml CI/CD securitySupply chainGithub actions
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 quality Tests conf 1.00 Very low test-to-source ratio
20 test file(s) for 385 source file(s) (ratio 0.05). Consider adding integration or unit tests for critical paths.
Coverage
low Security checks quality Quality conf 0.60 13 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.
11 files, 13 locations
crates/typst-layout/src/introspect.rs:53, 66 (2 hits)
tests/src/output.rs:208, 225 (2 hits)
crates/typst-cli/src/query.rs:38
crates/typst-html/src/introspect.rs:45
crates/typst-layout/src/inline/box.rs:27
crates/typst-library/src/layout/ratio.rs:8
crates/typst-library/src/model/table.rs:21
crates/typst-library/src/text/mod.rs:263
duplicationquality
low System graph quality Maintenance conf 1.00 72 TODO/FIXME markers
High count of TODO/FIXME/HACK markers — track them as issues so they're not forgotten.
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: rust:alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
Dockerfile:2 containersPinned dependencies
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — tests/src/report/report.js:644
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
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — tools/test-helper/src/extension.ts:293
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
low System graph quality Complexity conf 1.00 Very large file: crates/typst-ide/src/complete.rs (2071 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/typst-layout/src/grid/layouter.rs (1875 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/typst-layout/src/grid/lines.rs (1518 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/typst-layout/src/grid/rowspans.rs (1283 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/typst-layout/src/inline/shaping.rs (1511 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/typst-library/src/layout/grid/resolve.rs (2421 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/typst-library/src/model/bibliography.rs (1719 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/typst-library/src/text/mod.rs (1620 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/typst-library/src/visualize/color.rs (2122 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/typst-realize/src/lib.rs (1534 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/typst-syntax/src/ast.rs (2634 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/typst-syntax/src/node.rs (1621 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/typst-syntax/src/parser.rs (2129 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/src/report/html.rs (1384 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
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/a505d54a-f679-46d4-852f-a0873e69bc1d/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/a505d54a-f679-46d4-852f-a0873e69bc1d/

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.