Datasets:
File size: 10,029 Bytes
da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 da6fb13 7444815 | 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 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | ---
pretty_name: ScamWeb
license: cc-by-4.0
task_categories:
- image-classification
- text-classification
size_categories:
- 1K<n<10K
configs:
- config_name: samples
default: true
data_files:
- split: full
path: samples/*.parquet
- config_name: artifacts
data_files:
- split: full
path: artifacts/*.parquet
tags:
- multimodal
- multilingual
- cybersecurity
- fraud-detection
- visual-grounding
- explainability
- screenshots
- mhtml
---
# ScamWeb
**A Multimodal Benchmark for Grounded Understanding of Cyber-enabled Fraud Webpages**
[Code (anonymous mirror)](https://anonymous.4open.science/r/ScamWeb-B710) · [Dataset](https://huggingface.co/datasets/kirco567/ScamWeb-Dataset) · [License](LICENSE)
## Dataset Summary
ScamWeb is a multimodal and multilingual benchmark for understanding cyber-enabled fraud webpages. It combines URL and title metadata, full-page screenshots, archived MHTML evidence, and expert annotations to evaluate whether a system can recognize fraud, identify its subtype, localize deceptive evidence, and explain its decisions.
This repository provides the **5,658-page frozen benchmark**, comprising **3,416 expert-annotated scam webpages** and **2,242 benign webpages**, together with supporting annotation artifacts. The broader ScamWeb collection contains **10,026 webpages**; its **4,368 auxiliary machine-annotated scam pages** are outside the frozen evaluation corpus.
| Benchmark characteristic | Coverage |
| --- | ---: |
| Frozen benchmark webpages | 5,658 |
| Expert-annotated scam webpages | 3,416 |
| Benign webpages | 2,242 |
| Benchmark scam taxonomy | 25 subtypes |
| Expert evidence regions | 5,489 |
| Language-label combinations in expert annotations | 47 |
Language labels include both individual languages and multilingual combinations. The taxonomy and evaluation protocol are maintained in the accompanying code repository.
## Tasks and Evaluation
The four linked tasks form **GroundScam**, the paper's unified evaluation setting.
| Task | Expected output | Evaluation metrics |
| --- | --- | --- |
| Fraud detection | `scam` or `benign` | Accuracy, precision, recall, F1 |
| Subtype classification | One of 25 scam subtypes | Accuracy, macro precision, macro recall, macro F1 |
| Evidence grounding | Screenshot-space evidence regions | mIoU, P/R/F1@0.5, page Recall@0.3/0.5 |
| Rationale generation | An explanation for each evidence region | ROUGE-L, multilingual BERTScore, grounded coverage |
The accompanying code implements **ScamMark**, a training-free LLM–VLM baseline that integrates URL, textual, visual, and structural evidence through staged reasoning. For supervised evaluation, the fixed **70/15/15 training/validation/test partition** is maintained in the code repository. The Hugging Face configurations expose the complete corpus through the `full` split.
The formal evaluation retains all 5,658 benchmark records and uses trusted MHTML-derived evidence for 5,482 pages under the code repository's evidence policy. Archived MHTML payloads in this dataset and MHTML content admitted as model input serve distinct roles; follow that policy when reproducing the benchmark.
## Dataset Construction
The broader collection was assembled from public anti-scam platforms, scam directories, public reports, and existing datasets between November 2025 and February 2026. Live webpage capture and historical recovery through the Internet Archive preserve visual and structural evidence independently of subsequent website availability. The benign set was drawn from **LegitPhish** (Potpelwar, Kulkarni, and Waghmare, 2025).
For the expert-annotated scam set, two domain experts independently annotated each webpage, with disagreements adjudicated by a third expert. Annotations include the scam subtype, language, page description, and evidence regions. Each region is represented by a bounding box in original screenshot coordinates (`xyxy`) and a human-written explanation. Benign webpages provide the input modalities and binary category without scam evidence annotations.
## Data Organization
The release uses Zstd-compressed, self-contained Parquet files: **79 shards**, totaling **29728933110 bytes** (approximately 29.73 GB). Original media and annotation payloads are stored as bytes.
| Configuration | Split | Rows | Contents |
| --- | --- | ---: | --- |
| `samples` (default) | `full` | 5,658 | Benchmark webpage metadata, screenshots, MHTML, and expert annotations |
| `artifacts` | `full` | 7,845 | Supporting machine-generated annotations, collection workbook, annotation documentation, and ancillary files |
### `samples` fields
| Field | Representation and meaning |
| --- | --- |
| `sample_id` | Unique string identifier with a `scam/` or `benign/` prefix |
| `source_id` | Source identifier as a string, including any suffix |
| `category` | Binary category: `scam` or `benign` |
| `url`, `title` | Webpage URL and title |
| `scam_type`, `language`, `description` | Expert annotation fields for scam pages; null for benign pages |
| `annotations_json` | JSON-encoded expert evidence-region annotations; null for benign pages |
| `image` | Hugging Face `Image(decode=False)`: original PNG `bytes` and relative `path`, or `None` |
| `image_path`, `image_available` | Expected relative screenshot path and availability flag |
| `mhtml_path`, `mhtml_bytes` | Relative archive path and original MHTML bytes |
| `manual_annotation_path`, `manual_annotation_bytes` | Relative expert annotation path and original JSON bytes; null for benign pages |
Expert annotation strings are preserved in their source form. Use the accompanying code's benchmark taxonomy for canonical subtype evaluation. Screenshots are returned as bytes to support selective decoding across varying image resolutions; check `image_available` before accessing `image`.
### `artifacts` fields
| Field | Meaning |
| --- | --- |
| `path` | Relative artifact path |
| `kind` | Artifact role, such as machine annotation, workbook, or annotation documentation |
| `size` | Payload size in bytes |
| `sha256` | SHA-256 digest of the payload |
| `bytes` | Original file bytes |
Machine-generated annotations are auxiliary material and are **not expert gold labels**. Their presence does not define additional complete benchmark records. For GroundScam evaluation, use the expert annotation fields in `samples` and the accompanying evaluation protocol.
## Usage
Install the Hugging Face Datasets library:
```bash
pip install datasets huggingface_hub
```
Stream benchmark records without downloading the entire release:
```python
import json
from datasets import Image, load_dataset
pages = load_dataset(
"kirco567/ScamWeb-Dataset",
"samples",
split="full",
streaming=True,
token=False,
)
pages = pages.cast_column("image", Image(decode=False))
page = next(iter(pages))
print(page["sample_id"], page["category"])
png_bytes = page["image"]["bytes"] if page["image"] is not None else None
mhtml_bytes = page["mhtml_bytes"]
regions = json.loads(page["annotations_json"]) if page["annotations_json"] else []
```
Read supporting artifacts separately:
```python
from datasets import load_dataset
artifacts = load_dataset(
"kirco567/ScamWeb-Dataset",
"artifacts",
split="full",
streaming=True,
token=False,
)
artifact = next(iter(artifacts))
print(artifact["path"], artifact["kind"], artifact["size"])
```
Download the complete release:
```python
from huggingface_hub import snapshot_download
snapshot_download(
repo_id="kirco567/ScamWeb-Dataset",
repo_type="dataset",
local_dir="./ScamWeb-Dataset",
token=False,
)
```
Pin a repository `revision` when reporting experimental results. The release includes file and shard manifests with SHA-256 digests for integrity verification.
## Considerations for Use
ScamWeb supports research on fraud detection, multimodal understanding, grounded explanations, and robust evaluation. Its long-tailed subtype and language distributions should be considered when interpreting aggregate scores. Archived labels describe the collected evidence rather than the current state of a live domain; practical decisions about websites should include human review.
Archived scam pages may contain deceptive, explicit, or otherwise sensitive material. Process webpage archives in an isolated environment and avoid executing embedded content or automatically visiting collected URLs. These handling recommendations do not add restrictions to the license below.
## Citation and Related Work
The accompanying paper is an **anonymous AAAI 2027 submission**:
> **ScamWeb: A Multimodal Benchmark for Grounded Understanding of Cyber-enabled Fraud Webpages.** Anonymous submission, AAAI 2027.
An archival citation will be added when public author and publication information becomes available. The anonymous code mirror linked above provides the benchmark protocol and ScamMark implementation.
Benign webpage source: Potpelwar, R. S.; Kulkarni, U.; and Waghmare, J. 2025. *LegitPhish: A large-scale annotated dataset for URL-based phishing detection.* Data in Brief, 63: 111972.
## License
The contributors' original annotations, dataset documentation, and dataset curation are released under **[Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/)**, to the extent that the contributors hold the rights needed to license those materials. The complete, unmodified license text is provided in [LICENSE](LICENSE).
Third-party webpage content, including material reproduced in screenshots and MHTML archives, remains subject to its original rights and applicable terms; this release does not relicense that content. The accompanying source code is governed by its own license.
|