AI Slop Code RIsk Monitor

darknessomi/musicbox

网易云音乐命令行版本

16.2 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for darknessomi/musicbox, a Python project with 9,856 GitHub stars. SynthScan examined 10,773 lines of code across 45 source files, recording 137 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 16.2 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

16.2
Adjusted Signal
16.2
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
9.9K
Stars
Python
Language
10.8K
Lines of Code
45
Files
137
Pattern Hits
2026-10-12
Scan Date
0.16
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 41.4/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 106 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

Are imports declared and package/API names verified? 1 finding(s).

Agent Over-Engineering Ratio 49.9/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 111 finding(s).

PR Review Velocity Impact 55.4/100 · HIGH

Which changes need focused human review? 137 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 7MEDIUM 1LOW 129

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 137 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers81 hits · 90 pts
SeverityFileLineSnippetContext
LOWNEMbox/encrypt.py75def _cloudmusic_dll_encode_id(some_id: str) -> str:CODE
LOWNEMbox/api.py148def is_supported_music_quality(quality):CODE
LOWNEMbox/menu.py409 def space_key_event_in_search_result(self):CODE
LOWNEMbox/player.py231 def _advance_on_playback_failure(self):CODE
LOWtests/test_player.py6def test_playing_id_is_none_without_current_song():CODE
LOWtests/test_player.py19def test_mpv_switch_uses_ipc_pause_command():CODE
LOWtests/test_player.py37def test_stale_playback_token_is_not_current():CODE
LOWtests/test_player.py63def test_refresh_mpv_audio_info_stores_audio_quality_separately():CODE
LOWtests/test_player.py114def test_advance_on_playback_failure_stops_for_single_song_queue():CODE
LOWtests/test_player.py127def test_advance_on_playback_failure_stops_when_loop_wraps_to_same_song():CODE
LOWtests/test_player.py146def test_advance_on_playback_failure_replays_when_next_song_differs():CODE
LOWtests/test_player.py164def test_build_playinfo_rotates_quality_label(monkeypatch):CODE
LOWtests/test_version_metadata.py10def test_release_version_sources_are_synchronized():CODE
LOWtests/test_api_endpoint_updates.py34def test_get_account_info_uses_current_account_endpoint(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py52def test_get_account_info_falls_back_to_legacy_w_endpoint(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py149def test_eapi_request_sends_music_u_and_nmtid_in_payload_and_cookie(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py185def test_eapi_header_uses_music_a_without_logged_in_identity():CODE
LOWtests/test_api_endpoint_updates.py202def test_eapi_request_persists_first_nmtid(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py221def test_eapi_request_does_not_resave_existing_nmtid(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py238def test_eapi_request_ignores_nmtid_save_failure(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py298def test_dj_radios_uses_current_hot_endpoint(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py329def test_logout_calls_eapi_logout_before_clearing_local(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py371def test_fetch_toplists_uses_api_toplist(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py385def test_toplists_property_caches_result(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py400def test_top_songlist_uses_dynamic_id(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py420def test_playlist_classes_are_dynamic_ordered_deduplicated_and_cached(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py447def test_playlist_classes_complete_two_level_tui_flow(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py487def test_playlist_classes_fall_back_on_invalid_response(monkeypatch):CODE
LOWtests/test_api_endpoint_updates.py495def test_playlist_classes_fall_back_on_request_error(monkeypatch):CODE
LOWtests/test_audio_quality.py6def test_parse_song_url_hides_lossless_bitrate():CODE
LOW⚡tests/test_audio_quality.py27def test_supported_music_quality_values(quality):CODE
LOW⚡tests/test_audio_quality.py32def test_unsupported_music_quality_values(quality):CODE
LOW⚡tests/test_audio_quality.py36def test_parse_songs_keeps_duration_for_mpv_progress():CODE
LOWtests/test_daemon.py35def test_acquire_lock_is_exclusive(runtime_paths):CODE
LOWtests/test_daemon.py47def test_tune_volume_persists_when_stopped():CODE
LOWtests/test_daemon.py60def test_daemon_volume_delta_when_stopped(runtime_paths):CODE
LOWtests/test_daemon.py68def test_daemon_rpc_ping_status_and_shutdown(runtime_paths):CODE
LOWtests/test_ui_playinfo.py5def test_playinfo_song_start_accounts_for_long_quality_label():CODE
LOWtests/test_osdlyrics.py6def test_stop_lyrics_process_skips_when_osdlyrics_disabled():CODE
LOWtests/test_osdlyrics.py11def test_stop_lyrics_process_survives_dbus_failure():CODE
LOWtests/test_ui_login_qr.py28def test_build_login_qr_does_not_render_url(monkeypatch):CODE
LOW⚡tests/test_cli.py465def test_control_autostarts_daemon(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py474def test_daemon_not_running_no_autostart(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py482def test_volume_relative_params(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py490def test_volume_absolute_params(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py498def test_queue_clear_requires_confirmation(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py507def test_queue_clear_with_yes(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py600def test_play_dry_run_album_no_side_effect(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py608def test_play_dry_run_songs_no_side_effect(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py618def test_play_conflicting_flags_rejected(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py660def test_download_album_success(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py670def test_download_songs_success(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py679def test_download_playlist_success(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py688def test_download_conflicting_flags_rejected(monkeypatch, capsys):CODE
LOW⚡tests/test_cli.py698def test_download_all_fail_exit_nonzero(monkeypatch, capsys):CODE
LOWtests/test_cli.py227def test_song_url_rejects_unsupported_quality_before_side_effects(CODE
LOWtests/test_cli.py256def test_song_url_temporarily_applies_supported_quality(monkeypatch, capsys):CODE
LOWtests/test_cli.py284def test_recommend_not_logged_in(monkeypatch, capsys):CODE
LOWtests/test_cli.py291def test_recommend_songs_logged_in(monkeypatch, capsys):CODE
LOWtests/test_cli.py308def test_auth_login_without_no_wait_fails(monkeypatch, capsys):CODE
21 more matches not shown…
Empty Error Handlers7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHNEMbox/cli.py196except (KeyError, TypeError, AttributeError):CODE
HIGHNEMbox/cli.py943except (ConnectionError, OSError, ValueError):CODE
HIGHNEMbox/player.py373except FileNotFoundError:CODE
HIGHNEMbox/player.py420except (OSError, ValueError):CODE
HIGHNEMbox/player.py556except Exception:CODE
HIGHNEMbox/storage.py98except (OSError, KeyError, ValueError):CODE
HIGHNEMbox/__main__.py46except _curses.error:CODE
Deep Nesting22 hits · 22 pts
SeverityFileLineSnippetContext
LOWNEMbox/ui.py283CODE
LOWNEMbox/ui.py393CODE
LOWNEMbox/api.py981CODE
LOWNEMbox/menu.py213CODE
LOWNEMbox/menu.py532CODE
LOWNEMbox/menu.py643CODE
LOWNEMbox/menu.py1061CODE
LOWNEMbox/menu.py1269CODE
LOWNEMbox/cli.py250CODE
LOWNEMbox/cli.py273CODE
LOWNEMbox/cli.py697CODE
LOWNEMbox/cli.py933CODE
LOWNEMbox/player.py246CODE
LOWNEMbox/player.py399CODE
LOWNEMbox/player.py466CODE
LOWNEMbox/player.py540CODE
LOWNEMbox/player.py807CODE
LOWNEMbox/player.py852CODE
LOWNEMbox/storage.py90CODE
LOWNEMbox/daemon.py95CODE
LOWNEMbox/daemon.py165CODE
LOWNEMbox/daemon.py321CODE
Excessive Try-Catch Wrapping19 hits · 20 pts
SeverityFileLineSnippetContext
LOWNEMbox/osdlyrics.py150 except Exception as e:CODE
LOWNEMbox/ui.py145 except Exception as e:CODE
LOWNEMbox/ui.py361 except Exception as e:CODE
LOWNEMbox/api.py395 except Exception as e:CODE
LOWNEMbox/api.py434 except Exception as e:CODE
LOWNEMbox/api.py552 except Exception as e:CODE
LOWNEMbox/api.py832 except Exception as e:CODE
MEDIUMNEMbox/api.py402def fetch_toplists(self):CODE
LOWNEMbox/menu.py292 except Exception as e:CODE
LOWNEMbox/cli.py782 except Exception as e:CODE
LOWNEMbox/player.py272 except Exception as e:CODE
LOWNEMbox/player.py279 except Exception as e:CODE
LOWNEMbox/player.py293 except Exception as e:CODE
LOWNEMbox/player.py302 except Exception as e:CODE
LOWNEMbox/player.py317 except Exception as e:CODE
LOWNEMbox/player.py556 except Exception:CODE
LOWNEMbox/player.py572 except Exception as e:CODE
LOWNEMbox/player.py586 except Exception as e:CODE
LOWNEMbox/daemon.py240 except Exception as exc: # noqa: BLE001 — never let one request kill daemonCODE
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWNEMbox/encrypt.py12__all__ = [CODE
LOWNEMbox/kill_thread.py6__all__ = ["stop_thread"]CODE
LOWNEMbox/cmd_parser.py15__all__ = ["cmd_parser", "parse_keylist", "coroutine", "erase_coroutine"]CODE
LOWNEMbox/utils.py13__all__ = [CODE
Over-Commented Block3 hits · 3 pts
SeverityFileLineSnippetContext
LOWNEMbox/player.py621 self.notify_copyright_issue()COMMENT
LOWtests/test_api.py1from NEMbox.api import NetEase, ParseCOMMENT
LOWtests/test_api.py21 # print(api.album(38721188))COMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWNEMbox/player.py10CODE