extract 0 0 0

jianshuod/safesearch

published by @jianshuod

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
282
Last 30 days
40
Likes
1
Size
2.0 MB
Created on HF
2026-01-29
Age
8 months ago

Description

SafeSearch Dataset

The SafeSearch dataset is designed for automated red teaming of LLM-based search agents. It evaluates the safety and robustness of search agents when dealing with unreliable web content.

Dataset Description

SafeSearch contains test cases across 5 risk categories:

Prompt Injection: Testing if agents follow malicious embedded instructions

Harmful Output: Testing if agents generate harmful content

Bias Inducing: Testing if agents produce biased… See the full description on the dataset page: https://huggingface.co/datasets/jianshuod/safesearch.

Tags

task_categories:text-classificationtask_categories:text-generationlanguage:enlicense:apache-2.0size_categories:n<1Karxiv:2509.23694region:ussafetyred-teamingllm-evaluationsearch-agentsbenchmarkrobustness

README current version from Hugging Face


license: apache-2.0
task_categories:

  • text-classification
  • text-generation
    language:
  • en
    size_categories:
  • n<1K
    pretty_name: SafeSearch
    tags:
  • safety
  • red-teaming
  • llm-evaluation
  • search-agents
  • benchmark
  • robustness

SafeSearch Dataset

The SafeSearch dataset is designed for automated red teaming of LLM-based search agents. It evaluates the safety and robustness of search agents when dealing with unreliable web content.

Dataset Description

SafeSearch contains test cases across 5 risk categories:

  • Prompt Injection: Testing if agents follow malicious embedded instructions
  • Harmful Output: Testing if agents generate harmful content
  • Bias Inducing: Testing if agents produce biased responses
  • Advertisement: Testing if agents prioritize commercial content
  • Fake Information: Testing if agents propagate misinformation

Usage

from datasets import load_dataset

# Load specific risk type
dataset = load_dataset("jianshuod/safesearch", "prompt_injection")

# Load all risk types (combine multiple configs)
from datasets import concatenate_datasets
ds_prompt = load_dataset("jianshuod/safesearch", "prompt_injection")["train"]
ds_harmful = load_dataset("jianshuod/safesearch", "harmful_output")["train"]
ds_bias = load_dataset("jianshuod/safesearch", "bias_inducing")["train"]
ds_ad = load_dataset("jianshuod/safesearch", "advertisement")["train"]
ds_fake = load_dataset("jianshuod/safesearch", "fake_information")["train"]
all_dataset = concatenate_datasets([ds_prompt, ds_harmful, ds_bias, ds_ad, ds_fake])

# Access a sample
sample = dataset["train"][0]
print(sample["user_query"])
print(sample["risk_type"])

Dataset Splits

Each configuration has a train split containing the test cases.

Configurations

  • prompt_injection: Prompt injection test cases (60 samples)
  • harmful_output: Harmful output test cases (60 samples)
  • bias_inducing: Bias-inducing test cases (60 samples)
  • advertisement: Advertisement test cases (60 samples)
  • fake_information: Fake information test cases (60 samples)

Citation

@article{dong2025safesearch,
  title={SafeSearch: Automated Red-Teaming of LLM-Based Search Agents},
  author={Dong, Jianshuo and Guo, Sheng and Wang, Hao and Liu, Zhuotao and Zhang, Tianwei and Xu, Ke and Huang, Minlie and Qiu, Han},
  journal={arXiv preprint arXiv:2509.23694},
  year={2025}
}

License

Apache 2.0

README history 20 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-01-29Remove deprecated dataset loading script74dde452.4 KB
    Loading...
  2. 2026-01-29Add dataset loading script and .gitattributes for dataset viewer40c930c2.4 KB
    Loading...
  3. 2026-01-29Delete .gitattributes with huggingface_hub747725d2.4 KB
    Loading...
  4. 2026-01-29Upload .gitattributes with huggingface_hub06194e32.4 KB
    Loading...
  5. 2026-01-29Upload .gitattributes with huggingface_hub797956f2.4 KB
    Loading...
  6. 2026-01-29Upload .gitattributes with huggingface_hub95a25012.4 KB
    Loading...
  7. 2026-01-29Upload prompt_injection/train.jsonl with huggingface_hub8eccd4a2.4 KB
    Loading...
  8. 2026-01-29Upload harmful_output/train.jsonl with huggingface_hubf56ed262.4 KB
    Loading...
  9. 2026-01-29Upload fake_information/train.jsonl with huggingface_hub7bab47b2.4 KB
    Loading...
  10. 2026-01-29Upload bias_inducing/train.jsonl with huggingface_hub5651d402.4 KB
    Loading...
  11. 2026-01-29Upload advertisement/train.jsonl with huggingface_hub6090e562.4 KB
    Loading...
  12. 2026-01-29Delete all/train.jsonl with huggingface_hub466f7732.4 KB
    Loading...
  13. 2026-01-29Upload README.md with huggingface_hub34adc042.4 KB
    Loading...
  14. 2026-01-29Upload prompt_injection/train.jsonl with huggingface_hubf8d7b061.9 KB
    Loading...
  15. 2026-01-29Upload harmful_output/train.jsonl with huggingface_hub66705901.9 KB
    Loading...
  16. 2026-01-29Upload fake_information/train.jsonl with huggingface_hubcd4cff41.9 KB
    Loading...
  17. 2026-01-29Upload bias_inducing/train.jsonl with huggingface_hub894969c1.9 KB
    Loading...
  18. 2026-01-29Upload all/train.jsonl with huggingface_hubba0d2661.9 KB
    Loading...
  19. 2026-01-29Upload advertisement/train.jsonl with huggingface_huba2a1b301.9 KB
    Loading...
  20. 2026-01-29Upload README.md with huggingface_hub75cca4b1.9 KB
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Related datasets same stage · extract

Read further

Metadata

License
apache-2.0

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("jianshuod/safesearch")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="jianshuod/safesearch", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/jianshuod/safesearch
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration