SELI Auditor BF16
SELI Solidity audit artifact.
Variant
Merged BF16 Hugging Face model. This variant contains the seed adapter plus the local SELI fine-tune merged into the Qwen2.5-Coder base.
Training stack:
Qwen/Qwen2.5-Coder-7B-Instruct
-> merge seed adapter: jhsu12/solidity-vulnerability-detector
-> train local SELI LoRA on audit dataset
-> merge local SELI LoRA
-> artifact: BF16 safetensors model
Use this variant for highest quality Transformers/vLLM/SGLang serving when VRAM allows.
Base And Fine-Tune Stack
- Base model:
Qwen/Qwen2.5-Coder-7B-Instruct - HF card base model:
Qwen/Qwen2.5-Coder-7B-Instruct - Seed adapter:
jhsu12/solidity-vulnerability-detector - Local fine-tune:
SELI audit dataset - Artifact:
merged BF16 model - Created:
2026-05-14 01:52:51 UTC
Training Data Coverage
Counts below are computed from the context-filtered Qwen2.5-Coder training files available during upload.
| Metric | Value |
|---|---|
| Raw JSONL rows | 4072 |
| Context-filtered rows used | 3441 |
| Rows dropped for context overflow | 631 |
| Max training context | 4096 tokens |
| Named bug shapes | 95 |
| Shape mentions | 570 |
| Coverage axes | 111 |
| Proof gates | 69 |
| Bypass-hypothesis rows | 570 |
| Line-label rows | 570 |
Strong Shape Families
solidity: 3204access-control: 3106amm: 3095accounting: 2571decompiler: 2504reentrancy: 2481oracle: 2299upgradeability: 2112foundry: 1967money-flow: 1832flashloan: 1786economic-model: 1664signature: 1554defi-hacks: 1383constructor-plane: 1187fork-poc: 1168incident-reconstruction: 1168multi-tx-window: 1113ast-ir: 700proof-gates: 591line-level: 570regression: 570tool-use: 562bridge-trust-config: 541
Source Families
historical_poc_foundry: 789defihacklabs_incident_index: 594curated_line_level_regression_suite: 570local_skill_archive: 499static_tool_artifact: 496local_skill: 192curated_vulnerable_contracts: 143foundry_vulnerability_labs: 54taxonomy_and_testcases: 36ctf_training: 23incident_intel_feed: 4curated_regression: 4audit_finding_dataset: 3contest_judging_guidelines: 2decompiler_tooling: 2security_standard: 2incident_database: 2audit_model_adapter_index: 1static_analyzer_json_schema: 1curated_vulnerability_dataset: 1
Named Shape Coverage
| Shape | Count |
|---|---|
epoch snapshot reward shared-pool reentrancy |
6 |
read-only reentrancy shared-pool price cache |
6 |
entrypoint asymmetry |
6 |
shared-escrow partial claim clear |
6 |
delegated operator shared-pool reentrancy |
6 |
emergency-withdraw shared-pool accounting bypass |
6 |
cross-domain auth |
6 |
shared ETH refund nonce callback |
6 |
nested multicall deferred settlement shared-pool reentrancy |
6 |
stale liability cache shared-pool accounting |
6 |
liquidation callback shared collateral |
6 |
stale oracle |
6 |
async bridge finalize shared-escrow reentrancy |
6 |
arbitrary call allowance drain |
6 |
whitelist trycatch token callback shared-pool reentrancy |
6 |
Foundry invariant proof |
6 |
ZK public input binding |
6 |
Merkle replay |
6 |
multicall deferred-settlement shared-pool reentrancy |
6 |
approval callback claim reuse shared-pool reentrancy |
6 |
signed delta cast |
6 |
referral MLM shared reward-pool reentrancy |
6 |
Heimdall decompiled CFG |
6 |
ERC4626 share inflation |
6 |
router liquidity delta shared-pool reentrancy |
6 |
AST IR state mapping |
6 |
governance flashloan |
6 |
proxy storage collision |
6 |
read-only reentrancy |
6 |
ERC1155 receiver shared-pool reentrancy |
6 |
cross-contract guard-domain shared-pool reentrancy |
6 |
router balance-sweep shared-pool reentrancy |
6 |
rescue sweep alias shared-pool bypass |
6 |
shared-pool reentrancy two-user harness |
6 |
static analyzer false negative |
6 |
selector ambiguity |
6 |
multi-asset basket partial-settle shared-pool reentrancy |
6 |
EIP-7702 delegated EOA bypass |
6 |
cross-function reentrancy |
6 |
cooldown alias shared-pool reentrancy |
6 |
liquidation shared collateral reentrancy |
6 |
queued-claim reentrancy delete-after-transfer |
6 |
NFT callback reentrancy |
6 |
slippage/mep |
6 |
nominal LP accounting shared-pool bypass |
6 |
Proof-Gated Audit Behaviors
SOURCE_AVAILABILITY_CHECK: 570MANUAL_REVIEW_PACKET: 570STATE_WRITER_READER_TABLE: 570FALSE_POSITIVE_CONTROLS: 570MONEY_FLOW_GRAPH: 396PATH_PROFIT_SWEEP: 396CALL_FLOW_TRACE: 330TWO_USER_SHARED_POOL_POC: 288SUM_CLAIMS_LTE_ASSETS_INVARIANT: 288FOUNDRY_POC: 144FOUNDRY_TRACE: 144BRANCH_BYPASS_MATRIX: 120RECEIVER_HOOK_TRACE: 48TOKENIZED_POSITION_CLAIM_BURN_CHECK: 48BALANCE_DELTA_PARITY_CHECK: 42ALLOWANCE_SIDE_EFFECT_TRACE: 30CLAIM_CONSUMPTION_BEFORE_APPROVAL_CHECK: 30LOCK_SCOPE_MATRIX: 30MULTI_ENTRYPOINT_REENTRANCY_POC: 30LIQUIDATION_COMMIT_ORDER_CHECK: 24BORROWER_DEBT_COLLATERAL_INVARIANT: 24PER_USER_CLAIM_CLOSE_BEFORE_CALLBACK_CHECK: 24PREDICATE_SPECIFIC_CEI_TRACE: 24MESSAGE_CONSUMPTION_BEFORE_PAYOUT_CHECK: 18
Coverage Axes
line_level_evidence: 570invariant_binding: 570near_miss_control: 570asset_liability_delta: 378shared_pool_claims: 378rounding_and_donation: 378two_user_harness: 288victim_backing: 288sum_claims_lte_assets: 288per_user_claim_invalidation: 288self_reentry: 276cross_function_reentry: 276post_callback_state_write: 276authority_source: 120downstream_identity: 120nonce_domain_binding: 120receiver_hook_reachability: 48tokenized_claim_burn_order: 48batch_id_reordering: 48staleness: 42same_tx_manipulation: 42liquidity_depth: 42source_domain: 30message_nonce: 30
Minimal Usage
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "0xtoshi/seli_auditor-BF16"
tok = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="bfloat16",
device_map="auto",
trust_remote_code=True,
)
Intended Use
Authorized smart-contract security review, local regression testing, PoC planning in owned/authorized scopes, audit triage, and invariant-focused code review. The dataset is intentionally proof-gated around finding classes such as shared-pool reentrancy, callback ordering, money-flow drift, AST/IR mapping, decompiler parity, transfer parity, stale accounting, bridge replay, oracle manipulation, access-control bypass, proxy/storage collision, and Foundry proof construction.
This repository was uploaded by seli.sh.
- Downloads last month
- 28