AI Slop Code Risk Monitor

darknessomi/musicbox

SlopCodeMonitor badge for darknessomi/musicbox Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

网易云音乐命令行版本

17.0 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for darknessomi/musicbox, a Python project with 9,867 GitHub stars. SynthScan examined 11,117 lines of code across 45 source files, recording 149 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 17.0 (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.

17.0
Adjusted Signal
17.0
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
9.9K
Stars
Python
Language
11.1K
Lines of Code
45
Files
149
Pattern Hits
2026-10-31
Scan Date
0.16
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 43.9/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 118 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 52.0/100 · HIGH

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

PR Review Velocity Impact 56.7/100 · HIGH

Which changes need focused human review? 149 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 141

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 149 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 Identifiers93 hits · 104 pts
SeverityFileLineSnippetContext
LOWNEMbox/encrypt.py75def _cloudmusic_dll_encode_id(some_id: str) -> str:CODE
LOWNEMbox/api.py156def is_supported_music_quality(quality):CODE
LOWNEMbox/menu.py328 def _restore_terminal_after_signal(self):CODE
LOWNEMbox/menu.py426 def space_key_event_in_search_result(self):CODE
LOWNEMbox/player.py44def playback_reached_song_end(CODE
LOWNEMbox/player.py257 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
LOW⚡tests/test_player.py164def test_playback_reached_song_end_rejects_trial_and_truncated_streams():CODE
LOW⚡tests/test_player.py170def test_playback_reached_song_end_accepts_a_finished_track():CODE
LOW⚡tests/test_player.py176def test_trial_eof_does_not_skip(monkeypatch):CODE
LOWtests/test_player.py198def test_full_eof_advances_queue():CODE
LOWtests/test_player.py212def test_truncated_stream_replays_when_refresh_covers_the_song(monkeypatch):CODE
LOWtests/test_player.py244def test_truncated_stream_stops_when_refresh_is_still_a_trial(monkeypatch):CODE
LOWtests/test_player.py269def 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_audio_quality.py58def test_dig_info_marks_free_trial_separately_from_catalog_duration():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.py11def test_playinfo_song_start_accounts_for_long_quality_label():CODE
LOWtests/test_ui_playinfo.py21def test_help_footer_stays_below_auto_page_items():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
33 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.py399except FileNotFoundError:CODE
HIGHNEMbox/player.py446except (OSError, ValueError):CODE
HIGHNEMbox/player.py582except Exception:CODE
HIGHNEMbox/storage.py98except (OSError, KeyError, ValueError):CODE
HIGHNEMbox/__main__.py46except _curses.error:CODE
Deep Nesting22 hits · 22 pts
SeverityFileLineSnippetContext
LOWNEMbox/ui.py303CODE
LOWNEMbox/ui.py413CODE
LOWNEMbox/api.py991CODE
LOWNEMbox/menu.py217CODE
LOWNEMbox/menu.py549CODE
LOWNEMbox/menu.py660CODE
LOWNEMbox/menu.py1079CODE
LOWNEMbox/menu.py1287CODE
LOWNEMbox/cli.py250CODE
LOWNEMbox/cli.py273CODE
LOWNEMbox/cli.py697CODE
LOWNEMbox/cli.py933CODE
LOWNEMbox/player.py272CODE
LOWNEMbox/player.py425CODE
LOWNEMbox/player.py492CODE
LOWNEMbox/player.py566CODE
LOWNEMbox/player.py891CODE
LOWNEMbox/player.py936CODE
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.py165 except Exception as e:CODE
LOWNEMbox/ui.py381 except Exception as e:CODE
LOWNEMbox/api.py405 except Exception as e:CODE
LOWNEMbox/api.py444 except Exception as e:CODE
LOWNEMbox/api.py562 except Exception as e:CODE
LOWNEMbox/api.py842 except Exception as e:CODE
MEDIUMNEMbox/api.py412def fetch_toplists(self):CODE
LOWNEMbox/menu.py296 except Exception as e:CODE
LOWNEMbox/cli.py782 except Exception as e:CODE
LOWNEMbox/player.py298 except Exception as e:CODE
LOWNEMbox/player.py305 except Exception as e:CODE
LOWNEMbox/player.py319 except Exception as e:CODE
LOWNEMbox/player.py328 except Exception as e:CODE
LOWNEMbox/player.py343 except Exception as e:CODE
LOWNEMbox/player.py582 except Exception:CODE
LOWNEMbox/player.py598 except Exception as e:CODE
LOWNEMbox/player.py612 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.py641 copyright_issue_flag = FalseCOMMENT
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