← Back to scan
File as GitHub Issue repo: can1357/oh-my-pi

Push this scan report to can1357/oh-my-pi

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Server-Side Request Forgery (SSRF) — outbound HTTP from user input

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED107 [MINED107] Missing import: `enum` used but not imported: The file uses `enum.something(..… packages/ai/scripts/proto-extractor.py:430
CRIT MINED116 [MINED116] Workflow uses `secrets.NPM_TOKEN` on a `pull_request` trigger: This workflow t… .github/workflows/ci.yml:365
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/ai/src/providers/azure-openai-…:188
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/ai/src/provider-models/ollama.…:28
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/ai/src/provider-details.ts:62
HIGH SEC100 [SEC100] CORS permissive Access-Control-Allow-Origin: *: Permissive CORS policy (`*` orig… packages/ai/src/auth-gateway/http.ts:164
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… packages/ai/scripts/cursor-log.py:245
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… packages/ai/scripts/cursor-log.py:219
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/ai/src/providers/aws-sigv4.ts:151
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… packages/agent/src/compaction/utils.ts:152
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/ai/src/providers/google-auth.ts:226
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/ai/src/api-registry.ts:86
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … crates/brush-core-vendored/src/terminal…:89
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … crates/brush-core-vendored/src/prompt.rs:216
HIGH COMP001 [COMP001] High cognitive complexity: Function `format_data` has cognitive complexity 30 (… packages/ai/scripts/cursor-log.py:66
HIGH DKR014 Dockerfile copies the entire context without .dockerignore Dockerfile:183
HIGH DKR006 Dockerfile pipes a remote script into a shell Dockerfile:123
HIGH DKR014 Dockerfile copies the entire context without .dockerignore Dockerfile:66
HIGH DKR006 Dockerfile pipes a remote script into a shell Dockerfile:42
HIGH MINED115 [MINED115] Action `oven-sh/setup-bun` pinned to mutable ref `@v2`: `uses: oven-sh/setup-b… .github/workflows/ci.yml:344
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:343
HIGH MINED115 [MINED115] Action `softprops/action-gh-release` pinned to mutable ref `@v2`: `uses: softp… .github/workflows/ci.yml:331
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v4`: `uses: actions… .github/workflows/ci.yml:325
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:323
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v4`: `uses: actions/u… .github/workflows/ci.yml:310
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v4`: `uses: actions… .github/workflows/ci.yml:284
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v4`: `uses: actions/cache@v4` r… .github/workflows/ci.yml:278
HIGH MINED115 [MINED115] Action `oven-sh/setup-bun` pinned to mutable ref `@v2`: `uses: oven-sh/setup-b… .github/workflows/ci.yml:274
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:273
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v4`: `uses: actions/cache@v4` r… .github/workflows/ci.yml:210
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/ci.yml:202
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@nightly`: `uses: dtoln… .github/workflows/ci.yml:199
HIGH MINED115 [MINED115] Action `oven-sh/setup-bun` pinned to mutable ref `@v2`: `uses: oven-sh/setup-b… .github/workflows/ci.yml:196
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:195
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v4`: `uses: actions… .github/workflows/ci.yml:173
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v4`: `uses: actions/cache@v4` r… .github/workflows/ci.yml:152
HIGH MINED115 [MINED115] Action `oven-sh/setup-bun` pinned to mutable ref `@v2`: `uses: oven-sh/setup-b… .github/workflows/ci.yml:148
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:147
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:131
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:107
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v4`: `uses: actions/cache@v4` r… .github/workflows/ci.yml:86
HIGH MINED115 [MINED115] Action `oven-sh/setup-bun` pinned to mutable ref `@v2`: `uses: oven-sh/setup-b… .github/workflows/ci.yml:82
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:81
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:33
HIGH MINED118 [MINED118] Dockerfile FROM `python:3.12-slim-bookworm` not pinned by digest: `FROM python… Dockerfile:103
HIGH MINED118 [MINED118] Dockerfile FROM `python:3.12-slim-bookworm` not pinned by digest: `FROM python… Dockerfile:83
HIGH MINED118 [MINED118] Dockerfile FROM `rust:1.86-slim-bookworm` not pinned by digest: `FROM rust:1.8… Dockerfile:30
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/agent/src/proxy.ts:112
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… crates/pi-shell/src/minimizer/filters/g…:221
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … crates/brush-builtins-vendored/src/exec…:75
MED COMP001 [COMP001] High cognitive complexity: Function `coalesce_entries` has cognitive complexity… packages/ai/scripts/cursor-log.py:145
MED COMP001 [COMP001] High cognitive complexity: Function `process_file` has cognitive complexity 24 … packages/ai/scripts/cursor-log.py:203
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR001 Docker final stage has no non-root USER Dockerfile:163
LOW AIC003 Duplicated implementation block across source files packages/ai/src/providers/ollama.ts:258
LOW AIC003 Duplicated implementation block across source files packages/ai/src/providers/google-shared…:549
LOW AIC003 Duplicated implementation block across source files packages/ai/src/providers/google-shared…:386
LOW AIC003 Duplicated implementation block across source files packages/ai/src/providers/google-gemini…:249
LOW AIC003 Duplicated implementation block across source files crates/pi-shell/src/minimizer/filters/p…:85
LOW AIC003 Duplicated implementation block across source files crates/pi-shell/src/minimizer/filters/m…:114
LOW AIC003 Duplicated implementation block across source files crates/pi-shell/src/minimizer/filters/j…:359
LOW AIC003 Duplicated implementation block across source files crates/pi-shell/src/minimizer/filters/j…:358
LOW AIC003 Duplicated implementation block across source files crates/pi-shell/src/minimizer/filters/g…:38
LOW AIC003 Duplicated implementation block across source files crates/pi-shell/src/minimizer/filters/c…:218
LOW AIC003 Duplicated implementation block across source files crates/pi-shell/build.rs:38
LOW AIC003 Duplicated implementation block across source files crates/pi-natives/src/ast.rs:14
LOW AIC003 Duplicated implementation block across source files crates/pi-iso/src/windows_block_clone.rs:144
LOW AIC003 Duplicated implementation block across source files crates/brush-core-vendored/src/sys/wind…:91
LOW AIC003 Duplicated implementation block across source files crates/brush-builtins-vendored/src/test…:10
LOW AIC003 Duplicated implementation block across source files crates/brush-builtins-vendored/src/geto…:45
LOW DKR012 Dockerfile keeps pip download cache Dockerfile:141
LOW DKR012 Dockerfile keeps pip download cache Dockerfile:89
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/ai/src/providers/google-auth.ts:22
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/ai/src/cli.ts:70
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… packages/ai/scripts/cursor-log.py:220
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/agent/src/proxy.ts:286
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/agent/src/compaction/utils.ts:34
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… crates/pi-shell/build.rs:56
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… crates/pi-natives/build.rs:58
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. crates/pi-iso/src/windows_block_clone.rs:270
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. crates/pi-iso/src/overlayfs.rs:189
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. crates/pi-ast/src/ops.rs:292
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… crates/brush-core-vendored/src/sys/unix…:55
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… crates/brush-core-vendored/src/sys/unix…:56
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… crates/brush-core-vendored/src/processe…:211
Reset to top 5 86 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `can1357/oh-my-pi`

**Score: 61/100 (B-)**  ·  86 findings  ·  scanned 2026-05-20 12:45 UTC  ·  118,278 LOC

| Severity | Count |
|---|---|
| CRITICAL | 2 |
| HIGH | 45 |
| MEDIUM | 8 |
| LOW | 18 |

📊 [Full filterable report](https://repobility.com/scan/e1693738-f0c2-4ae2-888c-ee3b2d99a3c3/)  ·  ![scorecard](https://repobility.com/scan/e1693738-f0c2-4ae2-888c-ee3b2d99a3c3/report.png?v=1779281132-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `enum` used but not imported
   `packages/ai/scripts/proto-extractor.py:430` · ✓ Repobility
2. **CRITICAL** `MINED116` — Workflow uses `secrets.NPM_TOKEN` on a `pull_request` trigger
   `.github/workflows/ci.yml:365` · ✓ Repobility
3. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `packages/ai/src/providers/azure-openai-responses.ts:188` · A10:2021 SSRF
4. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `packages/ai/src/provider-models/ollama.ts:28` · A10:2021 SSRF
5. **HIGH** `SEC029` — Server-Side Request Forgery (SSRF) — outbound HTTP from user input
   `packages/ai/src/provider-details.ts:62` · A10:2021 SSRF

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/e1693738-f0c2-4ae2-888c-ee3b2d99a3c3/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 9 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'can1357/oh-my-pi' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.