{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-4+qual-2+sec-2","generated_at":"2026-11-13T23:43:38.507248Z","repo":{"ref":{"host":"github.com","owner":"hungtrungthinh","name":"mcp-system-monitor"},"default_branch":"Canary","clone_url":"https://github.com/hungtrungthinh/mcp-system-monitor.git","html_url":"https://github.com/hungtrungthinh/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":5,"forks":0,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":428,"primary_language":"Rust","license_spdx":"NOASSERTION","created_at":"2025-07-13T12:42:52Z","pushed_at":"2025-07-16T07:16:36Z","security_policy_url":null,"distribution":{"owner_created_at":"2013-12-13T11:26:05Z","owner_type":"User","release_assets":[]}},"commit_sha":"f745d1b59c6e2bef976ace308324744cc8ae7aca","profile":{"lines_by_language":{"Rust":3166,"Shell":232},"files_by_category":{"source":17,"config":8,"binary":5,"docs":3,"other":1,"test":1},"source_lines":2971,"test_lines":427},"pillars":{"ai_provenance":{"score":0.0,"confidence":0.41,"coverage":1.0,"label":"none-detected","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},"summary":"No AI attribution or AI-consistent velocity signals detected."},"quality":{"score":67.3,"confidence":0.9,"coverage":1.0,"label":"adequate","breakdown":{"complexity":81.5,"duplication":75.2,"lint":91.9,"testing":37.2,"docs":65.0,"type_safety":null,"process":null},"summary":"Code quality is adequate: test-to-source ratio 0.14, no CI test run detected; 7% of function code in complex or long functions; 5% duplicated lines. Weakest area: testing."},"security":{"score":81.8,"confidence":0.85,"coverage":1.0,"label":"adequate","breakdown":{"secrets":100.0,"sast":100.0,"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":17.0,"checked":17.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":4.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":3398.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}}},"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":0.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":0.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":0.0,"median_loc_per_hour":0.0,"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":2971.0,"index":10.434,"count:narrated_steps":0.0,"per_kloc:narrated_steps":0.0,"files:narrated_steps":0.0,"count:placeholder":4.0,"per_kloc:placeholder":1.346,"files:placeholder":1.0,"count:emoji_in_code":46.0,"per_kloc:emoji_in_code":15.483,"files:emoji_in_code":3.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/hungtrungthinh/mcp-system-monitor/blob/f745d1b59c6e2bef976ace308324744cc8ae7aca/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/hungtrungthinh/mcp-system-monitor/blob/f745d1b59c6e2bef976ace308324744cc8ae7aca/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/hungtrungthinh/mcp-system-monitor/blob/f745d1b59c6e2bef976ace308324744cc8ae7aca/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/hungtrungthinh/mcp-system-monitor/blob/f745d1b59c6e2bef976ace308324744cc8ae7aca/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":0.0,"findings_high":0.0,"findings_medium":0.0,"findings_low":0.0,"weighted_findings":0.0,"scanned_lines":2971.0,"parse_errors":0.0},"findings":[],"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":105.0,"function_nloc":1676.0,"mean_ccn":3.13,"p90_ccn":7.0,"complex_functions":0.0,"long_functions":1.0,"many_param_functions":0.0,"risky_nloc_share":0.068},"findings":[],"evidence":[{"kind":"complex-function","description":"main in examples/client.rs: complexity 15, 114 lines","ref":"examples/client.rs","url":"https://github.com/hungtrungthinh/mcp-system-monitor/blob/f745d1b59c6e2bef976ace308324744cc8ae7aca/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":2100.0,"duplicated_lines":100.0,"duplicated_share":0.0476,"files":17.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/hungtrungthinh/mcp-system-monitor/blob/f745d1b59c6e2bef976ace308324744cc8ae7aca/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/hungtrungthinh/mcp-system-monitor/blob/f745d1b59c6e2bef976ace308324744cc8ae7aca/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/hungtrungthinh/mcp-system-monitor/blob/f745d1b59c6e2bef976ace308324744cc8ae7aca/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":4.0,"weighted_findings":1.0,"scanned_lines":2971.0,"category:correctness":4.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":"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.2874,"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":2971.0,"test_ratio":0.1437,"ci_files":0.0,"cochange_share":1.0,"cochange_commits":1.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":985.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":[]}