← Back to scan
File as GitHub Issue repo: hexo-ai/sia

Push this scan report to hexo-ai/sia

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

`self.dataset_dir` used but never assigned in __init__

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 SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … sia/run_setup.py:81
HIGH MINED034 [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command inje… sia/tasks/spaceship-titanic/reference/r…:73
HIGH MINED034 [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command inje… sia/tasks/_shared/reference_target_agen…:73
HIGH MINED034 [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command inje… sia/backends/pydantic_ai.py:78
HIGH MINED108 `self.dataset_dir` used but never assigned in __init__ sia/layout.py:154
HIGH MINED108 `self.gen_dir` used but never assigned in __init__ sia/layout.py:138
HIGH MINED108 `self.gen_dir` used but never assigned in __init__ sia/layout.py:135
HIGH MINED108 `self.gen_dir` used but never assigned in __init__ sia/layout.py:132
HIGH MINED108 `self.gen_dir` used but never assigned in __init__ sia/layout.py:129
HIGH MINED108 `self.gen_dir` used but never assigned in __init__ sia/layout.py:126
HIGH MINED108 `self.venv_dir` used but never assigned in __init__ sia/layout.py:119
HIGH MINED108 `self._parse_stdout_metrics` used but never assigned in __init__ sia/context_manager.py:375
HIGH MINED108 `self._extract_insights` used but never assigned in __init__ sia/context_manager.py:243
HIGH MINED108 `self._format_generation_entry` used but never assigned in __init__ sia/context_manager.py:249
HIGH MINED108 `self._generate_llm_summary` used but never assigned in __init__ sia/context_manager.py:246
HIGH MINED108 `self._extract_metrics` used but never assigned in __init__ sia/context_manager.py:238
HIGH MINED108 `self._get_agent_stats` used but never assigned in __init__ sia/context_manager.py:226
HIGH MINED108 `self._format_metrics_comparison` used but never assigned in __init__ sia/context_manager.py:111
HIGH COMP001 [COMP001] High cognitive complexity: Function `run_agent_claude` has cognitive complexity… sia/backends/claude.py:13
HIGH MINED115 Action `pypa/gh-action-pypi-publish` pinned to mutable ref `@release/v1` .github/workflows/publish.yml:66
HIGH MINED115 Action `astral-sh/setup-uv` pinned to mutable ref `@v4` .github/workflows/publish.yml:48
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/publish.yml:43
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/publish.yml:40
HIGH MINED115 Action `astral-sh/setup-uv` pinned to mutable ref `@v4` .github/workflows/publish.yml:23
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/publish.yml:18
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/publish.yml:15
HIGH MINED115 Action `astral-sh/setup-uv` pinned to mutable ref `@v4` .github/workflows/ci.yml:88
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/ci.yml:83
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/ci.yml:80
HIGH MINED115 Action `astral-sh/setup-uv` pinned to mutable ref `@v4` .github/workflows/ci.yml:67
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/ci.yml:62
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/ci.yml:59
HIGH MINED115 Action `astral-sh/setup-uv` pinned to mutable ref `@v4` .github/workflows/ci.yml:25
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/ci.yml:20
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/ci.yml:17
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… sia/tasks/longcot-chess/reference/refer…:232
HIGH AUC003 [AUC003] Object-level route lacks visible authorization: A route with an object id-like p… sia/web/server.py:59
MED SEC125 [SEC125] AI placeholder credential left in source (your-api-key-here style): AI coding as… sia/tasks/longcot-chess/reference/refer…:285
MED SEC034 [SEC034] Log Injection / Log Forging — unsanitized user input in log: User input is logge… sia/backends/claude.py:72
MED MINED111 Bare except continues silently sia/tasks/spaceship-titanic/reference/r…:86
MED MINED111 Bare except continues silently sia/tasks/spaceship-titanic/reference/r…:67
MED MINED111 Bare except continues silently sia/tasks/spaceship-titanic/reference/r…:57
MED MINED111 Bare except continues silently sia/tasks/lawbench/data/public/evaluate…:130
MED MINED111 Bare except continues silently sia/tasks/longcot-chess/reference/refer…:78
MED MINED111 Bare except continues silently sia/tasks/longcot-chess/reference/refer…:139
MED MINED111 Bare except continues silently sia/tasks/gpqa/reference/reference_targ…:142
MED MINED111 Bare except continues silently sia/tasks/gpqa/reference/reference_targ…:162
MED MINED111 Bare except continues silently sia/tasks/_shared/reference_target_agen…:155
MED MINED111 Bare except continues silently sia/tasks/_shared/reference_target_agen…:86
MED MINED111 Bare except continues silently sia/tasks/_shared/reference_target_agen…:67
MED MINED111 Bare except continues silently sia/tasks/_shared/reference_target_agen…:57
MED MINED111 Bare except continues silently sia/prepare_mlebench_dataset.py:170
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED JRN003 Frontend API reference is not matched by discovered backend routes sia/web/static/index.html:449
MED JRN003 Frontend API reference is not matched by discovered backend routes sia/web/static/index.html:429
MED AUC002 [AUC002] Low visible authorization coverage in route inventory: Only 37.5% of discovered …
MED AUC012 [AUC012] FastAPI interactive docs may be exposed by framework defaults: FastAPI exposes /…
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. sia/tasks/_shared/reference_target_agen…:73
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. sia/backends/pydantic_ai.py:78
LOW COMP001 [COMP001] High cognitive complexity: Function `copy_dataset_files` has cognitive complexi… sia/prepare_mlebench_dataset.py:45
LOW COMP001 [COMP001] High cognitive complexity: Function `resolve_task_dir` has cognitive complexity… sia/layout.py:69
LOW AIC003 Duplicated implementation block across source files sia/tasks/spaceship-titanic/reference/r…:1
LOW AUC005 [AUC005] No authorization-focused tests detected: No test files with common authorization…
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… sia/web/server.py:97
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… sia/tasks/gpqa/reference/reference_targ…:21
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… sia/tasks/_shared/reference_target_agen…:293
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. sia/tasks/longcot-chess/reference/refer…:232
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. sia/prepare_mlebench_dataset.py:119
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. sia/profiles.py:32
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. sia/layout.py:96
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. sia/config.py:11
Reset to top 5 72 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `hexo-ai/sia`

**Score: 77/100 (A-)**  ·  87 findings  ·  scanned 2026-06-05 22:20 UTC  ·  7,764 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 37 |
| MEDIUM | 23 |
| LOW | 4 |

📊 [Full filterable report](https://repobility.com/scan/99e8c792-75c5-4581-9d42-d279f50144da/)  ·  ![scorecard](https://repobility.com/scan/99e8c792-75c5-4581-9d42-d279f50144da/report.png?v=1780698014-s2)

### Top findings

1. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `sia/run_setup.py:81`
2. **HIGH** `MINED034` — Python Subprocess Shell True
   `sia/tasks/spaceship-titanic/reference/reference_target_agent.py:73` · CWE-78 · ✓ Repobility
3. **HIGH** `MINED034` — Python Subprocess Shell True
   `sia/tasks/_shared/reference_target_agent.py:73` · CWE-78 · ✓ Repobility
4. **HIGH** `MINED034` — Python Subprocess Shell True
   `sia/backends/pydantic_ai.py:78` · CWE-78 · ✓ Repobility
5. **HIGH** `MINED108` — `self.dataset_dir` used but never assigned in __init__
   `sia/layout.py:154` · ✓ Repobility

---

**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/99e8c792-75c5-4581-9d42-d279f50144da/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 3 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 'hexo-ai/sia' 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.
Already filed
32/93 findings (34%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

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.