An on-device AI agent for Android that operates apps and the web to get things done for you.
This report summarizes scanner evidence for wangzan101/Mika, a Kotlin project with 8,650 GitHub stars. SynthScan examined 389,467 lines of code across 3230 source files, recording 697 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 13.5 (Moderate 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.
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-11-15.
Can maintainers explain intent, assumptions, and trade-offs? 220 finding(s).
Are imports declared and package/API names verified? 453 finding(s).
Are wrappers, guards, and repeated structures necessary? 198 finding(s).
Which changes need focused human review? 697 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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.
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.
The scanner identified 697 distinct pattern matches across 13 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tools/mika-feishu/src/mika_feishu/runtime.py | 35 | response = self.client.im.v1.message.create(request) | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 76 | val spec = com.wangzan101.mika.core.run.RunSpec(com.wangzan101.mika.core.run.RunId("r"), "查电量", "t", | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 77 | provenance = com.wangzan101.mika.core.run.RunProvenance(origin, com.wangzan101.mika.core.run.Attendance. | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 79 | AgentLoop(FakeModel(com.wangzan101.mika.core.testing.answerReply("80%")), toolDispatcher(FakeScreen(), r | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 80 | .run(spec, com.wangzan101.mika.core.run.RunInbox()) | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 125 | val m = FakeModel(reply(call("phone_observe")), com.wangzan101.mika.core.testing.answerReply("x")) | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 130 | val noFrames = run(FakeModel(reply(call("phone_observe")), com.wangzan101.mika.core.testing.answerReply("x"))) | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 136 | val m = FakeModel(reply(call("phone_type_text", """{"text":"hunter2"}""")), com.wangzan101.mika.core.testing.ans | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 145 | val m = FakeModel(reply(call("phone_type_text", """{"text":"天气"}""")), com.wangzan101.mika.core.testing.answerRe | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 152 | val m = FakeModel(reply(call("phone_type_text", """{"text":"hunter2"}""")), com.wangzan101.mika.core.testing.ans | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 249 | val m = FakeModel(reply(call("phone_list_elements")), com.wangzan101.mika.core.testing.answerReply("x")) | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 257 | val sb = com.wangzan101.mika.core.cap.sandbox.FakeSandbox().apply { | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 258 | next = { r -> com.wangzan101.mika.core.cap.sandbox.CommandResult(0, false, false, 10, "共 42 行 ${r.argv}", 0, | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 265 | com.wangzan101.mika.core.testing.answerReply("共 42 行"), | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 272 | assertEquals(live, com.wangzan101.mika.core.eval.RunFacts.ledger(sink.events, TOOLS).all) | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 282 | com.wangzan101.mika.core.testing.answerReply("x"), | CODE |
| CRITICAL | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 48 | com.wangzan101.mika.core.testing.answerReply("好了"), | CODE |
| CRITICAL | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 93 | com.wangzan101.mika.core.testing.answerReply("x"), | CODE |
| CRITICAL | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 105 | val m = FakeModel(reply(call("phone_observe")), com.wangzan101.mika.core.testing.answerReply("x")) | CODE |
| CRITICAL | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 114 | val m = FakeModel(reply(call("phone_observe")), reply(call("phone_screenshot")), com.wangzan101.mika.core.testin | CODE |
| CRITICAL | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 176 | val m = FakeModel(reply(call("phone_observe")), com.wangzan101.mika.core.testing.answerReply("ok")) | CODE |
| CRITICAL | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 178 | com.wangzan101.mika.core.testing.assertAnswered("ok", end) | CODE |
| CRITICAL | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 218 | val m = FakeModel(reply(call("phone_observe")), reply(call("phone_tap", """{"x":1,"y":1}""")), com.wangzan101.mi | CODE |
| CRITICAL | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 233 | val m = FakeModel(reply(call("phone_tap", """{"x":1,"y":1}""")), com.wangzan101.mika.core.testing.answerRepl | CODE |
| CRITICAL | …com/wangzan101/mika/core/record/AgentLoopRecordTest.kt | 238 | assertTrue(com.wangzan101.mika.core.eval.Checks.grounded("明天晴 25 度", com.wangzan101.mika.core.eval.RunFacts. | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopTimingTest.kt | 49 | run(slow(FakeModel(reply(call("phone_observe")), com.wangzan101.mika.core.testing.answerReply("x")), 1200)) | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopTimingTest.kt | 59 | run(FakeModel(reply(call("phone_observe")), com.wangzan101.mika.core.testing.answerReply("x")), screen) | CODE |
| CRITICAL⚡ | …com/wangzan101/mika/core/record/AgentLoopTimingTest.kt | 69 | val m = FakeModel(reply(call("ask_user", """{"prompt":"发给谁?"}""")), com.wangzan101.mika.core.testing.answerReply | CODE |
| CRITICAL | …com/wangzan101/mika/core/record/AgentLoopTimingTest.kt | 84 | val inner = FakeModel(com.wangzan101.mika.core.testing.answerReply("x")) | CODE |
| CRITICAL | …com/wangzan101/mika/core/record/AgentLoopTimingTest.kt | 109 | run(slow(FakeModel(reply(call("phone_observe")), com.wangzan101.mika.core.testing.answerReply("x")), 1000), scre | CODE |
| CRITICAL | …com/wangzan101/mika/core/record/AgentLoopTimingTest.kt | 118 | val broken = object : ChatModel by FakeModel(com.wangzan101.mika.core.testing.answerReply("x")) { | CODE |
| CRITICAL | …lin/com/wangzan101/mika/core/memory/MemoryToolsTest.kt | 56 | internal val finishReply = com.wangzan101.mika.core.testing.answerReply("ok") | CODE |
| CRITICAL | …lin/com/wangzan101/mika/core/memory/MemoryToolsTest.kt | 94 | val web = com.wangzan101.mika.core.cap.web.FakeWebPort() | CODE |
| CRITICAL | …lin/com/wangzan101/mika/core/memory/MemoryToolsTest.kt | 546 | val obs = com.wangzan101.mika.core.general.MemorySearch.observations( | CODE |
| CRITICAL | …lin/com/wangzan101/mika/core/memory/MemoryToolsTest.kt | 547 | buildJsonObject { put("query", "外卖") }, com.wangzan101.mika.core.tool.ToolExecution(found), com.wangzan101.m | CODE |
| CRITICAL | …kotlin/com/wangzan101/mika/core/verify/VerifierTest.kt | 320 | val shot = com.wangzan101.mika.core.vision.JvmTestImageOps.encode(1224, 2700) { _, _ -> 100 } | CODE |
| CRITICAL⚡ | …in/com/wangzan101/mika/core/general/NoticesReadTest.kt | 256 | val model = com.wangzan101.mika.core.agent.FakeModel( | CODE |
| CRITICAL⚡ | …in/com/wangzan101/mika/core/general/NoticesReadTest.kt | 257 | com.wangzan101.mika.core.model.ModelReply(listOf(Part.ToolCall("c1", NOTICES_READ, """{"view":"messages"}""" | CODE |
| CRITICAL⚡ | …in/com/wangzan101/mika/core/general/NoticesReadTest.kt | 258 | com.wangzan101.mika.core.model.ModelReply(listOf(Part.ToolCall("c2", NOTICES_READ, "{}")), com.wangzan101.mi | CODE |
| CRITICAL⚡ | …in/com/wangzan101/mika/core/general/NoticesReadTest.kt | 260 | com.wangzan101.mika.core.model.ModelReply(listOf(Part.ToolCall("c3", NOTICES_READ, """{"view":"messages","qu | CODE |
| CRITICAL⚡ | …in/com/wangzan101/mika/core/general/NoticesReadTest.kt | 261 | com.wangzan101.mika.core.testing.answerReply("今天有三条"), | CODE |
| CRITICAL⚡ | …in/com/wangzan101/mika/core/general/NoticesReadTest.kt | 263 | runBlocking { com.wangzan101.mika.core.agent.AgentLoop(model, tools(source()), "BASE", sink = sink).run("今天收到了什么 | CODE |
| CRITICAL | …in/com/wangzan101/mika/core/general/NoticesReadTest.kt | 291 | val shown = com.wangzan101.mika.core.trace.TracePayload.blocks(body, emptyList(), { name -> if (name == NOTI | CODE |
| CRITICAL | …om/wangzan101/mika/core/general/TaskMemoryToolsTest.kt | 84 | val obs = dispatcher.ctx.evidence.ledger.all.single() | CODE |
| CRITICAL | …/com/wangzan101/mika/core/general/WebSearchToolTest.kt | 56 | val observation = dispatcher.ctx.evidence.ledger.all.single() | CODE |
| CRITICAL | …in/com/wangzan101/mika/core/general/HistoryReadTest.kt | 187 | val recorder = com.wangzan101.mika.core.action.ActionRecorder(object : com.wangzan101.mika.core.record.RunSi | CODE |
| CRITICAL | …in/com/wangzan101/mika/core/general/HistoryReadTest.kt | 195 | val exported = com.wangzan101.mika.core.remote.RunRecordExport.redact(kotlinx.serialization.json.Json.parseT | CODE |
| CRITICAL | …in/com/wangzan101/mika/core/general/HistoryReadTest.kt | 211 | val kept = com.wangzan101.mika.core.record.Redactor.result(com.wangzan101.mika.core.tool.Verb.HistoryRead, plain | CODE |
| CRITICAL | …lin/com/wangzan101/mika/core/agent/LoopScenarioTest.kt | 239 | com.wangzan101.mika.core.testing.assertAnswered("找到了", end) | CODE |
| CRITICAL | …in/com/wangzan101/mika/core/agent/HistoryPrunerTest.kt | 140 | Message(Role.Tool, listOf(Part.ToolResult(id, content, false, listOf(com.wangzan101.mika.core.observation.Re | CODE |
| CRITICAL | …m/wangzan101/mika/core/agent/AgentLoopKnowledgeTest.kt | 28 | private fun reply(vararg c: Part.ToolCall) = com.wangzan101.mika.core.model.ModelReply(c.toList(), com.wangzan101.mika.c | CODE |
| CRITICAL | …m/wangzan101/mika/core/agent/AgentLoopKnowledgeTest.kt | 41 | private val finish = com.wangzan101.mika.core.testing.answerReply("ok") | CODE |
| CRITICAL | …n/com/wangzan101/mika/core/agent/AgentLoopInputTest.kt | 31 | private fun finish() = com.wangzan101.mika.core.testing.answerReply("好了") | CODE |
| CRITICAL | …n/com/wangzan101/mika/core/agent/AgentLoopInputTest.kt | 64 | com.wangzan101.mika.core.testing.assertAnswered(DONE, run.await()) | CODE |
| CRITICAL | …n/com/wangzan101/mika/core/agent/AgentLoopInputTest.kt | 66 | val nudge = com.wangzan101.mika.core.agent.ContextBuilder.bodyOf(m.requests[2].last()).orEmpty() | CODE |
| CRITICAL | …n/com/wangzan101/mika/core/agent/AgentLoopInputTest.kt | 94 | com.wangzan101.mika.core.testing.assertAnswered(DONE, run.await()) | CODE |
| CRITICAL | …kotlin/com/wangzan101/mika/core/agent/BatchWaitTest.kt | 54 | override suspend fun back() = com.wangzan101.mika.core.uistate.ActionResult.Ok(changed = true).also { calls += "back | CODE |
| CRITICAL | …com/wangzan101/mika/core/agent/AgentLoopSandboxTest.kt | 27 | private fun finish() = com.wangzan101.mika.core.testing.answerReply("算好了") | CODE |
| CRITICAL⚡ | …in/com/wangzan101/mika/core/agent/PromptSurfaceTest.kt | 61 | personalSkills = com.wangzan101.mika.core.skills.InMemoryPersonalSkills(), | CODE |
| CRITICAL⚡ | …in/com/wangzan101/mika/core/agent/PromptSurfaceTest.kt | 63 | runSpec = com.wangzan101.mika.core.run.RunSpec(com.wangzan101.mika.core.run.RunId("t"), "t", "thread | CODE |
| 376 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/test_pull_logs.py | 59 | def test_adb_failure_is_not_reported_as_missing_records(self): | CODE |
| LOW⚡ | tools/test_pull_logs.py | 69 | def test_adb_failure_without_a_message_names_the_exit_code(self): | CODE |
| LOW⚡ | tools/test_pull_logs.py | 76 | def test_refused_run_as_is_a_message_rather_than_a_traceback(self): | CODE |
| LOW⚡ | tools/test_pull_logs.py | 80 | def test_missing_adb_binary_names_the_executable(self): | CODE |
| LOW⚡ | tools/test_pull_logs.py | 84 | def test_silent_exit_one_still_means_no_records_yet(self): | CODE |
| LOW⚡ | tools/test_pull_logs.py | 89 | def test_a_warning_on_stderr_does_not_stop_a_successful_export(self): | CODE |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 65 | def test_hidden_factory_copy_does_not_override_disabled_user_state(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 72 | def test_requested_profile_is_selected(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 81 | def test_app_id_line_of_newer_android_gives_the_uid(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 89 | def test_effective_disabled_list_is_honored(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 93 | def test_missing_fields_remain_unknown(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 98 | def test_silent_channel_is_enabled_and_other_app_is_excluded(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 105 | def test_deleted_channel_is_not_counted(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 109 | def test_blocked_package_and_wrong_profile(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 114 | def test_uid_appop_wins_over_package_mode(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 118 | def test_listener_shorthand_and_live_binding(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 126 | def test_allowed_listener_can_be_unbound(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 134 | def test_listener_without_profile_metadata_is_unknown(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 138 | def test_dependency_failure_is_specific_and_content_is_not_returned(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 145 | def test_uninstalled_dependency_has_one_primary_finding(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 149 | def test_suspended_source_is_reported(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 154 | def test_probe_failure_is_reported_without_error_content(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 159 | def test_invalid_names_are_rejected(self): | STRING |
| LOW⚡ | tools/mika/tests/test_notification_diagnostics.py | 164 | def test_cli_does_not_connect_to_task_api(self): | STRING |
| LOW | tools/mika/tests/browser_desk_history.py | 69 | def test_phone_only_history_body_paging_missing_trace_and_draft(self): | CODE |
| LOW | tools/mika/tests/browser_desk_history.py | 97 | def test_late_trace_response_cannot_replace_the_selected_turn(self): | CODE |
| LOW | tools/mika/tests/browser_desk_history.py | 116 | def test_recording_updates_and_revocation_clears_saved_content(self): | CODE |
| LOW | tools/mika/tests/browser_desk_history.py | 131 | def test_queued_remote_task_is_not_duplicated_by_phone_history(self): | CODE |
| LOW | tools/mika/tests/browser_desk_history.py | 143 | def test_cancelled_before_start_merges_by_remote_id_even_with_identical_goals(self): | CODE |
| LOW | tools/mika/tests/browser_desk_history.py | 159 | def test_history_pages_keep_earlier_turns_after_refresh(self): | CODE |
| LOW | tools/mika/tests/browser_desk_history.py | 192 | def test_archived_conversation_from_later_page_is_marked_and_readable(self): | CODE |
| LOW | tools/mika/tests/browser_desk_history.py | 214 | def test_archive_mark_updates_and_coexists_with_task_status(self): | CODE |
| LOW | tools/mika/tests/browser_desk_history.py | 231 | def test_new_conversations_after_the_initially_complete_list_are_reachable(self): | CODE |
| LOW | tools/mika/tests/browser_desk_files.py | 12 | def test_rejected_upload_keeps_the_draft_and_never_submits(self): | CODE |
| LOW | tools/mika/tests/browser_desk_files.py | 28 | def test_missing_receipt_retries_the_same_upload_and_request_after_reload(self): | CODE |
| LOW | tools/mika/tests/browser_desk_files.py | 63 | def test_selection_paste_attachment_only_and_round_scoped_download(self): | CODE |
| LOW | tools/mika/tests/browser_desk_updates.py | 65 | def test_lost_submission_survives_reload_and_recovers_without_a_second_task(self): | CODE |
| LOW | tools/mika/tests/browser_desk_updates.py | 101 | def test_grouping_continuation_fresh_chat_and_independent_process_target(self): | CODE |
| LOW | tools/mika/tests/browser_desk_updates.py | 187 | def test_phone_changes_arrive_without_stealing_a_draft_or_rewriting_history(self): | CODE |
| LOW | tools/mika/tests/browser_desk_updates.py | 243 | def test_answer_steer_and_cancel_target_the_existing_run(self): | CODE |
| LOW | tools/mika/tests/browser_desk_updates.py | 287 | def test_process_expands_in_the_turn_at_every_width_and_leaves_the_side_panel_independent(self): | CODE |
| LOW | tools/mika/tests/browser_desk_updates.py | 338 | def test_connection_disclosure_offline_recovery_and_draft(self): | CODE |
| LOW | tools/mika/tests/browser_desk_updates.py | 373 | def test_language_override_keeps_draft_and_survives_a_reload(self): | CODE |
| LOW | tools/mika/tests/browser_desk_updates.py | 386 | def test_switching_language_does_not_add_a_phone_update(self): | CODE |
| LOW | tools/mika/tests/browser_desk_updates.py | 401 | def test_late_read_cannot_undo_a_write_and_a_lost_receipt_is_not_retried(self): | CODE |
| LOW | tools/mika/tests/browser_desk_notifications.py | 40 | def test_quiet_transitions_background_click_and_draft(self): | CODE |
| LOW | tools/mika/tests/browser_desk_notifications.py | 94 | def test_handoff_disable_and_fresh_start_after_all_tabs_close(self): | CODE |
| LOW | tools/mika/tests/browser_desk_notifications.py | 141 | def test_permission_denied_dismissed_and_unsupported(self): | CODE |
| LOW | tools/mika/tests/browser_desk_notifications.py | 158 | def test_disconnect_and_click_after_a_task_leaves_the_recent_list(self): | CODE |
| LOW | tools/mika/tests/test_task_files.py | 51 | def test_cli_transfers_binary_chunks_and_does_not_replace_an_existing_file(self): | CODE |
| LOW | tools/mika/tests/test_task_files.py | 64 | def test_interrupted_result_never_leaves_a_partial_download(self): | CODE |
| LOW | tools/mika/tests/test_task_files.py | 76 | def test_output_name_is_reserved_for_verified_bytes(self): | CODE |
| LOW | tools/mika/tests/test_task_files.py | 112 | def test_changed_file_of_the_same_size_is_not_delivered(self): | CODE |
| LOW | tools/mika/tests/test_task_files.py | 125 | def test_bad_hash_preserves_an_existing_destination(self): | CODE |
| LOW | tools/mika/tests/test_task_files.py | 139 | def test_old_phone_and_local_path_injection_cannot_turn_into_a_task(self): | CODE |
| LOW⚡ | tools/mika/tests/test_mika_cli.py | 164 | def test_an_abbreviated_json_option_still_means_compact_json_on_stdout(self): | STRING |
| LOW⚡ | tools/mika/tests/test_mika_cli.py | 173 | def test_abbreviated_json_option_also_formats_success(self): | STRING |
| LOW⚡ | tools/mika/tests/test_mika_cli.py | 180 | def test_json_option_scan_stops_at_the_option_delimiter(self): | STRING |
| LOW⚡ | tools/mika/tests/test_mika_cli.py | 186 | def test_ui_rejects_an_abbreviated_json_option(self): | STRING |
| LOW⚡ | tools/mika/tests/test_mika_cli.py | 193 | def test_submit_unicode_from_stdin_once_without_mcp(self): | STRING |
| 113 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …n/com/wangzan101/mika/core/model/ResponsesModelTest.kt | 0 | {"error":{"code":400,"message":"request (25123 tokens) exceeds the available context size (16384 tokens), try increasing | STRING |
| HIGH | …om/wangzan101/mika/core/model/OpenAiCompatModelTest.kt | 0 | {"error":{"code":400,"message":"request (25123 tokens) exceeds the available context size (16384 tokens), try increasing | STRING |
| HIGH | …n/com/wangzan101/mika/core/model/AnthropicModelTest.kt | 0 | {"error":{"code":400,"message":"request (25123 tokens) exceeds the available context size (16384 tokens), try increasing | STRING |
| HIGH | …om/wangzan101/mika/core/model/OpenAiCompatModelTest.kt | 0 | {"choices":[{"finish_reason":"stop","message":{"content":"ok"}}]} | STRING |
| HIGH | …lin/com/wangzan101/mika/core/model/ModelCatalogTest.kt | 0 | {"choices":[{"finish_reason":"stop","message":{"content":"ok"}}]} | STRING |
| HIGH | …/com/wangzan101/mika/settings/ReasoningSettingsTest.kt | 0 | {"choices":[{"finish_reason":"stop","message":{"content":"ok"}}]} | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/setup-guide.en.md | 31 | ## Step 1: Turn on Developer options | COMMENT |
| LOW | docs/setup-guide.en.md | 53 | ## Step 2: Turn on USB debugging | COMMENT |
| LOW | docs/setup-guide.en.md | 77 | ## Step 3: Turn on Mika's accessibility (we suggest skipping this) | COMMENT |
| LOW | docs/setup-guide.en.md | 104 | ## Step 4: Turn on Wireless debugging | COMMENT |
| LOW | docs/setup-guide.en.md | 126 | ## Step 5: Pair with a code | COMMENT |
| LOW | docs/setup-guide.en.md | 180 | ## Step 6: Connect automatically | COMMENT |
| LOW | docs/computer.en.md | 11 | ## Step 1: pick an entry point (CLI + Skill or MCP) | COMMENT |
| LOW | docs/computer.en.md | 23 | ## Step 2: pick a connection (USB or Wi-Fi / VPN) | COMMENT |
| LOW | docs/computer.en.md | 36 | ## Step 3: follow the guide | COMMENT |
| LOW | docs/install-with-agent.en.md | 29 | ## Step 1: Check the prerequisites | COMMENT |
| LOW | docs/install-with-agent.en.md | 72 | ## Step 2: Download the latest APK | COMMENT |
| LOW | docs/install-with-agent.en.md | 92 | ## Step 3: Install | COMMENT |
| LOW | docs/install-with-agent.en.md | 107 | ## Step 4: Notification permission (Android 13 and later) | COMMENT |
| LOW | docs/install-with-agent.en.md | 117 | ## Step 5: Turn on Mika's accessibility service | COMMENT |
| LOW | docs/install-with-agent.en.md | 152 | ## Step 6: Battery allowlist | COMMENT |
| LOW | docs/install-with-agent.en.md | 169 | ## Step 7: Start Mika's phone helper | COMMENT |
| LOW | docs/install-with-agent.en.md | 263 | ## Step 8: Add a model | COMMENT |
| LOW | docs/install-with-agent.en.md | 269 | ## Step 9: Check the result | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/sandbox/build-runtime.py | 130 | except Exception as e: | CODE |
| LOW | tools/mika/scripts/mika_notifications.py | 106 | except Exception as error: | CODE |
| MEDIUM | tools/mika/scripts/mika_notifications.py | 103 | def probe(name, *args): | CODE |
| LOW | tools/mika-feishu/src/mika_feishu/bridge.py | 151 | except Exception: | CODE |
| LOW⚡ | tools/mika-feishu/src/mika_feishu/runtime.py | 76 | except Exception as exc: | CODE |
| LOW⚡ | tools/mika-feishu/src/mika_feishu/runtime.py | 82 | except Exception as exc: | CODE |
| LOW⚡ | tools/mika-feishu/src/mika_feishu/runtime.py | 90 | except Exception as exc: | CODE |
| LOW⚡ | tools/mika-feishu/src/mika_feishu/runtime.py | 96 | except Exception as exc: | CODE |
| MEDIUM | tools/mika-feishu/src/mika_feishu/runtime.py | 73 | def work(): | CODE |
| MEDIUM | tools/mika-feishu/src/mika_feishu/runtime.py | 93 | def incoming(data): | CODE |
| LOW | tools/mika-feishu/src/mika_feishu/__main__.py | 77 | except Exception as exc: | CODE |
| MEDIUM | tools/i18n/translations.py | 246 | print("Error: {}".format(error), file=sys.stderr) | CODE |
| LOW | …main/resources/skills/documents/scripts/extract_pdf.py | 86 | except Exception as e: # damaged files raise many kinds of errors inside pypdf | CODE |
| LOW | examples/plugins/com.example.feishu/scripts/send.py | 76 | except Exception as e: # 网络失败按普通错误返回,不重试 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/sandbox/build-runtime.py | 105 | CODE | |
| LOW | tools/sandbox/runtime-sources.py | 49 | CODE | |
| LOW | tools/mika/tests/browser_desk_updates.py | 65 | CODE | |
| LOW | tools/mika/tests/browser_phone_files.py | 50 | CODE | |
| LOW | tools/mika/tests/phone_task_recovery.py | 32 | CODE | |
| LOW | tools/mika/tests/test_task_files.py | 76 | CODE | |
| LOW | tools/mika/tests/test_mika_desk.py | 172 | CODE | |
| LOW | tools/mika/scripts/mika_cli.py | 433 | CODE | |
| LOW | tools/mika/scripts/mika_cli.py | 486 | CODE | |
| LOW | tools/mika/scripts/mika_cli.py | 507 | CODE | |
| LOW | tools/mika/scripts/mika_cli.py | 83 | CODE | |
| LOW | tools/mika/scripts/mika_desk/__init__.py | 108 | CODE | |
| LOW | tools/mika-feishu/tests/test_onboarding.py | 106 | CODE | |
| LOW | tools/mika-feishu/src/mika_feishu/onboarding.py | 49 | CODE | |
| LOW | tools/mika-feishu/src/mika_feishu/bridge.py | 46 | CODE | |
| LOW | tools/mika-feishu/src/mika_feishu/bridge.py | 232 | CODE | |
| LOW | tools/mika-feishu/src/mika_feishu/__main__.py | 18 | CODE | |
| LOW | tools/i18n/translations.py | 49 | CODE | |
| LOW | tools/i18n/translations.py | 144 | CODE | |
| LOW | tools/i18n/translations.py | 194 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/mika/scripts/mika_cli.py | 119 | except (ValueError, OSError, AttributeError): | CODE |
| HIGH | tools/mika/scripts/mika_desk/__init__.py | 188 | except (BrokenPipeError, ConnectionResetError): | CODE |
| HIGH | tools/mika/scripts/mika_desk/__init__.py | 293 | except KeyboardInterrupt: | CODE |
| HIGH | tools/mika/scripts/mika_desk/__init__.py | 143 | except CliError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/mika/tests/browser_desk_notifications.py | 70 | expect(page.locator("#goal")).to_have_attribute("placeholder", "回答 Mika 的问题…") | CODE |
| LOW⚡ | tools/mika-feishu/tests/test_onboarding.py | 58 | patch("getpass.getpass", return_value="fake-token"), \ | CODE |
| LOW⚡ | tools/mika-feishu/tests/test_onboarding.py | 82 | save_config({"mika_url": "http://127.0.0.1:8765", "mika_token": "fake-token", | CODE |
| LOW | …/kotlin/com/wangzan101/mika/core/cap/web/ReadScript.kt | 97 | "type", "name", "form", "labels", "list", "placeholder", "autocomplete", "disabled", "readOnly", "required", "wi | CODE |
| LOW | …rc/main/kotlin/com/wangzan101/mika/core/teach/Teach.kt | 401 | val base = fromModel ?: assemble(session, "placeholder") | CODE |
| LOW | …rc/main/kotlin/com/wangzan101/mika/core/teach/Teach.kt | 403 | val md0 = if (validated == null && fromModel != null) base else assemble(session, "placeholder") | CODE |
| LOW | …t/java/com/wangzan101/mika/browser/AddressInputTest.kt | 49 | assertEquals(bing("user%40example.com"), AddressInput.resolve("user@example.com")) | CODE |
| LOW⚡ | …t/java/com/wangzan101/mika/voice/DoubaoProtocolTest.kt | 95 | assertTrue(DoubaoCredentials(apiKey = "dummy-key").valid) | CODE |
| LOW⚡ | …t/java/com/wangzan101/mika/voice/DoubaoProtocolTest.kt | 96 | assertTrue(DoubaoCredentials(appId = "dummy-id", accessKey = "dummy-token").valid) | CODE |
| LOW⚡ | …t/java/com/wangzan101/mika/voice/DoubaoProtocolTest.kt | 98 | assertFalse(DoubaoCredentials(apiKey = "dummy-key", appId = "dummy-id").valid) | CODE |
| LOW⚡ | …t/java/com/wangzan101/mika/voice/DoubaoProtocolTest.kt | 99 | assertFalse(DoubaoCredentials(appId = "dummy-id").valid) | CODE |
| LOW⚡ | …t/java/com/wangzan101/mika/voice/DoubaoProtocolTest.kt | 100 | assertFalse(DoubaoCredentials(apiKey = "dummy-key").toString().contains("dummy-key")) | CODE |
| LOW | app/src/main/assets/web/page.js | 293 | if ((v = collapse(el.getAttribute('placeholder')))) return v; | CODE |
| LOW | app/src/main/assets/web/page.js | 373 | var ph = collapse(el.getAttribute && el.getAttribute('placeholder')); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/mika/tests/browser_desk_updates.py | 3 | Run it directly after `pip install playwright && playwright install chromium`: | STRING |
| HIGH | tools/mika/tests/browser_desk_notifications.py | 15 | constructor(title, options) { this.title = title; this.body = options.body; notices.push(this); } | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/sandbox/build-native.sh | 81 | COMMENT | |
| LOW | tools/sandbox/build-native.sh | 101 | #define HAVE_STRINGS_H 1 | COMMENT |
| LOW | tools/sandbox/build-native.sh | 121 | #define HAVE_STRNDUP 1 | COMMENT |
| LOW | app/src/main/cpp/mikarun/mikarun.c | 21 | COMMENT | |
| LOW | app/src/main/cpp/mikarun/mikarun.c | 41 | #include <sys/stat.h> | COMMENT |
| LOW | app/src/main/cpp/mikarun/mikarun.c | 61 | #define NR_IOCTL_AARCH64 29 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/mika/tests/test_mika_cli.py | 38 | def handle_request(self): | CODE |
| LOW | tools/mika-feishu/tests/test_connector.py | 332 | def handle_request(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/mika/scripts/mika_cli.py | 83 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/mika-feishu/tests/test_onboarding.py | 12 | CODE |