{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-5+qual-2+sec-2","generated_at":"2026-11-14T14:52:00.335820Z","repo":{"ref":{"host":"github.com","owner":"DarkPhilosophy","name":"mcp-system-monitor"},"default_branch":"master","clone_url":"https://github.com/DarkPhilosophy/mcp-system-monitor.git","html_url":"https://github.com/DarkPhilosophy/mcp-system-monitor","description":"A Model Context Protocol (MCP) server implementation designed for AI agents to monitor and interact with Linux servers (Ubuntu, CentOS, RedHat, etc.). This server provides comprehensive system information including CPU, memory, disk, network, and process data through both MCP protocol and HTTP REST API ","stars":4,"forks":1,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":454,"primary_language":"Rust","license_spdx":"NOASSERTION","created_at":"2025-12-25T11:55:04Z","pushed_at":"2025-12-26T06:15:10Z","security_policy_url":null,"distribution":{"owner_created_at":"2016-05-11T15:53:09Z","owner_type":"User","release_assets":[]}},"commit_sha":"b541b00b29e9b49008166c43316183780817a300","profile":{"lines_by_language":{"Rust":3536,"Shell":503},"files_by_category":{"source":19,"config":8,"binary":5,"docs":3,"other":1,"test":1},"source_lines":3612,"test_lines":427},"pillars":{"ai_provenance":{"score":0.0,"confidence":0.42,"coverage":1.0,"label":"possible","breakdown":{"attributed_share":0.0,"suspected_share":0.0,"estimated_share":0.0,"ai_artifacts":0.0,"flagged_work_units":0.0,"flagged_releases":null,"style_index":12.32},"summary":"Weak signals consistent with AI-assisted development. Comments and strings use phrasing typical of LLM-written code (see the coding style evidence)."},"quality":{"score":65.5,"confidence":0.9,"coverage":1.0,"label":"adequate","breakdown":{"complexity":77.6,"duplication":79.0,"lint":85.6,"testing":35.9,"docs":65.0,"type_safety":null,"process":null},"summary":"Code quality is adequate: test-to-source ratio 0.12, no CI test run detected; 8% of function code in complex or long functions; 4% duplicated lines. Weakest area: testing."},"security":{"score":80.9,"confidence":0.85,"coverage":1.0,"label":"adequate","breakdown":{"secrets":100.0,"sast":97.6,"dependencies":null,"ci_actions":null,"posture":0.0,"scorecard":null},"summary":"Security posture is adequate: no high-impact findings. Weakest area: posture."}},"analyzer_results":[{"analyzer":"sec-scorecard","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":"no published OpenSSF Scorecard result for this repo"},{"analyzer":"sec-registry","pillar":"security","status":"ok","tool_version":null,"metrics":{"declared":19.0,"checked":19.0,"missing":0.0,"recent":0.0,"lookup_errors":0.0},"findings":[],"evidence":[],"data":{"phantom":false},"error":null},{"analyzer":"ai-attribution","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"commits":9.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":4173.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2025-07":{"loc":3398,"attributed_loc":0},"2025-12":{"loc":775,"attributed_loc":0}}},"error":null},{"analyzer":"ai-artifacts","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"artifacts":0.0,"workflow_agents":0.0,"tools_configured":0.0},"findings":[],"evidence":[],"data":{"artifacts":[],"workflows":[],"tools":[]},"error":null},{"analyzer":"ai-velocity","pillar":"ai_provenance","status":"ok","tool_version":"prov-4","metrics":{"work_units":2.0,"flagged_units":0.0,"pre_ai_era_bursts":0.0,"pre_ai_era_measured_loc":0.0,"pre_ai_era_burst_loc":0.0,"measured_loc":775.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":96.02234934149261,"median_loc_per_hour":94.7611746707463,"pr_timed_units":0.0,"excluded_import_loc":3398.0},"findings":[],"evidence":[],"data":{"flagged_loc_by_commit":{},"excluded_import_commits":["a2d841afd16357bc52b19eb3779a845afc0355f1"]},"error":null},{"analyzer":"ai-release-velocity","pillar":"ai_provenance","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":3612.0,"index":12.32,"count:narrated_steps":0.0,"per_kloc:narrated_steps":0.0,"files:narrated_steps":0.0,"count:placeholder":4.0,"per_kloc:placeholder":1.107,"files:placeholder":1.0,"count:emoji_in_code":73.0,"per_kloc:emoji_in_code":20.21,"files:emoji_in_code":6.0,"count:assistant_voice":0.0,"per_kloc:assistant_voice":0.0,"files:assistant_voice":0.0},"findings":[],"evidence":[{"kind":"stylometry:placeholder","description":"placeholder or demo-only phrasing: //! of system monitoring data for demonstration purposes.","ref":"examples/demo_visualization.rs:4","url":"https://github.com/DarkPhilosophy/mcp-system-monitor/blob/b541b00b29e9b49008166c43316183780817a300/examples/demo_visualization.rs#L4","weight":0.0},{"kind":"stylometry:placeholder","description":"placeholder or demo-only phrasing: /// Simulate system metrics (replace with actual MCP server calls)","ref":"examples/demo_visualization.rs:89","url":"https://github.com/DarkPhilosophy/mcp-system-monitor/blob/b541b00b29e9b49008166c43316183780817a300/examples/demo_visualization.rs#L89","weight":0.0},{"kind":"stylometry:placeholder","description":"placeholder or demo-only phrasing: // In a real scenario, you would call the MCP server here","ref":"examples/demo_visualization.rs:91","url":"https://github.com/DarkPhilosophy/mcp-system-monitor/blob/b541b00b29e9b49008166c43316183780817a300/examples/demo_visualization.rs#L91","weight":0.0},{"kind":"stylometry:placeholder","description":"placeholder or demo-only phrasing: // For demo purposes, we'll simulate realistic data","ref":"examples/demo_visualization.rs:92","url":"https://github.com/DarkPhilosophy/mcp-system-monitor/blob/b541b00b29e9b49008166c43316183780817a300/examples/demo_visualization.rs#L92","weight":0.0}],"data":{},"error":null},{"analyzer":"sec-secrets","pillar":"security","status":"ok","tool_version":"gitleaks 8.30.1","metrics":{"secrets_current":0.0,"secrets_history":0.0,"secrets_nonprod":0.0,"secrets_low_confidence":0.0},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-sast","pillar":"security","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":1.0,"findings_high":0.0,"findings_medium":0.0,"findings_low":1.0,"weighted_findings":0.25,"scanned_lines":3612.0,"parse_errors":0.0},"findings":[{"rule_id":"opengrep/rust.lang.security.args","severity":"low","message":"args should not be used for security operations. From the docs: \"The first element is traditionally the path of the executable, but it can be set to arbitrary text, and might not even exist. This means this property should not be relied upon for security purposes.\" [confidence high]","path":"src/main.rs","line":19,"fingerprint":"rust.lang.security.args:src/main.rs:19"}],"evidence":[],"data":{"rulesets":["rust","bash","dockerfile"]},"error":null},{"analyzer":"sec-deps","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-actions","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-posture","pillar":"security","status":"ok","tool_version":null,"metrics":{"check:security_policy":0.0,"check:dependency_updates":0.0,"check:signed_commits":0.0,"check:lockfiles":0.0,"signed_commit_share":0.0,"unpinned_manifests":1.0},"findings":[],"evidence":[{"kind":"posture","description":"Cargo.toml has no lockfile alongside it (unpinned dependencies)","ref":"Cargo.toml","url":null,"weight":0.3}],"data":{},"error":null},{"analyzer":"sec-distribution","pillar":"security","status":"ok","tool_version":null,"metrics":{"signals":0.0,"binary_assets":0.0,"suspicious":0.0},"findings":[],"evidence":[],"data":{"signals":[],"suspicious":false,"unusual_traction":false,"metadata":true},"error":null},{"analyzer":"qual-complexity","pillar":"quality","status":"ok","tool_version":"lizard 1.25.1","metrics":{"functions":110.0,"function_nloc":1962.0,"mean_ccn":3.48,"p90_ccn":7.0,"complex_functions":1.0,"long_functions":1.0,"many_param_functions":0.0,"risky_nloc_share":0.0846},"findings":[],"evidence":[{"kind":"complex-function","description":"run in src/stdio_server.rs: complexity 17, 52 lines","ref":"src/stdio_server.rs","url":"https://github.com/DarkPhilosophy/mcp-system-monitor/blob/b541b00b29e9b49008166c43316183780817a300/src/stdio_server.rs#L29","weight":0.2833333333333333},{"kind":"complex-function","description":"main in examples/client.rs: complexity 15, 114 lines","ref":"examples/client.rs","url":"https://github.com/DarkPhilosophy/mcp-system-monitor/blob/b541b00b29e9b49008166c43316183780817a300/examples/client.rs#L233","weight":0.25}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":2552.0,"duplicated_lines":100.0,"duplicated_share":0.0392,"files":19.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: examples/client.rs:59 and examples/client.rs:153","ref":"examples/client.rs","url":"https://github.com/DarkPhilosophy/mcp-system-monitor/blob/b541b00b29e9b49008166c43316183780817a300/examples/client.rs#L59","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: examples/demo_visualization.rs:220 and examples/demo_visualization.rs:259","ref":"examples/demo_visualization.rs","url":"https://github.com/DarkPhilosophy/mcp-system-monitor/blob/b541b00b29e9b49008166c43316183780817a300/examples/demo_visualization.rs#L220","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: src/system_monitor/linux.rs:233 and src/system_monitor/linux.rs:288","ref":"src/system_monitor/linux.rs","url":"https://github.com/DarkPhilosophy/mcp-system-monitor/blob/b541b00b29e9b49008166c43316183780817a300/src/system_monitor/linux.rs#L233","weight":0.3}],"data":{},"error":null},{"analyzer":"qual-lint","pillar":"quality","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":9.0,"weighted_findings":2.25,"scanned_lines":3612.0,"category:correctness":9.0},"findings":[{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"deploy.sh","line":37,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:deploy.sh:37"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"deploy.sh","line":43,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:deploy.sh:43"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"install.sh","line":57,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:install.sh:57"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"install.sh","line":68,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:install.sh:68"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"install.sh","line":95,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:install.sh:95"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"install.sh","line":228,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:install.sh:228"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"install.sh","line":229,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:install.sh:229"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"test_server.sh","line":67,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:test_server.sh:67"},{"rule_id":"opengrep/bash.lang.correctness.unquoted-variable-expansion-in-command","severity":"low","message":"Variable expansions must be double-quoted so as to prevent being split into multiple pieces according to whitespace or whichever separator is specified by the IFS variable. If you really wish to split the variable's contents, you may use a variable that starts with an underscore e.g. $_X instead of ","path":"test_server.sh","line":68,"fingerprint":"bash.lang.correctness.unquoted-variable-expansion-in-command:test_server.sh:68"}],"evidence":[],"data":{},"error":null},{"analyzer":"qual-testing","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:has_tests":1.0,"check:test_ratio":0.2364,"check:ci_present":0.0,"check:ci_runs_tests":0.0,"check:ci_runs_lint":0.0,"check:tests_cochange":1.0,"test_lines":427.0,"source_lines":3612.0,"test_ratio":0.1182,"ci_files":0.0,"cochange_share":0.25,"cochange_commits":4.0},"findings":[],"evidence":[],"data":{"test_commands":[],"lint_commands":[]},"error":null},{"analyzer":"qual-docs","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:readme":1.0,"check:license":1.0,"check:contributing":0.0,"check:changelog":0.0,"readme_lines":1172.0},"findings":[],"evidence":[{"kind":"docs","description":"README.md","ref":"README.md","url":null,"weight":0.0},{"kind":"docs","description":"LICENSE","ref":"LICENSE","url":null,"weight":0.0}],"data":{},"error":null},{"analyzer":"qual-type-safety","pillar":"quality","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null}],"flags":[]}