{"refreshDue":false,"initiative":{"id":"01M2K91QF23NEAFTEQ35CC0X51","slug":"onchain-risk-map-an-open-operational-incident-graph-for-ethe","title":"OKcontract: Onchain Risk Map, an Open Operational Incident Graph for Ethereum Security","summary":"Onchain Risk Map converts documented security incidents into reusable evidence for\nEthereum builders. It maps failures across software delivery, wallets, signing, account\nauthorization, infrastructure, and execution using typed relationships and explicit\nevidence confidence.\nThis grant will fund an open, versioned Ethereum dataset with at least 30 independently\nreviewed incidents, 30 defensive-control assessments, and tools for comparing failures.\nExternal use will be documented through public work products from at least six\norganizations.","details":"","discourseUrl":"","goalUsd":50000,"status":"approved","type":"grant","sortRank":null,"safeAddress":"0xBC1eaa7F9e1489cb93cF00D5552F11ad078651f3","paidOutUsd":0,"proposer":"0x3a401D1B6aB6d751cC268d1420010140dE55eE38","durationMonths":6,"recipientTeam":"OKcontract Labs","recipientUrl":"","topup":false,"milestoneReviewer":"","categories":["detection-response","research-education"],"sections":{"why":"Ethereum applications depend on interacting technical and operational systems.\nA security failure can begin in a software dependency or operator session, alter\ntransaction construction, pass through legitimate signing, and reach onchain execution.\nUnderstanding those relationships is necessary to design effective protections.\n\nHistorical incident reports contain valuable evidence, but comparing them requires\nrepeated interpretation of terminology, system boundaries, causes, and consequences.\nOnchain Risk Map will share that work through a maintained reference model and\nreproducible dataset.\nAuditors, wallet developers, projects, and incident responders will be able to find\ncomparable incidents, inspect affected trust boundaries, and assess proposed defenses.\nThe scope addresses wallet experience, smart contract security, infrastructure, and\nincident response in the Ethereum Foundation’s linked Trillion Dollar Security report.","in_scope":"1. Publish the graph specification: node and relationship semantics, incident surface\n   roles, confidence levels, and primary-cause assessment rules.\n   Include JSON schemas, TypeScript interfaces, migration guidance, and examples.\n   Distinguish architectural relationships, observed incident relationships, and analyst\n   hypotheses.\n2. Strengthen provenance and incident identity.\n   Attach references and review rationale to individual surface, relationship, and cause\n   assertions. Record reviewer identities, dates, disagreements, and corrections.\n   Normalize chain identifiers and support multiple transactions per incident.\n   Separate source observations from canonical incidents to prevent duplicate incident\n   counts and loss totals.\n3. Publish a reviewed Ethereum L1 and L2 corpus spanning contract exploitation, signing\n   deception, supply-chain compromise, governance, custody, bridges, and delegated\n   authorization. Publish selection criteria and coverage gaps.\n   Preserve unknown and disputed findings.\n4. Assess defensive controls, including transaction verification, restricted delegation,\n   release integrity, independent approval channels, and upgrade restrictions.\n   Record enforcement location, assumptions, and whether each control prevents, detects,\n   or limits the failure mechanism.\n   Separate demonstrated protection from hypothetical applicability.\n5. Release downloadable datasets, a query CLI, executable examples, and a small\n   reference viewer. Publish mappings to [OAK identifiers](https://onchainattack.org/)\n   and a field-level\n   [STIX 2.1](https://docs.oasis-open.org/cti/stix/v2.1/os/stix-v2.1-os.html)\n   compatibility note, including unmapped fields.\n   Link available upstream exploit reproductions.\n   Include machine-readable query outputs for defensive AI-agent workflows.\n6. Recruit external users, support use in their work, and compare source-only and\n   graph-assisted workflows.\n   The grant covers onboarding, workflow support, evaluation design, and public evidence\n   collection. Publish completion time, factual errors, missing evidence, and feedback,\n   including neutral or adverse results.\n\nThe planning budget is $42,000 for 7 person-months at $6,000, $6,000 for independent\nincident review and technical verification, and $2,000 for hosting and releases.\nMilestone allocations are: specification, $9,000 labor, $2,000 review, $1,000\noperations; corpus and tools, $9,000 labor, $3,000 review; viewer and handoff, $8,000\nlabor, $1,000 operations; adoption, $16,000 labor and $1,000 evidence verification.\nThese are planning allowances.","out_scope":"Exhaustive incident coverage, live monitoring, emergency response, newly developed\nexploit reproductions, and standalone commercial protocol audits are excluded.\nHistorical frequency and recorded losses will not be presented as calibrated\nprobabilities of future compromise.\nConfidential incident material and upstream content without redistribution permission\nare excluded from public downloads.","team":"OKcontract Labs initiated the project and owns the existing package.\nProposed responsibilities and person-month allocations are:\n\n- Ida Swarczewskaja, proposer and project manager: coordination, user research, and\n  external adoption, 2 person-months.\n  OKcontract Labs co-founder, previously Head of UX/UI at Mirakl.\n  [Track record](https://www.oreilly.com/library/view/opa-up-and/9781449328849/author_bios.html).\n- Shahaf Nacson, security contributor: incident analysis, account authorization, and\n  control assessment, 2 person-months.\n  Co-author of ERC-4337, formerly with the Ethereum Foundation.\n  [Track record](https://eips.ethereum.org/EIPS/eip-4337).\n- Henri Binsztok, technical lead: schemas, tooling, and releases, 1\n  person-months. OKcontract Labs co-founder, previously at WALLIX.\n  [Track record](https://github.com/wallix/awless/blob/master/README.md).\n- Anonymous contributor, former academic researcher, 1 person-month.\n\nNo external funding for this scope has been reported.\nNo previously funded milestone or companion-project cost is included in this request.\nThe team will benefit from using the dataset in its own security tooling; that internal\nuse is excluded from adoption counts.","why_grant":"The [public preview](https://map.okcontract.com) provides the starting point.\nOKcontract Labs’ existing package includes typed topology definitions, incident\nannotations, source snapshots, explicit merge and exclusion decisions, catalog\nvalidation, and deterministic generators.\nThe source package is currently private.\n\nThe grant pays for publication, stronger provenance, independent review, and external\nuse. Completed prototype work is excluded from the budget.\nA from-scratch build would also need to create the existing model, catalog, and\ngenerators. The first milestone makes these foundations publicly inspectable through a\nversioned source release.","commitments":"- Tooling will use Apache-2.0. Project-owned database material will use CC BY-SA 4.0.\n  Upstream terms and exclusions will be documented separately.\n- Each canonical case will receive independent assessments from at least two external\n  reviewers. Public records will retain original assessments, reconciliation decisions,\n  and unresolved disagreements.\n- The six-month targets are at least 30 reviewed incidents, 30 control assessments, six\n  external adopting organizations, three comparative evaluations, and two external audit\n  work products using the map.\n- Henri Binsztok, through OKcontract Labs, will maintain releases and corrections for at\n  least 12 months after the final milestone, with at least two maintainer-days per month\n  funded from OKcontract Labs’ operating budget.\n  The dataset supports the team’s automated audit work.\n  Further corpus expansion will require sponsorship or new funding."},"milestones":[{"name":"Specification and first reviewed cases (months 1-2)","amount":12000,"adoption":false,"done":false,"link":"","month":"","criteria":["A public tagged source release contains the graph specification, JSON schemas, TypeScript interfaces, migration guidance, and worked examples. Public automated build checks pass for incident identity, required claim references, review metadata, relationship types, and reproducible generation against","A public dataset release contains at least 10 independently reviewed canonical incidents, with source references and review records."]},{"name":"Reviewed corpus, controls and tools (months 3-4)","amount":12000,"adoption":false,"done":false,"link":"","month":"","criteria":["The public corpus contains at least 30 independently reviewed canonical incidents, cumulatively, with a published selection rationale and coverage-gap register.","A public reviewer-agreement report includes the measurement method, original assessments, reconciliations, and unresolved findings for the released corpus.","At least 30 control assessments are published with enforcement location, assumptions, failure mechanism, and evidence status.","A public CLI release includes executable analysis examples, OAK mappings, and a field-level STIX 2.1 compatibility note; its documented examples pass public automated build checks.","At least one external technical review report is published, covering incident deduplication, claim provenance, review completeness, and catalog validation."]},{"name":"Reference viewer and handoff (months 5-6)","amount":9000,"adoption":false,"done":false,"link":"","month":"","criteria":["A public reference viewer exposes incidents, relationships, control assessments, and supporting references from a tagged dataset release.","Public documentation describes installation, queries, contribution review, corrections, and license boundaries.","Every finding in the external technical review has a public disposition linked to a fix or documented rationale."]},{"name":"External use and evaluation (months 5-6)","amount":17000,"adoption":true,"done":false,"link":"","month":"","criteria":["At least six independent external organizations publish dated evidence of using the map in an actual audit (that cost more than $30,000), wallet-security review  (that cost more than $30,000), or incident investigation  (of losses exceeding $200,000), identifying the dataset version and resulting work product.","At least three adopting organizations publish comparative evaluations, collectively covering wallet development, auditing, and incident response, with task descriptions, completion time, factual errors, missing evidence, and feedback.","At least two external audit work products publicly identify incident mappings or control assessments used in their analysis, with confirmation from the auditing organization.","A public adoption register links each counted organization to evidence on its own website or repository. It counts each organization once and excludes recipient affiliates, project staff, duplicate identities, demonstrations, automated accounts, and paid endorsements."]}],"links":["https://map.okcontract.com","https://github.com/okcontract","https://ethereum.org/reports/trillion-dollar-security/","https://onchainattack.org/"],"structured":true,"revision":3,"createdAt":1789500906.978,"approvedAt":1790245496.801},"revisions":[{"n":1,"author":"0x3a401D1B6aB6d751cC268d1420010140dE55eE38","source":"submit","archived":false,"state":"live","createdAt":1789500906.978},{"n":2,"author":"0x839395e20bbB182fa440d08F850E6c7A8f6F0780","source":"admin","archived":false,"state":"live","createdAt":1790245234.037},{"n":3,"author":"0x7767FB920338eED6Fe68A4d7C411f84a3F24f20c","source":"admin","archived":false,"state":"live","createdAt":1794558805.969}],"summary":{"pledged":13500,"received":0,"donated":0,"total":13500,"live":true,"refreshDue":false,"ledger":0,"paidOut":0},"onBallot":true,"pct":27,"pledges":[{"id":"01M63YBE9J6469Q8B25M1C3EQF","company":"OKcontract","amountUsd":10000,"status":"pledged","note":"","url":"https://okcontract.com/","logoUrl":"https://ipfs.blossom.software/ipfs/bafkreiadwi55j7zsp2b65mujybiy4hjm4raqfhvvy3ps63ibswtc4w4zp4","createdAt":1793281341.746},{"id":"01M7M5MTD27R6TVVGM5RZ1F73D","company":"Securosys","amountUsd":3000,"status":"pledged","note":"","url":"","logoUrl":"","createdAt":1794899601.826},{"id":"01M7Q0X31NJT91N23Q0S4BTAK3","company":"DeFiScan","amountUsd":500,"status":"pledged","note":"","url":"https://www.defiscan.info/","logoUrl":"","createdAt":1794997372.509}],"donations":[],"funded":false,"donationsEnabled":true,"ledger":{"checkedAt":1795847251.833,"ok":true,"intervalMinutes":10,"refreshDue":false,"updating":false}}