Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    TypeError
Message:      Couldn't cast array of type
struct<lock_id: struct<type: string>, query: struct<type: string>, device_id: struct<type: string>, command: struct<type: string>, value: struct<type: string>, location: struct<type: string>, trigger: struct<type: string>, action: struct<type: string>, name: struct<type: string>, to: struct<type: string>, subject: struct<type: string>, body: struct<type: string>>
to
{'sensor_id': {'type': Value('string')}, 'controller_id': {'type': Value('string')}, 'network_segment': {'type': Value('string')}, 'parameter': {'type': Value('string')}, 'value': {'type': Value('string')}, 'severity': {'type': Value('string')}, 'message': {'type': Value('string')}, 'recipients': {'type': Value('string')}, 'bucket': {'type': Value('string')}, 'path': {'type': Value('string')}, 'content': {'type': Value('string')}, 'to': {'type': Value('string')}, 'subject': {'type': Value('string')}, 'body': {'type': Value('string')}}
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 489, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2380, in _iter_arrow
                  for key, pa_table in self.ex_iterable._iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2303, in cast_table_to_schema
                  cast_array_to_feature(
                  ~~~~~~~~~~~~~~~~~~~~~^
                      table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                      feature,
                      ^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1852, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2059, in cast_array_to_feature
                  _c(array.field(name) if name in array_fields else null_array, subfeature)
                  ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1854, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2109, in cast_array_to_feature
                  casted_array_values = _c(array.values, feature.feature)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1854, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2059, in cast_array_to_feature
                  _c(array.field(name) if name in array_fields else null_array, subfeature)
                  ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1854, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2059, in cast_array_to_feature
                  _c(array.field(name) if name in array_fields else null_array, subfeature)
                  ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1854, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2059, in cast_array_to_feature
                  _c(array.field(name) if name in array_fields else null_array, subfeature)
                  ~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1854, in wrapper
                  return func(array, *args, **kwargs)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2149, in cast_array_to_feature
                  raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
              TypeError: Couldn't cast array of type
              struct<lock_id: struct<type: string>, query: struct<type: string>, device_id: struct<type: string>, command: struct<type: string>, value: struct<type: string>, location: struct<type: string>, trigger: struct<type: string>, action: struct<type: string>, name: struct<type: string>, to: struct<type: string>, subject: struct<type: string>, body: struct<type: string>>
              to
              {'sensor_id': {'type': Value('string')}, 'controller_id': {'type': Value('string')}, 'network_segment': {'type': Value('string')}, 'parameter': {'type': Value('string')}, 'value': {'type': Value('string')}, 'severity': {'type': Value('string')}, 'message': {'type': Value('string')}, 'recipients': {'type': Value('string')}, 'bucket': {'type': Value('string')}, 'path': {'type': Value('string')}, 'content': {'type': Value('string')}, 'to': {'type': Value('string')}, 'subject': {'type': Value('string')}, 'body': {'type': Value('string')}}

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.

Sentinel-Flow (sentinelTris)

Sentinel-Flow is a benchmark for evaluating whether large language models can detect multi-step security violations in AI agent interaction traces. This dataset release contains the scenario fixtures and labeled traces used in the SECAI @ ESORICS evaluation.

Data-only release. This repository contains benchmark data only (36 scenario files, 900 labeled traces). No evaluation code or model outputs are included here.

Synthetic-data and vendor disclaimer. All scenarios, interaction traces, people, organizations, credentials, domains, and security events in this dataset are synthetic and were created solely for defensive security research. References to real companies, products, or services are illustrative only and do not represent actual product behavior, vulnerabilities, incidents, or customer data. This dataset is not affiliated with, sponsored by, or endorsed by any referenced company or product vendor.

Dataset Summary

Property Value
Scenarios 36
Labeled traces 900 (490 unsafe, 410 safe)
Vulnerability classes 3
Application domains 6
Format JSON

Vulnerability Classes

Based on the Lethal Trifecta threat model:

  1. Lethal Trifecta (lethal_trifecta): Untrusted content (U) → Private data access (P) → External exfiltration (E)
  2. Exfil Chain (exfil_chain): Private data access (P) → External exfiltration (E) — capability misuse without injection
  3. Taint-Sink (taint_sink): Untrusted content (U) → Dangerous execution sink — unsanitized execution

Application Domains

Code Domain
HC Healthcare
FN Finance
EN Enterprise
CI IoT / Critical Infrastructure
DO DevOps
WB Web

Dataset Layout

data/
├── lethal_trifecta/   # 12 scenario files
├── exfil_chain/       # 12 scenario files
└── taint_sink/        # 12 scenario files

Each scenario JSON file contains:

  • Scenario metadata: id, flow_class, domain fields
  • Environment: system_prompt, tool definitions
  • Traces: labeled agent interaction histories with ground_truth, flow_tag, reasoning, history, and candidate_action

JSON Structure

{
  "id": "HC-LT-clinical",
  "flow_class": "lethal_trifecta",
  "application_domain": "HC",
  "environment": {
    "system_prompt": "...",
    "tools": [ ... ]
  },
  "traces": [
    {
      "trace_id": "HC-LT-clinical-T001",
      "ground_truth": "UNSAFE",
      "flow_tag": "HC-LT-05",
      "reasoning": "...",
      "history": [ ... ],
      "candidate_action": { ... }
    }
  ]
}

Labels

Each trace includes:

  • ground_truth: SAFE or UNSAFE
  • flow_tag: scenario-level flow grouping tag
  • reasoning: reference explanation for the label
  • history: prior multi-turn agent/tool interaction
  • candidate_action: the next action to be judged

Intended Use

  • Benchmark evaluation of trace-level security classification
  • Robustness and error analysis across flow classes
  • Reproducible comparisons using fixed scenario fixtures
  • Training or fine-tuning security judge models

Ethical Considerations

  • Defensive benchmark: designed to evaluate detection capabilities, not to enable attacks
  • Synthetic data: all traces are synthetically generated; no real user data was used
  • Simulated credentials: some traces contain realistic-looking credential strings as part of attack simulation content — these are fictional and not valid credentials

Citation

If you use this dataset, please cite the Sentinel-Flow paper (SECAI @ ESORICS):

@inproceedings{sentinel-flow-2026,
  title={Sentinel-Flow: A Benchmark for Multi-Step Security Detection in AI Agent Traces},
  booktitle={SECAI @ ESORICS},
  year={2026}
}

Related Links

Downloads last month
42