SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.00986 · 2026

Do Phone-Use Agents Respect Your Privacy?

Can Xu, Ming Yan, Junyi Li, Ziniu Li, Zeyu Qin, Han Hu, Benyou Wang, Chengquan Zhang, Tongxu Luo, Pengyuan Lyu, Zihan Ye, Xin Lai, and 10 more

arXiv · PDF · Open in the Atlas

Code that ran

11 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 9 failures of our instrument; 0 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2604.00986.json · badge: /api/ran/2604.00986.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
FreedomIntelligence/MyPhoneBench canonical (classifier label)
classifier basis: census
11 ran · 0 no recorded run
FunctionStatusWhere it lives
array_to_jpeg_bytes Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
FreedomIntelligence/MyPhoneBench/android_world/agents/infer.py
code served (permissive licence) · get_code("ed74ca95573ecafd")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bytes. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import io
import numpy as np
from PIL import Image

def image_to_jpeg_bytes(image: Image.Image) -> bytes:
    in_mem_file = io.BytesIO()
    image.save(in_mem_file, format='JPEG')
    in_mem_file.seek(0)
    img_bytes = in_mem_file.read()
    return img_bytes

def array_to_jpeg_bytes(image: np.ndarray) -> bytes:
    """Converts a numpy array into a byte string for a JPEG image."""
    image = Image.fromarray(image)
    return image_to_jpeg_bytes(image)

# Create a small valid RGB image as a numpy array
# PIL.Image.fromarray expects uint8 values for RGB mode
# Creating a 4x3 RGB image (height=4, width=3, channels=3)
image_array = np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8)

ARGS = {
    "image": image_array
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bytes — a bytes output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a bytes output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_access_layer_avg Ran
ran, honoured the contract we drafted
FreedomIntelligence/MyPhoneBench/evaluation/aggregate_results.py
code served (permissive licence) · get_code("23bbc6d053b0125e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from typing import Dict, Any, List, Optional

torch.manual_seed(0)

# Construct a valid summary dict with per_task scores
summary = {
    'per_task': [
        {
            'task_name': 'task_1',
            'access_layer_score': 0.85
        },
        {
            'task_name': 'task_2',
            'access_layer_score': 0.92
        },
        {
            'task_name': 'task_3',
            'access_layer_score': None  # This one should be skipped
        },
        {
            'task_name': 'task_4',
            'access_layer_score': 0.78
        }
    ]
}

ARGS = {
    'summary': summary
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
compute_full_privacy_avg Ran
ran, honoured the contract we drafted
FreedomIntelligence/MyPhoneBench/evaluation/aggregate_results.py
code served (permissive licence) · get_code("af0e2ba51ad14912")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Construct a valid summary dict with per_task entries containing privacy_score
summary = {
    'per_task': [
        {'privacy_score': 0.85},
        {'privacy_score': 0.90},
        {'privacy_score': 0.78},
        {'privacy_score': None},  # This one should be filtered out
        {'privacy_score': 0.92},
    ]
}

ARGS = {
    'summary': summary
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
create_run_directory Ran
ran; our contract draft was wrong, not the code
FreedomIntelligence/MyPhoneBench/android_world/checkpointer.py
code served (permissive licence) · get_code("ed426b3fa1c2c2a9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import datetime
import os
import tempfile

# Create a temporary directory for the location
temp_dir = tempfile.mkdtemp()

ARGS = {
    "location": temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
encode_image_for_html Ran
ran; our contract draft was wrong, not the code
FreedomIntelligence/MyPhoneBench/android_world/agents/m3a_utils.py
code served (permissive licence) · get_code("cfe3dad8026dc759")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import base64
import cv2
import numpy as np

# Create a simple test image as numpy ndarray
# The function expects an image in BGR format (standard for cv2)
# Create a small 4x3 image with 3 channels (BGR)
image = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)

ARGS = {
    'image': image
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_json Ran
ran; our contract draft was wrong, not the code
FreedomIntelligence/MyPhoneBench/android_world/agents/agent_utils.py
code served (permissive licence) · get_code("382a844d97026811")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import ast
import json
import re
from typing import Any

ARGS = {
    "s": "Let's think step by step. The answer is {'hello': 'world', 'count': 42}"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
image_to_jpeg_bytes Ran
ran; our contract draft was wrong, not the code
FreedomIntelligence/MyPhoneBench/android_world/agents/infer.py
code served (permissive licence) · get_code("aacd198292b49987")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bytes. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import io
from PIL import Image

# Create a small test image
# The function expects a PIL Image object
width, height = 4, 3
test_image = Image.new('RGB', (width, height), color='red')

ARGS = {
    'image': test_image,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bytes — a bytes output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a bytes output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_model_results Ran
ran; our contract draft was wrong, not the code
FreedomIntelligence/MyPhoneBench/evaluation/aggregate_results.py
code served (permissive licence) · get_code("dd724af387343278")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
from pathlib import Path
import tempfile
import os

# Create a temporary directory structure with model results
temp_dir = tempfile.mkdtemp()
results_dir = Path(temp_dir)

# Create summary.json files for some models
models_to_create = ['claude', 'gemini', 'gpt']
for model_key in models_to_create:
    model_dir = results_dir / model_key
    model_dir.mkdir(parents=True, exist_ok=True)
    summary_data = {
        'accuracy': 0.95,
        'loss': 0.05,
        'model_name': model_key,
        'metrics': {'precision': 0.94, 'recall': 0.96}
    }
    summary_path = model_dir / 'summary.json'
    with open(summary_path, 'w') as f:
        json.dump(summary_data, f)

# kimi and glm directories exist but have no summary.json (to test the warning case)
for model_key in ['kimi', 'glm']:
    model_dir = results_dir / model_key
    model_dir.mkdir(parents=True, exist_ok=True)

ARGS = {
    'results_dir': results_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_reason_action_output Ran
ran; our contract draft was wrong, not the code
FreedomIntelligence/MyPhoneBench/android_world/agents/m3a_utils.py
code served (permissive licence) · get_code("d41646fa0d0abcb9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re
import json

# Test case 1: Valid reason and action with JSON
raw_reason_action_output_1 = """Reason: We need to find the answer
Action: {'query': 'what is the capital of France', 'type': 'search'}"""

# Test case 2: Valid reason and action with malformed JSON
raw_reason_action_output_2 = """Reason: Let's think about this
Action: {'key': 'value', 'nested': {'inner': 42}}"""

# Test case 3: Missing action
raw_reason_action_output_3 = """Reason: Just reasoning here
No action provided"""

# Test case 4: Empty strings
raw_reason_action_output_4 = ""

# Test case 5: Action with invalid JSON that can't be parsed
raw_reason_action_output_5 = """Reason: Some reasoning
Action: {this is not valid json}"""

ARGS = {
    "raw_reason_action_output": raw_reason_action_output_1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
sort_key Ran
ran; our contract draft was wrong, not the code
FreedomIntelligence/MyPhoneBench/android_world/checkpointer.py
code served (permissive licence) · get_code("fb545d6f19945d37")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

# Setup code for sort_key function

ARGS = {
    "filename": "model_42.pt"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
transpose_dol_to_lod Ran
ran; our contract draft was wrong, not the code
FreedomIntelligence/MyPhoneBench/android_world/episode_runner.py
code served (permissive licence) · get_code("f89c25f517511970")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Construct a dictionary of lists to test transpose_dol_to_lod
# The function expects a dict where each value is a list
# It will zip the values together to create a list of dicts

data = {
    "names": ["alice", "bob", "charlie"],
    "ages": [25, 30, 35],
    "scores": [90.5, 85.3, 92.1],
    "ids": [1, 2, 3]
}

ARGS = {
    "data": data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 0 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
array_to_jpeg_bytes 1 other paper
1 dated earlier
2405.14573 (2024-05)
AndroidWorld: A Dynamic Benchmarking Environment for Autonomous Agents
create_run_directory 1 other paper
1 dated earlier
2405.14573 (2024-05)
AndroidWorld: A Dynamic Benchmarking Environment for Autonomous Agents
encode_image_for_html 1 other paper
1 dated earlier
2405.14573 (2024-05)
AndroidWorld: A Dynamic Benchmarking Environment for Autonomous Agents
extract_json 1 other paper
1 dated earlier
2405.14573 (2024-05)
AndroidWorld: A Dynamic Benchmarking Environment for Autonomous Agents
image_to_jpeg_bytes 1 other paper
1 dated earlier
2405.14573 (2024-05)
AndroidWorld: A Dynamic Benchmarking Environment for Autonomous Agents
parse_reason_action_output 1 other paper
1 dated earlier
2405.14573 (2024-05)
AndroidWorld: A Dynamic Benchmarking Environment for Autonomous Agents
sort_key 1 other paper
1 dated earlier
2405.14573 (2024-05)
AndroidWorld: A Dynamic Benchmarking Environment for Autonomous Agents
transpose_dol_to_lod 1 other paper
1 dated earlier
2405.14573 (2024-05)
AndroidWorld: A Dynamic Benchmarking Environment for Autonomous Agents

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We study whether phone-use agents respect privacy while completing benign mobile tasks. This question has remained hard to answer because privacy-compliant behavior is not operationalized for phone-use agents, and ordinary apps do not reveal exactly what data agents type into which form entries during execution. To make this question measurable, we introduce MYPHONEBENCH, a verifiable evaluation framework for privacy behavior in mobile agents. We operationalize privacyrespecting phone use as permissioned access, minimal disclosure, and user-controlled memory through a minimal privacy contract, IMY, and pair it with instrumented mock apps plus rule-based auditing that make unnecessary permission requests, deceptive re-disclosure, and unnecessary form filling observable and reproducible. Across five frontier models on 10 mobile apps and 300 tasks, we find that task success, privacycompliant task completion, and later-session use of saved preferences are distinct capabilities, and no single model dominates all three. Evaluating success and privacy jointly reshuffles the model ordering relative to either metric alone. The most persistent failure mode across models is simple data minimization: agents still fill optional personal entries that the task does not require. These results show that privacy failures arise from over-helpful execution of benign tasks, and that success-only evaluation overestimates the deployment readiness of current phone-use agents. All code, mock apps, and agent trajectories are publicly available at https://github.com/FreedomIntelligence/MyPhoneBench.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2604.00986")
get_code_for_paper("2604.00986")
have("2604.00986")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2604.00986.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2604.00986.svg)](https://syntology.ai/paper/2604.00986)

Connect an agent — have() is free.