← Back to scan
File as GitHub Issue repo: huangjunsen0406/py-xiaozhi

Push this scan report to huangjunsen0406/py-xiaozhi

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

Silent Exception Swallowing

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
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… scripts/keyword_generator.py:69
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… scripts/keyword_generator.py:319
HIGH CORE_NO_TESTS No test files found
MED SEC014 [SEC014] SSL Verification Disabled: SSL certificate verification is disabled, allowing ma… src/activation/service.py:555
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… .claude/hooks/inject-subagent-context.py:183
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… .trellis/scripts/common/task_store.py:277
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… main.py:154
MED AIC003 Duplicated implementation block across source files src/ui/gpio/manager.py:113
MED AIC003 Duplicated implementation block across source files src/mcp/tools/app/scanner_mac.py:92
MED AIC003 Duplicated implementation block across source files .trellis/scripts/common/paths.py:133
MED AIC003 Duplicated implementation block across source files .claude/hooks/session-start.py:75
MED AIC003 Duplicated implementation block across source files .claude/hooks/session-start.py:65
MED AIC003 Duplicated implementation block across source files .claude/hooks/inject-workflow-state.py:36
MED AGT016 Codex session log reader may expose prompts or tool-call content .claude/hooks/session-start.py:38
MED AGT015 Remote install command pipes network code directly to a shell documents/docs/guide/系统依赖安装.md:155
MED AGT015 Remote install command pipes network code directly to a shell .trellis/tasks/research/linux-audio-dep…:204
MED AGT013 Agent auto-approve or skip-permissions mode is easy to enable .trellis/scripts/common/cli_adapter.py:344
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. .trellis/scripts/common/task_utils.py:240
LOW WEB005 robots.txt does not advertise a sitemap documents/docs/guide/设备激活流程.md
Reset to top 5 19 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `huangjunsen0406/py-xiaozhi`

**Score: 84/100 (C+)**  ·  23 findings  ·  scanned 2026-05-15 09:54 UTC  ·  33,450 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 3 |
| MEDIUM | 15 |
| LOW | 1 |

📊 [Full filterable report](https://repobility.com/scan/57263f9d-e867-4072-a691-2b0ee18162b6/)  ·  ![scorecard](https://repobility.com/scan/57263f9d-e867-4072-a691-2b0ee18162b6/report.png?v=1778838890-s2)

### Top findings

1. **HIGH** `SEC020` — Secret Printed to Logs
   `scripts/keyword_generator.py:69` · A07:2021 Identification & Authentication Failures
2. **HIGH** `SEC013` — Path Traversal — User Input in File Path
   `scripts/keyword_generator.py:319` · A01:2021 Broken Access Control (path traversal)
3. **HIGH** `CORE_NO_TESTS` — No test files found
4. **MEDIUM** `SEC014` — SSL Verification Disabled
   `src/activation/service.py:555` · A02:2021 Cryptographic Failures
5. **MEDIUM** `ERR001` — Silent Exception Swallowing
   `.claude/hooks/inject-subagent-context.py:183`

---

**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/57263f9d-e867-4072-a691-2b0ee18162b6/_
Megaproject â high spam risk
Could not determine 'huangjunsen0406/py-xiaozhi' 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.