← Back to scan
File as GitHub Issue repo: CopilotKit/aimock

Push this scan report to CopilotKit/aimock

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

Duplicated implementation block across source files

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
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… packages/aimock-pytest/src/aimock_pytes…:95
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… packages/aimock-pytest/src/aimock_pytes…:153
MED AIC003 Duplicated implementation block across source files src/index.ts:131
MED AIC003 Duplicated implementation block across source files src/images.ts:138
MED AIC003 Duplicated implementation block across source files src/images.ts:65
MED AIC003 Duplicated implementation block across source files src/gemini.ts:577
MED AIC003 Duplicated implementation block across source files src/gemini.ts:559
MED AIC003 Duplicated implementation block across source files src/gemini.ts:546
MED AIC003 Duplicated implementation block across source files src/gemini-interactions.ts:566
MED AIC003 Duplicated implementation block across source files src/fal.ts:64
MED AIC003 Duplicated implementation block across source files src/fal-audio.ts:320
MED AIC003 Duplicated implementation block across source files src/embeddings.ts:187
MED AIC003 Duplicated implementation block across source files src/agui-stub.ts:10
MED AIC003 Duplicated implementation block across source files src/agui-mock.ts:206
MED DKR001 Docker final stage has no non-root USER Dockerfile:20
MED AGT012 Agent control bridge may listen on a network interface without visible auth docs/migrate-from-vidaimock/index.html:59
MED AGT012 Agent control bridge may listen on a network interface without visible auth docs/migrate-from-python-mocks/index.ht…:191
MED AGT012 Agent control bridge may listen on a network interface without visible auth docs/migrate-from-piyook/index.html:149
MED AGT012 Agent control bridge may listen on a network interface without visible auth docs/migrate-from-openai-responses/inde…:179
MED AGT012 Agent control bridge may listen on a network interface without visible auth docs/migrate-from-msw/index.html:150
MED AGT012 Agent control bridge may listen on a network interface without visible auth docs/migrate-from-mock-llm/index.html:197
MED CORE_LARGE_FILES Average file size is 541 lines (recommend <300)
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
Reset to top 5 23 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `CopilotKit/aimock`

**Score: 84/100 (A-)**  ·  26 findings  ·  scanned 2026-05-15 23:19 UTC  ·  111,421 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 0 |
| MEDIUM | 22 |
| LOW | 1 |

📊 [Full filterable report](https://repobility.com/scan/b724a53c-3962-4ed3-bb64-f5c1ef67990f/)  ·  ![scorecard](https://repobility.com/scan/b724a53c-3962-4ed3-bb64-f5c1ef67990f/report.png?v=1778887176-s2)

### Top findings

1. **MEDIUM** `ERR001` — Silent Exception Swallowing
   `packages/aimock-pytest/src/aimock_pytest/_server.py:95`
2. **MEDIUM** `SEC012` — ZipSlip — Archive Path Traversal
   `packages/aimock-pytest/src/aimock_pytest/_node_manager.py:153` · A01:2021 Broken Access Control (path traversal)
3. **MEDIUM** `AIC003` — Duplicated implementation block across source files
   `src/index.ts:131`
4. **MEDIUM** `AIC003` — Duplicated implementation block across source files
   `src/images.ts:138`
5. **MEDIUM** `AIC003` — Duplicated implementation block across source files
   `src/images.ts:65`

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/b724a53c-3962-4ed3-bb64-f5c1ef67990f/_
Megaproject â high spam risk
Could not determine 'CopilotKit/aimock' 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.