Dataset Viewer
The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    FileNotFoundError
Message:      Couldn't find any data file at /src/services/worker/Jashwanth77/MCP-CredLeak. Couldn't find 'Jashwanth77/MCP-CredLeak' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/Jashwanth77/MCP-CredLeak@0266c6fdbf138906a6450163f41c17bbaed6d227/train.csv' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.ndjson', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.conll', '.conllu', '.tar', '.xml', '.hdf5', '.h5', '.eval', '.toml', '.md', '.lance', '.tsfile', '.vortex', '.fa', '.fasta', '.fna', '.ffn', '.faa', '.frn', '.afa', '.gb', '.gbk', '.genbank', '.fq', '.fastq', '.pdb', '.ent', '.cif', '.mmcif', '.PDB', '.ENT', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.3gp', '.3g2', '.avi', '.asf', '.flv', '.mp4', '.mov', '.m4v', '.mkv', '.webm', '.f4v', '.wmv', '.wma', '.ogm', '.mxf', '.nut', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.3GP', '.3G2', '.AVI', '.ASF', '.FLV', '.MP4', '.MOV', '.M4V', '.MKV', '.WEBM', '.F4V', '.WMV', '.WMA', '.OGM', '.MXF', '.NUT', '.glb', '.ply', '.stl', '.GLB', '.PLY', '.STL', '.pdf', '.PDF', '.nii', '.NII', '.zip', '.idx', '.manifest', '.txn']
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 67, in compute_config_names_response
                  config_names = get_dataset_config_names(
                      path=dataset,
                      token=hf_token,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                      path,
                  ...<4 lines>...
                      **download_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 1178, in dataset_module_factory
                  raise FileNotFoundError(
                  ...<2 lines>...
                  ) from None
              FileNotFoundError: Couldn't find any data file at /src/services/worker/Jashwanth77/MCP-CredLeak. Couldn't find 'Jashwanth77/MCP-CredLeak' on the Hugging Face Hub either: FileNotFoundError: Unable to find 'hf://datasets/Jashwanth77/MCP-CredLeak@0266c6fdbf138906a6450163f41c17bbaed6d227/train.csv' with any supported extension ['.csv', '.tsv', '.json', '.jsonl', '.ndjson', '.parquet', '.geoparquet', '.gpq', '.arrow', '.txt', '.conll', '.conllu', '.tar', '.xml', '.hdf5', '.h5', '.eval', '.toml', '.md', '.lance', '.tsfile', '.vortex', '.fa', '.fasta', '.fna', '.ffn', '.faa', '.frn', '.afa', '.gb', '.gbk', '.genbank', '.fq', '.fastq', '.pdb', '.ent', '.cif', '.mmcif', '.PDB', '.ENT', '.blp', '.bmp', '.dib', '.bufr', '.cur', '.pcx', '.dcx', '.dds', '.ps', '.eps', '.fit', '.fits', '.fli', '.flc', '.ftc', '.ftu', '.gbr', '.gif', '.grib', '.png', '.apng', '.jp2', '.j2k', '.jpc', '.jpf', '.jpx', '.j2c', '.icns', '.ico', '.im', '.iim', '.tif', '.tiff', '.jfif', '.jpe', '.jpg', '.jpeg', '.mpg', '.mpeg', '.msp', '.pcd', '.pxr', '.pbm', '.pgm', '.ppm', '.pnm', '.psd', '.bw', '.rgb', '.rgba', '.sgi', '.ras', '.tga', '.icb', '.vda', '.vst', '.webp', '.wmf', '.emf', '.xbm', '.xpm', '.BLP', '.BMP', '.DIB', '.BUFR', '.CUR', '.PCX', '.DCX', '.DDS', '.PS', '.EPS', '.FIT', '.FITS', '.FLI', '.FLC', '.FTC', '.FTU', '.GBR', '.GIF', '.GRIB', '.PNG', '.APNG', '.JP2', '.J2K', '.JPC', '.JPF', '.JPX', '.J2C', '.ICNS', '.ICO', '.IM', '.IIM', '.TIF', '.TIFF', '.JFIF', '.JPE', '.JPG', '.JPEG', '.MPG', '.MPEG', '.MSP', '.PCD', '.PXR', '.PBM', '.PGM', '.PPM', '.PNM', '.PSD', '.BW', '.RGB', '.RGBA', '.SGI', '.RAS', '.TGA', '.ICB', '.VDA', '.VST', '.WEBP', '.WMF', '.EMF', '.XBM', '.XPM', '.aiff', '.au', '.avr', '.caf', '.flac', '.htk', '.svx', '.mat4', '.mat5', '.mpc2k', '.ogg', '.paf', '.pvf', '.raw', '.rf64', '.sd2', '.sds', '.ircam', '.voc', '.w64', '.wav', '.nist', '.wavex', '.wve', '.xi', '.mp3', '.opus', '.3gp', '.3g2', '.avi', '.asf', '.flv', '.mp4', '.mov', '.m4v', '.mkv', '.webm', '.f4v', '.wmv', '.wma', '.ogm', '.mxf', '.nut', '.AIFF', '.AU', '.AVR', '.CAF', '.FLAC', '.HTK', '.SVX', '.MAT4', '.MAT5', '.MPC2K', '.OGG', '.PAF', '.PVF', '.RAW', '.RF64', '.SD2', '.SDS', '.IRCAM', '.VOC', '.W64', '.WAV', '.NIST', '.WAVEX', '.WVE', '.XI', '.MP3', '.OPUS', '.3GP', '.3G2', '.AVI', '.ASF', '.FLV', '.MP4', '.MOV', '.M4V', '.MKV', '.WEBM', '.F4V', '.WMV', '.WMA', '.OGM', '.MXF', '.NUT', '.glb', '.ply', '.stl', '.GLB', '.PLY', '.STL', '.pdf', '.PDF', '.nii', '.NII', '.zip', '.idx', '.manifest', '.txn']

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

MCP-CredLeak

MCP-CredLeak is a per-tool-call dataset for detecting and classifying credential leakage in tool-calling LLM agents (Model Context Protocol). Each row is one tool call with its text, tool metadata, session-flow features and labels.

Author: Jashwanth

Source and attribution

Derived from the MCPHunt traces: https://huggingface.co/datasets/mcphunt-benchmark/mcphunt-agent-traces

The source is released under CC BY 4.0. This derivative is not endorsed by the original authors.

Changes made

  • Converted the source JSON traces to flat CSV, one row per tool call.
  • Dropped columns not needed for classification.
  • Removed the characters $ and @ from text fields.
  • Mapped the source leak labels to 9 classes (8 leak types plus non-leak) in leak_type.
  • Created train, validation and test splits.

Columns

Column Description
row_id Row identifier
trace_id Trace (session) the call belongs to
task_id Task the trace was generated for
source Origin of the record in the source data
model Agent model that produced the trace
mechanism Leak mechanism of the task
server MCP server called
tool Tool called
sink_type Type of destination the call writes to
prompt_text User prompt
action_text Current tool action and arguments
context_text Earlier session context
arg_count Number of arguments
arg_total_length Total length of the arguments
arg_entropy Entropy of the arguments
latency_log Log-scaled latency of the call
turn_number Position of the call in the session
tool_is_write Whether the tool writes (1) or not (0)
destination_is_external Whether the destination is external (1) or not (0)
distinct_servers_so_far Distinct servers used earlier in the session
read_then_write_hops Read-then-write hops so far in the session
is_leak Binary label: 1 if the call leaks a credential
leak_type One of 9 classes (8 leak types plus non-leak)

Labels and limitations

Labels come from the source dataset's canary-based labeling, mapped to the 9 classes. The tasks are researcher-designed, so results may not transfer to real deployments.

License

CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Credit both this dataset and the original MCPHunt dataset, and note that changes were made.

Citation

@misc{jashwanth2026mcpcredleak,
  title  = {MCP-CredLeak},
  author = {Jashwanth},
  year   = {2026},
  note   = {Derived from MCPHunt}
}
Downloads last month
19