Files
myrzx_bot/analysis/V1_2_PRIVACY_AUDIT.md

3.6 KiB

v1.2 privacy audit

Date: 2026-11-08. Scope: known personal workstation paths and device identifiers in current tracked text, with edits limited to the two legacy tools below and SDK decompiler path comments.

  • Initial scan: 18 occurrences across 17 files (16 local profile paths, one device identifier, one workstation ADB executable path). No matching files outside the authorized edit scope.
  • Final scan: 1,464 tracked text files checked; zero remaining occurrences of the known identifiers. One binary file was excluded from the text scan. The new audit was checked separately. Results contain filenames and counts only, without the identifier values.
  • read_device_battle_assets.py now accepts --adb (otherwise uses PATH) and --serial. Actual invocation checks ADB authorization; automatic selection requires exactly one authorized connected device. Import and --help perform no discovery, device operations, or writes. Packaged-asset extraction and matching remain available.
  • build_battle_v3.py now requires --build-tools, or the explicit build_tools keyword argument when called from Python. APK modification, repacking, signing, cache options, and verification logic are preserved.
  • Removed only the source-local-path JADX comment in each of the 15 Java files listed below. Vendor namespaces, public endpoints, protocol information, and Java logic remain unchanged. Author and contributor attribution was not edited; AttilaNet zbolink@foxmail.com remains permitted.

Validation passed: in-memory Python syntax compilation for both tools; inert imports and both --help entrypoints with subprocesses, tool discovery, and file writes forbidden; nine mocked device-selection cases; missing-ADB rejection; static equality of APK build function bodies apart from the configured tool-directory name; Java comparison against the index after Git newline normalization and removal of the permitted comments only; whitespace checks. No ADB process, device/game operation, APK modification, or signing was executed.

Changed files:

  • tools/read_device_battle_assets.py
  • tools/build_battle_v3.py
  • analysis/sdk_login/com.diyidan.game.api.DydGameApi.java
  • analysis/sdk_login/com.diyidan.game.common.Constants.java
  • analysis/sdk_login/com.diyidan.game.dialog.LoginDialog.java
  • analysis/sdk_login/com.diyidan.game.entity.impl.DydPlayerModel.java
  • analysis/sdk_login/com.diyidan.game.network.BaseNetwork2.java
  • analysis/sdk_login/com.diyidan.game.network.SuccessListener.java
  • analysis/sdk_login/com.diyidan.game.network.UserNetwork2.java
  • analysis/sdk_login/com.diyidan.game.network.model.JsonData.java
  • analysis/sdk_login/com.diyidan.game.network.model.ListJsonDataModel.java
  • analysis/sdk_login/com.diyidan.game.network.util.AESTools.java
  • analysis/sdk_login/com.diyidan.game.network.util.DydOkHttpNetwork.java
  • analysis/sdk_login/com.diyidan.game.network.util.DydStringRequest.java
  • analysis/sdk_login/com.diyidan.game.util.JsonUtils.java
  • analysis/sdk_login/com.diyidan.game.util.Utils.java
  • analysis/sdk_login/net.pixvi.ane.dydsdk.functions.LoginFunction.java
  • analysis/V1_2_PRIVACY_AUDIT.md

This finding applies to current tracked working-tree text and the new audit, for the exact known identifiers (including ordinary and escaped path separators). It is not an exhaustive search for unrelated personal information, secrets, ignored/untracked files, or publication artifacts. Git history and the index were not changed; older revisions may still contain the removed values. The cleaned files need to be included in the published revision. No feature files, game data, logs, commits, or remote state were changed by this task.