pStrikeZ/Nyx-Refrain
Stream your Windows / Linux PC's system audio to HomePod and other AirPlay 2 speakers with low latency
- Repository: https://github.com/pStrikeZ/Nyx-Refrain
- Commit:
c31fbd8d504ad571fe55b69be3b8761e82ce8a87 - Generated: 2026-11-13T23:46:42+00:00
- Scorer 0.1.0, scoring prov-4+qual-2+sec-2, report schema v2
Scores
| Pillar | Score | Signal | Confidence | Coverage |
|---|---|---|---|---|
| AI provenance (estimated AI-generated share) | 6 | explicit | 83% | 100% |
| Code quality | 67 | adequate | 90% | 100% |
| Security | 56 | weak | 85% | 100% |
AI provenance
Explicit AI attribution on 6% of first-party code added; an estimated 6% including velocity signals.
- Explicitly attributed share (lower bound): 6.4%
- Unattributed share in AI-consistent velocity bursts: 7.5%
- Estimated AI-generated share: 6.4%
| AI tool | Attributed commits | Lines added |
|---|---|---|
| Claude Code | 28 | 2,055 |
| OpenAI Codex | 2 | 156 |
- AI tooling configured in repo: claude-code, generic-agent
Current source lines last changed by AI-attributed commits: 1,766 of 32,089.
| Findings per 1,000 lines | AI-attributed | Other | Ratio |
|---|---|---|---|
| Quality | 0.0 | 0.0 | n/a |
| Security | 6.795 | 5.837 | 1.16x |
- Stylometry index: 0.12 per 1,000 lines (narrated steps 0, placeholders 0, assistant phrasing 0, emoji 8). Reported as a signal, not scored.
| Month | Lines added | Attributed to AI |
|---|---|---|
| 2026-09 | 28,821 | 0% |
| 2026-10 | 5,607 | 37% |
| 2026-11 | 156 | 100% |
Evidence
- OpenAI Codex: on merged branch (c31fbd8d50) (87d4ae0a2b09)
- OpenAI Codex: on merged branch (c31fbd8d50) (44a40d3c1ac5)
- Claude Code: trailer 'Co-Authored-By: Claude' (d1e54fdc1f24)
- Claude Code: trailer 'Co-Authored-By: Claude' (022294f6d3a6)
- Claude Code: trailer 'Co-Authored-By: Claude' (cf6ccc73ddec)
- Claude Code: trailer 'Co-Authored-By: Claude' (f1436991e2e4)
- Claude Code: trailer 'Co-Authored-By: Claude' (1c1b30b91a27)
- Claude Code: trailer 'Co-Authored-By: Claude' (fb89b2367acb)
- Claude Code: trailer 'Co-Authored-By: Claude' (e961842b62a5)
- Claude Code: trailer 'Co-Authored-By: Claude' (810e33f831cc)
- Claude Code: trailer 'Co-Authored-By: Claude' (e33feff37418)
- Claude Code: trailer 'Co-Authored-By: Claude' (9ad6e8e3f8ba)
- Claude Code: trailer 'Co-Authored-By: Claude' (f4cf0d3385f8)
- Claude Code: trailer 'Co-Authored-By: Claude' (7fa20472943b)
- Claude Code: on merged branch (7a265915b1) (00e08c4186b0)
AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.
Code quality
Code quality is adequate: test-to-source ratio 0.05, CI runs tests; 32% of function code in complex or long functions; 4% duplicated lines. Weakest area: complexity.
| Area | Score |
|---|---|
| Complexity (lizard) | 38 |
| Duplication | 81 |
| Code smells (Opengrep) | 100 |
| Tests and CI | 68 |
| Documentation | 65 |
| Type safety | 40 |
| Process (Scorecard review/maintenance) | n/a |
- Functions: 1,057; mean complexity 3.7, 90th percentile 8; 36 complex and 30 long functions
- Duplicated lines: 3.5% of 23,210 compared
- Tests: 1,539 test lines for 32,089 source lines (ratio 0.05); CI test commands: go test, cargo test; 2% of recent source commits also change tests
- Docs missing or thin: contributing, changelog
Most complex functions:
- t in apps/nyx-refrain/src/i18n.rs: complexity 121, 155 lines
- run in apps/nyx-refrain/src/engine.rs: complexity 106, 523 lines
- start in crates/raop/src/ap2/session.rs: complexity 71, 455 lines
- handle_message in crates/pwnative/src/client_node.rs: complexity 70, 253 lines
- create in crates/pwnative/src/lib.rs: complexity 69, 251 lines
Security
Security posture is weak: 11 known vulnerabilities in 8 dependencies; 22 high-severity workflow issues. Weakest area: posture.
| Area | Score |
|---|---|
| Secrets (gitleaks, tree + history) | 100 |
| Static analysis (Opengrep) | 60 |
| Vulnerable dependencies (OSV) | 67 |
| CI workflows (zizmor) | 2 |
| Posture (policy, updates, signing, lockfiles) | 0 |
| OpenSSF Scorecard | n/a |
-
Known vulnerabilities: 11 in 8 packages (critical 0, high 0, medium 2, low 3)
-
Posture checks passed: none; missing: security policy, dependency updates, signed commits, lockfiles
Top findings
| Severity | Finding | Location |
|---|---|---|
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:26 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:39 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:44 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:48 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:98 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:104 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:110 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:116 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:122 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:128 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:134 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:140 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:146 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:152 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:158 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/build.yml:172 |
| high | zizmor/cache-poisoning: runtime artifacts potentially vulnerable to a cache poisoning attack [confidence low] |
.github/workflows/build.yml:44 |
| high | zizmor/cache-poisoning: runtime artifacts potentially vulnerable to a cache poisoning attack [confidence low] |
.github/workflows/build.yml:48 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:24 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:27 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:34 |
| high | zizmor/unpinned-uses: unpinned action reference [confidence high] |
.github/workflows/ci.yml:38 |
| medium | osv/GHSA-wrw7-89jp-8q8g: glib@0.18.5 (crates.io) is affected by RUSTSEC-2024-0429, GHSA-wrw7-89jp-8q8g |
Cargo.lock |
| medium | osv/RUSTSEC-2024-0370: proc-macro-error@1.0.4 (crates.io) is affected by RUSTSEC-2024-0370 |
Cargo.lock |
| medium | osv/RUSTSEC-2026-0486: rustix@1.1.5 (crates.io) is affected by RUSTSEC-2026-0486 |
Cargo.lock |
Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.
Distribution signals
- binary-release-asset: release v0.9.5 ships nyx-refrain-0.9.5-1.aarch64.rpm (2 downloads)
- binary-release-asset: release v0.9.5 ships nyx-refrain-0.9.5-1.loongarch64.rpm (1 downloads)
- binary-release-asset: release v0.9.5 ships nyx-refrain-0.9.5-1.x86_64.rpm (4 downloads)
- binary-release-asset: release v0.9.5 ships nyx-refrain-0.9.5-windows-arm64-setup.exe (5 downloads)
- binary-release-asset: release v0.9.5 ships nyx-refrain-0.9.5-windows-x86_64-setup.exe (51 downloads)
Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.
Repository profile
- Source lines: 32,089; test lines: 1,539
| Language | Lines |
|---|---|
| Rust | 32,560 |
| Shell | 709 |
| Python | 321 |
| PowerShell | 38 |