arXiv:2611.05779cs.CRNov 2026

Manuscript Offprint

arXiv:2611.05779

Private Vulnerability Testing for User Oversharing

Alexander Boyd, Daniel Gardham, Nishanth Sastry, Suparna De

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Alexander Boyd

University of Surrey

Guildford, United Kingdom

ab01353@surrey.ac.uk

Nishanth Sastry

University of Surrey

Guildford, United Kingdom

n.sastry@surrey.ac.uk

Daniel Gardham

University of Surrey

Guildford, United Kingdom

daniel.gardham@surrey.ac.uk

Suparna De

University of Surrey

Guildford, United Kingdom

s.de@surrey.ac.uk

Abstract

Users can inadvertently increase their vulnerability to privacy attacks by oversharing personal information. In particular, the combination of individually innocuous attributes can place a user in a sufficiently small population to enable linkage or re-identification attacks. We present a privacy-preserving mechanism that allows users to determine whether the information they disclose places them below a predefined population threshold, without revealing their query or the data of other users. Our setting presents several practical challenges: users contributing data may be offline when queries are made, queries may select arbitrary subsets of attributes, and neither server should learn the queried population or its size. We address these challenges using secret-shared data and queries, private equality testing, and secure threshold computation. Our protocol provides computational privacy against a malicious client and semi-honest, non-colluding servers, while supporting arbitrary queries and dynamic database updates. We define reactive f-privacy for a dynamically evolving database and prove that our construction satisfies it, with the sequence of permitted threshold outputs defining the information available to the adversary across an execution. We optimise the protocol using oblivious-transfer extensions and pre-computation, achieving sub-second online query times for 96-bit queries on datasets of up to one million records.

1 Introduction

Despite a majority of Internet users having concerns about privacy online, many struggle to translate this into actionable privacy protection measures [28]. An important reason for this is that users may not understand the extent to which they may be oversharing or the dangers involved in such [12, 26]. Individuals disclose information about themselves over time (across multiple posts) and often across multiple online and offline sources. For example, a user may publicly reveal their approximate age, location, employer, and university through social media and professional profiles. While each attribute may be relatively non-identifying in isolation, their intersection may correspond to only a small number of individuals, making the user vulnerable to linkage with a sensitive dataset. Similar risks arise in health and mobility data, where combinations of demographic, geographic, and behavioural attributes can be sufficient to distinguish individuals.

By linking all the attributes shared, adversaries might be able to identify individuals. The power of linkage attacks has been demonstrated through examples such as Narayanan and Shmatikov's [24]

classic de-anonymisation, using IMDb, of a Netflix dataset with 500,000 users' ratings in order to learn sensitive information, and the reidentification of taxi trips by Pandurangan [25]—a huge dataset of taxi trips granted from a Freedom of Information request, which contained hashed personally identifiable information (PII).

Although linkage attacks have often targeted high-profile individuals, people belonging to small or under-represented populations may also face heightened risk, since relatively few additional attributes may be sufficient to distinguish them from the wider population. For example, if transgender individuals constitute a very small proportion of a population, they may be singled out in a database using only a few additional attributes. Such individuals may therefore need to consider carefully whether disclosing additional information could make them more identifiable.

In this paper, we define the vulnerability of a user for a given database to be the size of the population determined by the publicly available information of that user. Thus, an attribute does not have an intrinsic level of linkage risk, which depends on what other information is available and on the distribution of those attributes in the population. The core functionality is simple: given a user's disclosed attributes, the system uses two non-colluding servers to privately count the number of users whose records match those attributes and returns only whether this count is below a predefined threshold TT. Neither server learns the user's attribute values, the resulting count, nor any individual user's record. Unlike state-of-the-art private aggregation such as Prio [6] and Prio+ [1], where the aggregate function is specified as part of the data-collection process, our setting allows users to privately query arbitrary subsets of attributes after data collection and determine the frequency of the corresponding joint attribute combination, even when the users contributing to the database are offline.

Moreover, the privacy guarantee must hold across the system's entire lifetime, rather than for each query considered in isolation. A querying client may adapt its next query to previous threshold outcomes, while insertions and updates may change the population against which subsequent queries are evaluated. Consequently, even if each individual execution reveals only its permitted output, the sequence of outputs may reveal additional information about the evolving dataset. We capture this stateful setting through reactive f-privacy: the adversary's view across an adaptive sequence of queries and database operations must reveal no more than is permitted by the corresponding ideal functionality. Our definition therefore makes explicit the leakage arising from the allowed outputs and the evolution of the database.

We represent each user's record as a vector viv_i of encoded attribute values. Categorical attributes can be represented by enumerating their possible values (e.g., male, female, transgender), while numerical attributes, such as age, can be discretised into buckets, again creating an enumeration of possible values (e.g., 20–30, 30–40, etc.). A client's query consists of an attribute-selection vector qq, indicating which attributes are being queried, together with the corresponding attribute values tt. For example, a client may query whether the population matching their age, location, and sexuality is below a predefined threshold, without querying or revealing their other attributes. This representation allows users to select an arbitrary subset of attributes when making a query, while the underlying records remain fixed in the database.

Two non-colluding servers are required to maintain privacy. Organisationally, non-collusion might require that these servers are operated by two competing social media platforms or perhaps two charities, such as ACLU and EFF that care about privacy and civil liberties. Technically, non-colluding servers enable privacy of the users' attribute values by maintaining secret shares of users' records. Similarly, privacy of user queries is ensured by having the user's client secret-share its query between the servers. The servers privately perform equality tests between the query and each database record, aggregate the resulting matches, and securely determine whether the resulting count is below the threshold TT.

Within the above framework, it is still challenging to perform a private intersection across arbitrary combinations of attributes without incurring an exponential blow up. We tackle this by using a secret-shared enumeration of the user's data and computing over it when needed. We utilise Beaver triples for secret multiplication that allows us to offload as much pre-computation as possible. This approach also allows us to very cheaply hide the query using a clever yet simple extension.

Our Contributions. We present a privacy-preserving vulnerability testing system that allows users to determine whether their disclosed attributes place them in a population below a predefined threshold, while keeping both the underlying user data and the querying user's attributes private. Our construction supports arbitrary attribute-subset queries, offline users, and a dynamically evolving database. We achieve practical online performance by moving computationally expensive operations to a pre-computation phase. Our contributions are as follows:

(1) Private vulnerability testing. We provide a formal construction for privately determining whether a user's attributes identify a population below a predefined threshold, where the query may select an arbitrary subset of attributes and users contributing to the database need not be online when the query is issued. Our construction provides computational privacy against malicious clients and semi-honest, non-colluding servers.

(2) Reactive privacy. We define reactive ff-privacy for our stateful setting, capturing the security of an adversary's view across an arbitrary sequence of queries and database updates. We prove that our construction satisfies reactive ff-privacy, with the permitted threshold outputs characterising the information revealed across the execution.

(3) Extensions and optimisations. We show how the construction can support client opt-out and data updates, and formulate the equality-testing component as a replaceable interface, allowing alternative equality-testing techniques to be incorporated without modifying the remainder of the protocol. We additionally develop a more efficient variant that trades a modest amount of information leakage for improved performance.

(4) Implementation and evaluation. We implement the proposed protocols in C/C++1C/C++^1 and evaluate their performance on datasets of up to ten million records. We additionally implement an alternative equality-testing protocol and compare its performance with our baseline construction.

References (16)