{"schema_version":"2","scorer_version":"0.1.0","scoring_version":"prov-5+qual-2+sec-2","generated_at":"2026-11-14T14:52:02.260427Z","repo":{"ref":{"host":"github.com","owner":"WuSuBuDuoMing","name":"ai-life-manager"},"default_branch":"main","clone_url":"https://github.com/WuSuBuDuoMing/ai-life-manager.git","html_url":"https://github.com/WuSuBuDuoMing/ai-life-manager","description":"🏠 All-in-one lifestyle management WeChat Mini Program — 17 modules, local-first, dark mode, AI assistant","stars":3,"forks":0,"is_fork":false,"is_archived":false,"is_private":false,"size_kb":420,"primary_language":"JavaScript","license_spdx":"MIT","created_at":"2026-06-09T16:13:35Z","pushed_at":"2026-06-22T18:52:42Z","security_policy_url":"https://github.com/WuSuBuDuoMing/ai-life-manager/security/policy","distribution":{"owner_created_at":"2024-11-13T18:31:54Z","owner_type":"User","release_assets":[]}},"commit_sha":"4926ef10db1314824692efee1137303cbc7ca752","profile":{"lines_by_language":{"JavaScript":11372},"files_by_category":{"other":72,"source":61,"config":42,"docs":19,"test":8},"source_lines":10569,"test_lines":803},"pillars":{"ai_provenance":{"score":0.0,"confidence":0.43,"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":0.0,"style_index":17.173},"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":77.4,"confidence":0.9,"coverage":1.0,"label":"adequate","breakdown":{"complexity":88.6,"duplication":85.9,"lint":86.8,"testing":48.8,"docs":100.0,"type_safety":null,"process":null},"summary":"Code quality is adequate: test-to-source ratio 0.08, no CI test run detected; 4% of function code in complex or long functions; 3% duplicated lines. Weakest area: testing."},"security":{"score":82.0,"confidence":0.85,"coverage":1.0,"label":"adequate","breakdown":{"secrets":100.0,"sast":99.2,"dependencies":null,"ci_actions":57.1,"posture":40.0,"scorecard":null},"summary":"Security posture is adequate: 2 high-severity workflow issues. 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":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":"no registry dependencies declared"},{"analyzer":"ai-attribution","pillar":"ai_provenance","status":"ok","tool_version":"signatures-v1","metrics":{"commits":12.0,"attributed_commits":0.0,"attributed_commit_share":0.0,"effective_loc":11800.0,"attributed_loc":0.0,"attributed_loc_share":0.0,"tools_detected":0.0},"findings":[],"evidence":[],"data":{"attributed_loc_by_commit":{},"tools":{},"monthly":{"2026-06":{"loc":11800,"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":4.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":2451.0,"flagged_loc":0.0,"flagged_loc_share":0.0,"max_loc_per_hour":378.25,"median_loc_per_hour":88.0,"pr_timed_units":0.0,"excluded_import_loc":9349.0},"findings":[],"evidence":[],"data":{"flagged_loc_by_commit":{},"excluded_import_commits":["ff0844106e7f8fe6b3b8b1ab6a5a44157addd83c"]},"error":null},{"analyzer":"ai-release-velocity","pillar":"ai_provenance","status":"ok","tool_version":"prov-4","metrics":{"releases":8.0,"flagged_releases":0.0,"max_loc_per_day":820.6},"findings":[],"evidence":[],"data":{"releases":[{"from":"v1.0.0","to":"v1.1.0","loc":0,"days":0.04,"loc_per_day":0.0,"flagged":false},{"from":"v1.1.0","to":"v1.2.0","loc":1513,"days":1.84,"loc_per_day":820.6,"flagged":false},{"from":"v1.2.0","to":"v1.3.0","loc":0,"days":2.24,"loc_per_day":0.0,"flagged":false},{"from":"v1.3.0","to":"v1.5.0","loc":0,"days":0.58,"loc_per_day":0.0,"flagged":false},{"from":"v1.5.0","to":"v1.7.0","loc":0,"days":1.61,"loc_per_day":0.0,"flagged":false},{"from":"v1.7.0","to":"v1.10.0","loc":234,"days":2.03,"loc_per_day":115.2,"flagged":false},{"from":"v1.10.0","to":"v1.13.0","loc":356,"days":4.01,"loc_per_day":88.7,"flagged":false},{"from":"v1.13.0","to":"v1.16.0","loc":348,"days":0.72,"loc_per_day":482.4,"flagged":false}]},"error":null},{"analyzer":"ai-stylometry","pillar":"ai_provenance","status":"ok","tool_version":null,"metrics":{"lines_scanned":10569.0,"index":17.173,"count:narrated_steps":0.0,"per_kloc:narrated_steps":0.0,"files:narrated_steps":0.0,"count:placeholder":0.0,"per_kloc:placeholder":0.0,"files:placeholder":0.0,"count:emoji_in_code":363.0,"per_kloc:emoji_in_code":34.346,"files:emoji_in_code":33.0,"count:assistant_voice":0.0,"per_kloc:assistant_voice":0.0,"files:assistant_voice":0.0},"findings":[],"evidence":[],"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":1.0,"findings_low":0.0,"weighted_findings":0.25,"scanned_lines":10569.0,"parse_errors":0.0},"findings":[{"rule_id":"opengrep/javascript.lang.security.audit.unsafe-dynamic-method","severity":"medium","message":"Using non-static data to retrieve and run functions from the object is dangerous. If the data is user-controlled, it may allow executing arbitrary code. [confidence low]","path":"pages/profile/profile.js","line":137,"fingerprint":"javascript.lang.security.audit.unsafe-dynamic-method:pages/profile/profile.js:137"}],"evidence":[],"data":{"rulesets":["javascript"]},"error":null},{"analyzer":"sec-deps","pillar":"security","status":"skipped","tool_version":null,"metrics":{},"findings":[],"evidence":[],"data":{},"error":null},{"analyzer":"sec-actions","pillar":"security","status":"ok","tool_version":"zizmor 1.32.0","metrics":{"workflows":1.0,"findings":7.0,"findings_high":2.0,"findings_medium":5.0,"findings_low":0.0,"penalty":33.6},"findings":[{"rule_id":"zizmor/unpinned-uses","severity":"high","message":"unpinned action reference [confidence high]","path":".github/workflows/ci.yml","line":14,"fingerprint":"unpinned-uses:.github/workflows/ci.yml:14"},{"rule_id":"zizmor/unpinned-uses","severity":"high","message":"unpinned action reference [confidence high]","path":".github/workflows/ci.yml","line":87,"fingerprint":"unpinned-uses:.github/workflows/ci.yml:87"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":14,"fingerprint":"artipacked:.github/workflows/ci.yml:14"},{"rule_id":"zizmor/artipacked","severity":"medium","message":"credential persistence through GitHub Actions artifacts [confidence low]","path":".github/workflows/ci.yml","line":87,"fingerprint":"artipacked:.github/workflows/ci.yml:87"},{"rule_id":"zizmor/excessive-permissions","severity":"medium","message":"overly broad permissions [confidence medium]","path":".github/workflows/ci.yml","line":1,"fingerprint":"excessive-permissions:.github/workflows/ci.yml:1"},{"rule_id":"zizmor/excessive-permissions","severity":"medium","message":"overly broad permissions [confidence medium]","path":".github/workflows/ci.yml","line":10,"fingerprint":"excessive-permissions:.github/workflows/ci.yml:10"},{"rule_id":"zizmor/excessive-permissions","severity":"medium","message":"overly broad permissions [confidence medium]","path":".github/workflows/ci.yml","line":83,"fingerprint":"excessive-permissions:.github/workflows/ci.yml:83"}],"evidence":[],"data":{},"error":null},{"analyzer":"sec-posture","pillar":"security","status":"ok","tool_version":null,"metrics":{"check:security_policy":1.0,"check:dependency_updates":0.0,"check:signed_commits":0.0,"check:lockfiles":1.0,"signed_commit_share":0.0,"unpinned_manifests":0.0},"findings":[],"evidence":[{"kind":"posture","description":"Security policy: SECURITY.md","ref":"SECURITY.md","url":null,"weight":0.0}],"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":1087.0,"function_nloc":6573.0,"mean_ccn":1.77,"p90_ccn":3.0,"complex_functions":1.0,"long_functions":2.0,"many_param_functions":0.0,"risky_nloc_share":0.0405},"findings":[],"evidence":[{"kind":"complex-function","description":"generateMockRecords in services/budget-service.js: complexity 16, 162 lines","ref":"services/budget-service.js","url":"https://github.com/WuSuBuDuoMing/ai-life-manager/blob/4926ef10db1314824692efee1137303cbc7ca752/services/budget-service.js#L55","weight":0.26666666666666666},{"kind":"complex-function","description":"generateMockPlans in services/travel-service.js: complexity 1, 104 lines","ref":"services/travel-service.js","url":"https://github.com/WuSuBuDuoMing/ai-life-manager/blob/4926ef10db1314824692efee1137303cbc7ca752/services/travel-service.js#L21","weight":0.016666666666666666}],"data":{},"error":null},{"analyzer":"qual-duplication","pillar":"quality","status":"ok","tool_version":"repotrust-dup-w6","metrics":{"compared_lines":7498.0,"duplicated_lines":190.0,"duplicated_share":0.0253,"files":61.0},"findings":[],"evidence":[{"kind":"duplicate-code","description":"6+ duplicated lines: behaviors/theme-behavior.js:12 and components/search-bar/search-bar.js:18","ref":"behaviors/theme-behavior.js","url":"https://github.com/WuSuBuDuoMing/ai-life-manager/blob/4926ef10db1314824692efee1137303cbc7ca752/behaviors/theme-behavior.js#L12","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: components/chore-card/chore-card.js:48 and components/chore-card/chore-card.js:66","ref":"components/chore-card/chore-card.js","url":"https://github.com/WuSuBuDuoMing/ai-life-manager/blob/4926ef10db1314824692efee1137303cbc7ca752/components/chore-card/chore-card.js#L48","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: components/dashboard-card/dashboard-card.js:24 and components/empty-state/empty-state.js:19","ref":"components/dashboard-card/dashboard-card.js","url":"https://github.com/WuSuBuDuoMing/ai-life-manager/blob/4926ef10db1314824692efee1137303cbc7ca752/components/dashboard-card/dashboard-card.js#L24","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: components/food-card/food-card.js:13 and components/shopping-item/shopping-item.js:13","ref":"components/food-card/food-card.js","url":"https://github.com/WuSuBuDuoMing/ai-life-manager/blob/4926ef10db1314824692efee1137303cbc7ca752/components/food-card/food-card.js#L13","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: components/search-bar/search-bar.js:19 and custom-tab-bar/index.js:20","ref":"components/search-bar/search-bar.js","url":"https://github.com/WuSuBuDuoMing/ai-life-manager/blob/4926ef10db1314824692efee1137303cbc7ca752/components/search-bar/search-bar.js#L19","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: components/subscription-card/subscription-card.js:56 and components/subscription-card/subscription-card.js:76","ref":"components/subscription-card/subscription-card.js","url":"https://github.com/WuSuBuDuoMing/ai-life-manager/blob/4926ef10db1314824692efee1137303cbc7ca752/components/subscription-card/subscription-card.js#L56","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: pages/bills/bills.js:39 and pages/checklists/checklists.js:25","ref":"pages/bills/bills.js","url":"https://github.com/WuSuBuDuoMing/ai-life-manager/blob/4926ef10db1314824692efee1137303cbc7ca752/pages/bills/bills.js#L39","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: pages/bills/bills.js:48 and pages/habits/habits.js:35","ref":"pages/bills/bills.js","url":"https://github.com/WuSuBuDuoMing/ai-life-manager/blob/4926ef10db1314824692efee1137303cbc7ca752/pages/bills/bills.js#L48","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: pages/checklists/checklists.js:34 and pages/chores/chores.js:36","ref":"pages/checklists/checklists.js","url":"https://github.com/WuSuBuDuoMing/ai-life-manager/blob/4926ef10db1314824692efee1137303cbc7ca752/pages/checklists/checklists.js#L34","weight":0.3},{"kind":"duplicate-code","description":"6+ duplicated lines: pages/habits/habits.js:190 and pages/pets/pets.js:291","ref":"pages/habits/habits.js","url":"https://github.com/WuSuBuDuoMing/ai-life-manager/blob/4926ef10db1314824692efee1137303cbc7ca752/pages/habits/habits.js#L190","weight":0.3}],"data":{},"error":null},{"analyzer":"qual-lint","pillar":"quality","status":"ok","tool_version":"opengrep 1.33.1; rules f1d2b562b414","metrics":{"findings":6.0,"weighted_findings":6.0,"scanned_lines":10569.0,"category:best-practice":6.0},"findings":[{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"pages/index/index.js","line":80,"fingerprint":"javascript.lang.best-practice.lazy-load-module:pages/index/index.js:80"},{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"pages/index/index.js","line":118,"fingerprint":"javascript.lang.best-practice.lazy-load-module:pages/index/index.js:118"},{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"pages/index/index.js","line":142,"fingerprint":"javascript.lang.best-practice.lazy-load-module:pages/index/index.js:142"},{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"pages/index/index.js","line":171,"fingerprint":"javascript.lang.best-practice.lazy-load-module:pages/index/index.js:171"},{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"pages/index/index.js","line":179,"fingerprint":"javascript.lang.best-practice.lazy-load-module:pages/index/index.js:179"},{"rule_id":"opengrep/javascript.lang.best-practice.lazy-load-module","severity":"medium","message":"Lazy loading can complicate code bundling if care is not taken, also `require`s are run synchronously by Node.js. If they are called from within a function, it may block other requests from being handled at a more critical time. The best practice is to `require` modules at the beginning of each file","path":"pages/index/index.js","line":197,"fingerprint":"javascript.lang.best-practice.lazy-load-module:pages/index/index.js:197"}],"evidence":[],"data":{},"error":null},{"analyzer":"qual-testing","pillar":"quality","status":"ok","tool_version":null,"metrics":{"check:has_tests":1.0,"check:test_ratio":0.152,"check:ci_present":1.0,"check:ci_runs_tests":0.0,"check:ci_runs_lint":0.0,"check:tests_cochange":1.0,"test_lines":803.0,"source_lines":10569.0,"test_ratio":0.076,"ci_files":1.0,"cochange_share":0.4,"cochange_commits":5.0},"findings":[],"evidence":[{"kind":"ci","description":"CI config: .github/workflows/ci.yml","ref":".github/workflows/ci.yml","url":null,"weight":0.0}],"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":1.0,"check:changelog":1.0,"readme_lines":454.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},{"kind":"docs","description":"CONTRIBUTING.md","ref":"CONTRIBUTING.md","url":null,"weight":0.0},{"kind":"docs","description":"CHANGELOG.md","ref":"CHANGELOG.md","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":[]}