Android Contacts, the Social Graph Collider
Android's Contacts Provider grants READ_CONTACTS holders read access to every RawContacts and Data row regardless of which account or account type (Google, Twitter, Facebook) supplied it, and grants SyncAdapters with WRITE_CONTACTS write access to all of them. Any app integrating social data into the contacts app therefore exposes that data to every app with contact permission, merging social graphs. Users could otherwise be linked across services, with phone numbers tied to Twitter handles and legal names. Apps like Signal's TextSecure/RedPhone therefore avoid decorating contacts, a constraint that surfaced while building Secure Sync, an encrypted CardDAV/CalDAV contact and calendar sync replacement.
Related posts
- Direct Data Sharing using Delta Sharing - Introduction: Our Journey to Empower Partners at Zalando
Zalando Engineering easyNoviceZalando's Partner Tech team replaced a fragmented mix of SFTP, CSV downloads, APIs and S3 handoffs with Databricks-managed Delta Sharing, giving partners zero-copy access to more than 200 analytical datasets, some as large as 200TB. Partners were each spending about 1.5 FTE per month on manual data consolidation, so the team chose a solution that is open, cloud-agnostic and usable from Pandas, Spark and spreadsheets. The setup prepares Delta tables in Unity Catalog, groups them into shares, and issues each partner token-based credentials through an activation link. A proof of concept exposed friction around Unity Catalog permissions and the lack of self-service token APIs. The pilot is now becoming a Zalando-wide recipient-management platform, with OIDC federation under exploration.
- How Meta discovers data flows via lineage at scale
Meta Engineering mediumAdeptMeta builds a data lineage graph across its web, data warehouse and AI systems to find where sensitive data such as Facebook Dating religion fields flows, so privacy controls like Policy Zones can be applied. Signals come from static code analysis, from Privacy Probes runtime instrumentation, and from SQL analysis of Presto and Spark query logs and AI training configs. Privacy Probes captures sampled source and sink payloads within a request and classifies pairs as a high-confidence match-set (exact or contains match) or a noisier full-set that can include transformed flows. An iterative tool in Policy Zone Manager then walks the graph from sources, with developers or heuristics excluding irrelevant nodes so that whole downstream branches are pruned at once.
- PrivacyLib: Privacy Controls at the Data Access Boundary
Meta Engineering mediumAdeptPrivacyLib is a common library embedded in the clients of hundreds of Meta data and processing systems that enforces and observes privacy requirements at the point of data access. Each system integrates once by mapping its native APIs to five common operations (read, write, RPC, request entry, inline execution). New requirements then ship as enforcing modules such as Policy Zones or observing modules such as Privacy Probes and Agent Observability, taking days per system instead of months. To sustain billions of checks per second, requirements are compiled at build time, checks are answered from per-request and per-host caches, telemetry is deduplicated with Bloom filters, and signed tokens let ServiceRouter verify raw RPCs that passed client-side checks. A walkthrough shows Logger blocking writes of messaging metadata to tables that lack the right annotation.
- Improving the Storage Access API in Firefox
Mozilla Hacks mediumAdeptAhead of enabling State Partitioning for all users, Firefox is changing its Storage Access API implementation in four ways. Automatic storage grants now require recent user interaction with the third party, and accepted prompts or iframe interactions count as interaction. Permissions are scoped to the Site rather than the origin, which fixes login flows that move across subdomains. Interaction rules are tightened: denying a prompt clears the interaction, accepting resets its timer, and a reload requires new interaction. When third-party cookies are blocked, requestStorageAccess always rejects and hasStorageAccess returns false starting in Firefox 98.
- Building Profiles with new WebKit API
WebKit mediumAdeptmacOS 14 and iOS 17 add WebKit APIs for creating multiple persistent WKWebsiteDataStore instances, each keyed by a UUID, so apps can build browser-style profiles with separate cookies and website data. Assign a store to a WKWebView through its configuration, remove it with WKWebsiteDataStore.remove(forIdentifier:), which can fail if the store is in use or the file system errors, and list existing stores via allDataStoreIdentifiers to avoid creating one by accident. App-owned data such as bookmarks, history and per-site settings still has to be separated per profile by the client.