--- language: - en - zh - ja - ko - id - es - ar - ru - de - fr - pt - hi license: mit task_categories: - text-classification - tabular-classification - other tags: - web-security - bug-bounty - security - payloads - polyglot - multimodal - adversarial - prompt-injection - cvss - owasp - cwe size_categories: - n<1K dataset_info: features: - name: id dtype: string - name: record_type dtype: string - name: vuln_class dtype: string - name: value dtype: string configs: - config_name: payloads data_files: - split: train path: data/payloads.jsonl - config_name: findings data_files: - split: train path: data/findings.jsonl - config_name: scans data_files: - split: train path: data/scans.jsonl - config_name: class_index data_files: - split: train path: data/class_index.jsonl --- ![demo](https://kicaulah-polyglot-bughunter-x-static.static.hf.space/demo.gif) # ๐Ÿ—ƒ๏ธ Polyglot Bug Patterns **[๐Ÿ Dataset](https://huggingface.co/datasets/Kicaulah/polyglot-bug-patterns)** ยท **[๐ŸŽจ Space](https://huggingface.co/spaces/Kicaulah/polyglot-bughunter-x-static)** ยท **[๐Ÿง  Model](https://huggingface.co/Kicaulah/polyglot-bughunter-x)** ยท **[๐Ÿ’ป GitHub](https://github.com/skamy64-ux/polyglot-bughunter-x)** --- Bro, imagine a dataset of **43 non-destructive attack payloads** across **8 bug classes** โ€” 24 of them *polyglot*, meaning a single string that's simultaneously plausible HTML, JS, SQL **and** shell, so it escapes whatever context your app dropped it into. Plus **real detector output** from a full multimodal scan. Everything here is synthesised or locally generated. No real-world traffic, no scraped data, no user data. ## ๐Ÿ“ฆ What's inside | Config | Rows | What it is | |---|---:|---| | `payloads` | 43 | Every detection payload: value, bug class, CWE, OWASP, CVSS v3.1 vector+score, polyglot flag, and a `destructive` safety flag. | | `findings` | 36 | Real findings from one full scan of the bundled demo target, with proof strings, endpoints, remediation, tags. | | `scans` | 1 | Scan-level rollup: pages scanned, risk score, counts by severity, modality breakdown. | | `class_index` | 9 | Per-class counts plus totals. | Each config ships **JSONL and Parquet**, so both of these work: ```python from datasets import load_dataset ds = load_dataset("Kicaulah/polyglot-bug-patterns", "payloads") print(ds["train"][0]["value"]) print(ds["train"].filter(lambda r: r["polyglot"])[0]["value"]) findings = load_dataset("Kicaulah/polyglot-bug-patterns", "findings") print(len(findings["train"]), "findings from one scan") ``` ## ๐Ÿงฌ The payload classes | Class | n | Examples | |---|---:|---| | `sqli` | 8 | `' OR 1=1 -- `, `UNION SELECT NULL`, MySQL error-based double-query, `ORDER BY 99` column-count probe | | `xss` | 9 | `'">` attr breakout, `MIT ยท ๐Ÿ•ท๏ธ PolyglotBugHunter-X ยท authorized security testing only