File size: 5,940 Bytes
e00f07f
b1f8b18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e00f07f
b1f8b18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: cc-by-4.0
task_categories:
  - text-classification
  - text-generation
  - feature-extraction
language:
  - en
tags:
  - medium
  - cybersecurity
  - web-pentesting
  - articles
  - nlp
  - blog
pretty_name: Medium Web Pentesting Articles
size_categories:
  - n<1K
---

# Medium Web Pentesting Articles

## Dataset Description

A curated collection of **357 Medium articles** focused on **web penetration testing**, scraped from Medium's search results for the query `web pentesting`. Each record includes article metadata and the opening snippet of the article body.

This dataset is useful for NLP tasks such as topic modeling, text classification, content recommendation, and summarization within the cybersecurity domain.

---

## Dataset Details

### Dataset Summary

| Property | Value |
|---|---|
| Source | Medium.com (`search?q=web+pentesting`) |
| Total Records | 357 |
| Date Range | 2015-09-24 to 2026-04-11 |
| Language | Multilingual (predominantly English) |
| License | CC BY 4.0 |

### Supported Tasks

- **Text Classification** — classify articles by topic, difficulty, or tool type
- **Text Generation** — generate article intros in the pentesting domain
- **Feature Extraction** — extract embeddings for semantic search or clustering
- **Information Retrieval** — build search indexes over pentesting content

---

## Dataset Structure

### Data Fields

| Column | Type | Description |
|---|---|---|
| `title` | `string` | Title of the Medium article |
| `author` | `string` | Username/display name of the article author |
| `date` | `string` | Publication date in `YYYY-MM-DD` format |
| `read_time_minutes` | `int` | Estimated reading time in minutes (0 if not available) |
| `claps` | `int` | Number of claps (Medium's engagement metric); values like `1.4K` have been converted to integers (e.g. `1400`) |
| `responses` | `int` | Number of reader responses/comments |
| `article_snippet` | `string` | Opening paragraph or intro snippet scraped from the article body |

### Data Splits

This dataset is provided as a single split:

| Split | Records |
|---|---|
| `train` | 357 |

---

## Data Preprocessing

The raw scraped data underwent the following cleaning steps before upload:

1. **Dropped scraper metadata columns**`web_scraper_order`, `web_scraper_start_url`, and `go to` were removed as they contain no semantic value.
2. **Dropped 3 null-blog rows** — Articles with no extractable body text (likely paywalled or member-only) were removed.
3. **Filled `claps` and `responses` nulls with `0`** — Missing engagement metrics are treated as zero engagement.
4. **Normalized `claps` notation** — Values like `1.4K` were converted to integers (`1400`).
5. **Parsed `read_time_minutes`** — Extracted the numeric minute value from strings like `"7 min read"`.
6. **Standardized `date`** — Converted from `"Jan 29, 2025"` format to ISO `"2025-01-29"`.
7. **Renamed `blog` → `article_snippet`** — To accurately reflect that this is the article's opening snippet, not the full text.

> **Note on `article_snippet`:** This field contains only the **opening paragraph** of each article as captured by the scraper. Some entries are very short greetings (e.g., "Hello Everyone!", "Hey guys!") which reflect the actual article openings. The field is kept as-is to preserve fidelity to the source. Some articles are in languages other than English (Turkish, Portuguese, Arabic, etc.).

---

## Dataset Statistics

| Metric | Value |
|---|---|
| Articles with 0 claps | ~21% |
| Median claps | 12 |
| Max claps | 1,400 |
| Median read time | 4 min |
| Max read time | 27 min |
| Articles with responses | ~17% |

---

## Example Records

```json
{
  "title": "Web Application Pentests & The Basics",
  "author": "Mike Smith",
  "date": "2025-01-22",
  "read_time_minutes": 7,
  "claps": 68,
  "responses": 3,
  "article_snippet": "Hello Everyone!"
}
```

```json
{
  "title": "Hacking With Cookies",
  "author": "Teri Radichel",
  "date": "2025-03-18",
  "read_time_minutes": 19,
  "claps": 6,
  "responses": 0,
  "article_snippet": "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
}
```

---

## Source Data

### Data Collection

Data was collected using a web scraper targeting Medium's public search endpoint:

```
https://medium.com/search?q=web+pentesting
```

The scraper captured article cards including title, author, date, read time, engagement counts, and the opening body snippet.

### Who are the source data producers?

The articles are authored by individual Medium writers sharing knowledge about web penetration testing, bug bounty hunting, CTF writeups, and cybersecurity tooling.

---

## Considerations for Using the Data

### Social Impact

This dataset is intended for **educational and research purposes** in the cybersecurity NLP domain. It may help researchers build tools that assist security professionals in finding relevant literature and knowledge.

### Bias and Limitations

- **Snippet-only content**: The `article_snippet` is not the full article; full content is behind Medium's paywall for many posts.
- **English-dominant but multilingual**: Most articles are in English, but Turkish, Portuguese, and Arabic articles are present without language labels.
- **Engagement bias**: Articles with more claps may represent more popular or sensationalist content rather than higher quality.
- **Scraper limitations**: `read_time_minutes = 0` indicates the read time was not available, not that the article has no content.

---

## Citation

If you use this dataset in your work, please cite:

```bibtex
@dataset{medium_web_pentesting_2026,
  title     = {Medium Web Pentesting Articles},
  year      = {2026},
  note      = {Scraped from Medium.com search results for "web pentesting"},
  license   = {CC BY 4.0}
}
```

---

## Dataset Card Contact

For issues, corrections, or contributions, please open a discussion on the dataset repository.