Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
3
3
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
[ { "role": "system", "content": "You are an expert Web3 Smart Contract Auditor. Analyze the provided Solidity code snippet.\nYou MUST classify the primary finding using EXACTLY one of the following canonical categories:\n- Reentrancy\n- Arithmetic Error\n- Access Control Flaw\n- Input Validation Error\n- Fro...
End of preview. Expand in Data Studio

Solidity Audit Instruct V2 — Canonical Taxonomy

Need unseen training data? Oxford Digital publishes synthetic security-remediation and MCP tool-policy datasets (Parquet/CSV/JSONL, free 100-row previews): oxforddigitals.com/datasets · rayxxxnd@oxforddigitals.com

V2 of Offlin33er/solidity-audit-instruct with all finding labels normalized into 8 canonical classes (Reentrancy, Arithmetic Error, Access Control Flaw, Input Validation Error, Frontrunning / MEV, Denial of Service (DoS), Business Logic Violation, Clean (No Vulnerability)).

  • Split-preserving: V1's train (2,224) and test (248) rows are transformed in place — the held-out set contains identical code to V1's, so eval numbers stay comparable.
  • System prompt rewritten to enforce the closed 8-class taxonomy verbatim.
  • Mapping: exact-table + keyword rules; residual long-tail labels default to Business Logic Violation and are enumerated in taxonomy_coverage.json.
  • Source data: msc-smart-contract-auditing/audits-with-reasons (Solodit audits, MIT).

Model trained on this data: Offlin33er/qwen25-coder-7b-solidity-audit-v2 · demo Space

Known issues (self-audit, 2026-11-26)

  • Train/test overlap. The split is a random row-level split (seed 42). 43/248 test rows (17.3%) contain code identical to a train row after whitespace/comment normalisation, and 85/248 (34.3%) are near-duplicates. For evaluation, use a grouped split (cluster near-duplicate snippets, keep each cluster on one side) or report scores on the non-overlapping test rows. In our own re-split this removed all exact overlap and cut near-duplicate test rows to 4.3%.
  • Escaped code. User turns contain literal \n sequences and nested code fences (```solidity\n```\n…```). Replace \n with real newlines before training.
  • Provenance. Derived from msc-smart-contract-auditing/audits-with-reasons (Solodit audit findings, MIT). Finding types come from the original audit reports (V2/V3 map them to 8 canonical classes).
Downloads last month
136

Models trained or fine-tuned on Offlin33er/solidity-audit-instruct-v2