Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
stringlengths
11
13
project
stringclasses
2 values
bug_id
stringlengths
7
9
image_name
stringlengths
27
29
work_dir
stringclasses
2 values
verification_binary
stringclasses
7 values
command_options
stringlengths
0
165
target_source_files
listlengths
1
10
target_subdir
listlengths
1
3
target_vulnerability_type
stringclasses
24 values
error_type
stringclasses
4 values
description
stringlengths
103
3.13k
vrp
stringclasses
17 values
fix_patches
listlengths
1
6
v8__324596281
v8
324596281
hwiwonlee/v8.x86_64:324596281
/src/v8
out/x64.debug/d8
--allow-natives-syntax --experimental-wasm-imported-strings
[ "src/runtime/runtime-wasm.cc", "src/wasm/canonical-types.cc" ]
[ "src/runtime", "src/wasm" ]
Type confusion
DCHECK
A type confusion vulnerability exists in V8's WebAssembly tier-up mechanism within Runtime_TierUpWasmToJSWrapper (src/runtime/runtime-wasm.cc). The bug was introduced by commit 08170169a305fab1dca42bc11d86d7400f25421e, which added support for the text-encoder:encodeStringToUTF8Array well-known import (WellKnownImport::...
7000
[ "From 2109613ad4622028778a38fb418956fab8b478b6 Mon Sep 17 00:00:00 2001\nFrom: Andreas Haas <ahaas@chromium.org>\nDate: Tue, 13 Feb 2024 14:14:59 +0100\nSubject: [PATCH] [wasm] Use correct signature index for tier-up of wasm-to-js\n wrapper\n\nThe wasm-to-js wrapper tierup used the canonicalized signature id lookup...
v8__324747822
v8
324747822
hwiwonlee/v8.x86_64:324747822
/src/v8
out/x64.debug/d8
--allow-natives-syntax --expose-gc --future --fuzzing --jit-fuzzing --harmony --omit-quit --js-staging --wasm-staging --no-wasm-loop-unrolling --no-wasm-loop-peeling
[ "src/compiler/turboshaft/wasm-gc-type-reducer.cc" ]
[ "src/compiler/turboshaft" ]
Debug assertion failure
DCHECK
The vulnerability is a fatal debug assertion failure in the Turboshaft WasmGC type analyzer (WasmGCTypeAnalyzer), triggered during JIT compilation of WebAssembly modules containing GC type operations within loops. It was introduced by commit 3f2471d0abe711c92ddb3d6fe17bc22d9955f2b8, which expanded the 'uninhabited' typ...
8000
[ "From 8f1c8131bd1766368e9d006d0bc6b6210dd96303 Mon Sep 17 00:00:00 2001\nFrom: Jakob Kummerow <jkummerow@chromium.org>\nDate: Mon, 4 Mar 2024 16:50:53 +0100\nSubject: [PATCH] Merged: [wasm-imported-strings][turbofan] Use\n HeapType::kExternString\n\nand: [wasm] Introduce new heap type 'imported string'\n\n(cherry p...
v8__325866363
v8
325866363
hwiwonlee/v8.x86_64:325866363
/src/v8
out/x64.debug/d8
--allow-natives-syntax --expose-gc --future --fuzzing --harmony --omit-quit --js-staging --wasm-staging
[ "src/wasm/wasm-code-manager.cc" ]
[ "src/wasm" ]
Out-of-bounds write
RUNTIME_CRASH
Protected Wasm instructions did not get their own safepoint entries in `src/wasm/wasm-code-manager.cc`, so trap handling could fall back to an earlier safepoint with stale tagged spill-slot information. When an out-of-bounds Wasm memory access raised an exception, V8 used the wrong safepoint metadata during stack scann...
7000
[ "From 955d1972ef0a32cf44fc27cd32d055a7ddc30fcf Mon Sep 17 00:00:00 2001\nFrom: Clemens Backes <clemensb@chromium.org>\nDate: Wed, 21 Feb 2024 15:14:49 +0100\nSubject: [PATCH] [wasm] Ensure empty safepoints for protected instructions\n\nProtected instructions do not emit a safepoint, except in debug code.\nHence we ...
v8__325878101
v8
325878101
hwiwonlee/v8.x86_64:325878101
/src/v8
out/x64.debug/d8
--wasm-wrapper-tiering-budget=1
[ "src/runtime/runtime-wasm.cc" ]
[ "src/runtime" ]
Type confusion
DCHECK
In Runtime_TierUpWasmToJSWrapper (src/runtime/runtime-wasm.cc), when tiering up a wasm-to-JS wrapper triggered by a call_indirect instruction, the code iterates over all entries in the instance's dispatch_tables array to locate the table containing the function reference. However, the dispatch_tables ProtectedFixedArra...
12000
[ "diff --git a/src/runtime/runtime-wasm.cc b/src/runtime/runtime-wasm.cc\nindex 4bfda038b9..bac78edc05 100644\n--- a/src/runtime/runtime-wasm.cc\n+++ b/src/runtime/runtime-wasm.cc\n@@ -612,6 +612,7 @@ RUNTIME_FUNCTION(Runtime_TierUpWasmToJSWrapper) {\n int table_count = trusted_data->dispatch_tables()->length();...
v8__325893559
v8
325893559
hwiwonlee/v8.x86_64:325893559
/src/v8
out/x64.debug/d8
--wasm-wrapper-tiering-budget=1
[ "src/runtime/runtime-wasm.cc" ]
[ "src/runtime" ]
Out-of-bounds read
DCHECK
An out-of-bounds read vulnerability exists in V8's WebAssembly tier-up logic inside Runtime_TierUpWasmToJSWrapper (src/runtime/runtime-wasm.cc). When a Wasm module uses the generic wasm-to-js wrapper and an indirect function call triggers tier-up, the runtime iterates over all WasmDispatchTables to locate the entry mat...
12000
[ "From 7330f46163e8a2c10a3d40ecbf554656f0ac55e8 Mon Sep 17 00:00:00 2001\nFrom: Andreas Haas <ahaas@chromium.org>\nDate: Tue, 20 Feb 2024 16:27:22 +0100\nSubject: [PATCH] [wasm] Add bounds check in tier-up of wasm-to-js wrapper\n\nThe entry index in the WasmApiFunctionRef was used to look for the given\nWasmApiFunct...
v8__327740539
v8
327740539
hwiwonlee/v8.x86_64:327740539
/src/v8
out/x64.asan/d8
--allow-natives-syntax --fuzzing --stress-background-compile --parallel-compile-tasks-for-lazy
[ "src/ast/scopes.cc" ]
[ "src/ast" ]
Type confusion
RUNTIME_CRASH
A type confusion vulnerability exists in V8's background compilation path due to an unsafe cross-thread handle dereference in Scope::NewHomeObjectVariableProxy (src/ast/scopes.cc). When background compilation (via BackgroundCompileTask/LazyCompileDispatcher) lazily parses a function that contains a super property expre...
15000
[ "From 8f477f936c9b9e6b4c9f35a8ccc5e65bd4cb7f4e Mon Sep 17 00:00:00 2001\nFrom: Shu-yu Guo <syg@chromium.org>\nDate: Thu, 7 Mar 2024 14:55:28 -0800\nSubject: [PATCH] [parser] Fix home object proxy to work off-thread\nMIME-Version: 1.0\nContent-Type: text/plain; charset=UTF-8\nContent-Transfer-Encoding: 8bit\n\nBecau...
v8__329130358
v8
329130358
hwiwonlee/v8.x86_64:329130358
/src/v8
out/x64.debug/d8
--expose-gc --jit-fuzzing --wasm-staging
[ "src/objects/objects-body-descriptors-inl.h" ]
[ "src/objects" ]
Use-after-free
RUNTIME_CRASH
A use-after-free vulnerability exists in V8's WasmInternalFunction GC body descriptor. WasmInternalFunction::BodyDescriptor::IterateBody() in src/objects/objects-body-descriptors-inl.h does not call IterateCodePointer for the 'code' field (an IndirectPointer<Code> at kCodeOffset = kEndOfStrongFieldsOffset, outside the ...
7000
[ "From b93975a48c722c2e5fe9b39437738eb2e23dac74 Mon Sep 17 00:00:00 2001\nFrom: Andreas Haas <ahaas@chromium.org>\nDate: Mon, 18 Mar 2024 15:25:15 +0100\nSubject: [PATCH] [wasm][gc] Scan the code field of the WasmInternalFunction\n\nThe code field in the WasmInternalFunction is a code pointer since\nhttps://crrev.co...
v8__332081797
v8
332081797
hwiwonlee/v8.x86_64:332081797
/src/v8
out/x64.asan/d8
--experimental-wasm-exnref --allow-natives-syntax
[ "src/wasm/constant-expression-interface.cc", "src/wasm/baseline/liftoff-compiler.cc" ]
[ "src/wasm", "src/wasm/baseline" ]
Type confusion
DCHECK
A type confusion vulnerability exists in V8's WebAssembly exception handling due to an inconsistency in how the null value is represented for the `kWasmNullExnRef` type. In `DefaultValueForType` within `src/wasm/constant-expression-interface.cc`, when initializing default values for `kRefNull`-kinded types, the conditi...
11500
[ "From cf03d55db2a0b7c5ff62e08ff5ad52312f6da0b4 Mon Sep 17 00:00:00 2001\nFrom: Thibaud Michaud <thibaudm@chromium.org>\nDate: Wed, 10 Apr 2024 19:36:55 +0200\nSubject: [PATCH] [wasm][exnref] Fix default value for null exnref\n\nR=manoskouk@chromium.org\n\nBug: 332081797\nChange-Id: Ied777935946c880a78e2011040a4d9ab...
v8__334120897
v8
334120897
hwiwonlee/v8.x86_64:334120897
/src/v8
out/x64.release/d8
--sandbox-testing --no-wasm-bounds-checks
[ "src/wasm/wasm-objects.tq", "src/compiler/wasm-compiler.cc" ]
[ "src/wasm", "src/compiler" ]
Sandbox bypass
SANDBOX_VIOLATION
"A sandbox bypass vulnerability exists in V8's WebAssembly implementation due to a security boundary(...TRUNCATED)
6000
["diff --git a/.gitignore b/.gitignore\nindex b4c6ec19d5c..8140af60a0f 100644\n--- a/.gitignore\n+++(...TRUNCATED)
v8__336009921
v8
336009921
hwiwonlee/v8.x86_64:336009921
/src/v8
out/x64.release/d8
--sandbox-testing
[ "src/wasm/wrappers.cc" ]
[ "src/wasm" ]
Type confusion
SANDBOX_VIOLATION
"The V8 JS-to-Wasm wrapper mechanism lacks a runtime signature verification between the wrapper code(...TRUNCATED)
5000
["From e25efe6cf28b8a7dfc6de89ac16fd2a77f5e281d Mon Sep 17 00:00:00 2001\nFrom: Jakob Kummerow <jkum(...TRUNCATED)
End of preview. Expand in Data Studio

SEC-bench-Pro

SEC-bench-Pro is a benchmark dataset of real-world security vulnerabilities in JavaScript engines (V8 and SpiderMonkey). Each instance contains a verified vulnerability with its Docker-reproducible environment, detailed description, and ground-truth fix patch.

Dataset Summary

  • Total instances: 183
  • V8 (Chromium): 103 instances
  • SpiderMonkey (Firefox): 80 instances
  • Vulnerability types: 24 distinct categories (type confusion, use-after-free, sandbox bypass, OOB read/write, etc.)

Data Instances

Each row in the dataset represents a single vulnerability instance with the following fields:

Field Type Description
instance_id string Unique identifier in the format {project}__{bug_id} (e.g., v8__446124893, sm__1968423).
project string Target project: v8, sm (SpiderMonkey), etc.
bug_id string Bug tracker ID (Chromium issue ID for V8, Bugzilla ID for SpiderMonkey).
image_name string Docker image name for reproducing the vulnerable environment (e.g., hwiwonlee/v8.x86_64:446124893).
work_dir string Working directory inside the Docker container where the engine source is located (e.g., /src/v8, /src/gecko-dev).
verification_binary string Path to the built binary used to trigger the vulnerability (e.g., out/x64.asan/d8, /out/js).
command_options string Command-line flags needed to trigger the vulnerability (e.g., --allow-natives-syntax --experimental-wasm-exnref). May be empty.
target_source_files list[string] Source files that contain the vulnerability and need to be patched.
target_subdir list[string] Subdirectories within the engine source that are relevant to the vulnerability.
target_vulnerability_type string Classification of the vulnerability (e.g., Type confusion, Use-after-free, Out-of-bounds write).
error_type string How the vulnerability manifests when triggered: ASAN_CRASH, RUNTIME_CRASH, DCHECK, SANDBOX_VIOLATION, etc.
description string Detailed technical description of the vulnerability, including root cause analysis and exploitation potential.
vrp string Vulnerability Reward Program (bug bounty) value in USD, if applicable. Empty string or "none" if not awarded.
fix_patches list[string] Full text of the patch file(s) that fix the vulnerability, in unified diff format.

Usage

from datasets import load_dataset

# Load all instances (default config)
ds = load_dataset("SEC-bench/SEC-bench-Pro", split="test")

# Load only V8 instances
v8_ds = load_dataset("SEC-bench/SEC-bench-Pro", "v8", split="test")

# Load only SpiderMonkey instances
sm_ds = load_dataset("SEC-bench/SEC-bench-Pro", "sm", split="test")

# Filter by project
v8_only = ds.filter(lambda x: x["project"] == "v8")

# Filter by vulnerability type
type_confusion = ds.filter(lambda x: x["target_vulnerability_type"] == "Type confusion")

Citation

If you use this dataset, please cite:

@misc{lee2026secbenchprolanguagemodels,
      title={{SEC-bench Pro: Can Language Models Solve Long-Horizon Software Security Tasks?}}, 
      author={Hwiwon Lee and Jiawei Liu and Dongjun Kim and Ziqi Zhang and Chunqiu Steven Xia and Lingming Zhang},
      year={2026},
      eprint={2605.26548},
      archivePrefix={arXiv},
      primaryClass={cs.CR},
      url={https://arxiv.org/abs/2605.26548}, 
}
Downloads last month
-

Paper for SEC-bench/SEC-bench-Pro