File size: 2,410 Bytes
475c124
 
 
 
 
 
 
0b38928
 
 
aa3d883
 
 
 
 
 
 
 
 
0b38928
aa3d883
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
license: cc-by-nc-4.0
language:
- en
tags:
- App Privacy Policies
- Data Safety Labels
---
# GoogleDataSafety

Data used in the papers: 
- [Unpacking Privacy Labels: A Measurement and Developer Perspective on Google's Data Safety Section](https://www.usenix.org/conference/usenixsecurity24/presentation/khandelwal)
- [The Overview of Privacy Labels and their Compatibility with Privacy Policies](https://arxiv.org/abs/2303.08213)
- [Comparing Privacy Labels of Applications in Android and iOS](https://dl.acm.org/doi/10.1145/3603216.3624967)

****

## Getting Started

In this dataset you have the following data:
1. App Privacy Policies
2. Data Safety Sections Labels

The data is collected from the apps in Google Play Store over the period of 2022-2023.

****

### 1. Code Structure
```
β”œβ”€β”€ raw_policies/
β”‚   β”œβ”€β”€ policy_raw_0.zip
β”‚   β”œβ”€β”€ policy_raw_100000.zip
β”‚   β”œβ”€β”€ policy_raw_200000.zip
β”‚   β”œβ”€β”€ policy_raw_300000.zip
β”‚   └── ...
β”œβ”€β”€ data_safety_sections/
β”‚   β”œβ”€β”€ 05_30/
β”‚   β”œβ”€β”€ 06_20/
β”‚   β”œβ”€β”€ 06_28/
β”‚   β”œβ”€β”€ 07_01/
β”‚   └── ...
```

### 2. Using Privacy Policy Data
Unzip the zip file and you will see the following structure:
```
β”œβ”€β”€ policy_raw_0/
β”‚   β”œβ”€β”€ <app_id>
β”‚   β”‚   β”œβ”€β”€ <privacy_policy_timestamp>.txt  # Raw HTML of the privacy policy
β”‚   β”‚   └── site.txt                        # URL of the privacy policy
β”‚   └── ...
```

### 3. Loading DSS Label Data
```python
import pandas as pd

# Load the data
# !pip install pyarrow

data = pd.read_parquet('data_safety_sections/05_30/all_data_05_30.brotli')
```

---------

## Contact

For any questions or feedback, feel free to contact [Asmit Nayak](mailto:[email protected]) and [Rishabh Khandelwal](mailto:[email protected]).


## Citation

If you find this dataset useful in your research or applications, please kindly cite:
```
@inproceedings {google_data_safety_section,
author = {Rishabh Khandelwal and Asmit Nayak and Paul Chung and Kassem Fawaz},
title = {Unpacking Privacy Labels: A Measurement and Developer Perspective on Google's Data Safety Section},
booktitle = {33rd USENIX Security Symposium (USENIX Security 24)},
year = {2024},
address = {Philadelphia, PA},
url = {https://www.usenix.org/conference/usenixsecurity24/presentation/khandelwal},
publisher = {USENIX Association},
month = aug
}
```