just back from DSS 2026 · Mumbai Board member · AICHIS →

I break smart contracts so they don't stay broken.

I'm Sofia Bobadilla, a PhD student at KTH in Stockholm, supervised by Martin Monperrus. I build AI agents that write proof-of-concept exploits, and I use those exploits to check whether smart contract fixes really hold.

Portrait of Sofia Bobadilla

01Writing

All posts →
Two shields, one holding a software package and one holding a bug under a magnifying glass, supported by backers
Nov 2026 · 7 min read · new

Two initiatives on TheDAO Security Fund

Reproducible builds for the 12 main Ethereum clients, and reusable security workflows for vulnerability triage. What each one does, step by step, and what you can do today to help them get funded.

funding ethereum security
Sofia presenting PoCo at ASE 2026
Nov 2026 · 3 min read

From bug report to working exploit: presenting PoCo at ASE 2026

Auditors write their findings in plain English, but nobody believes a finding without a PoC. Here's how we taught an agent to write the PoC itself, and why that matters for checking fixes.

agents exploits repair

02Research

>_ exploit

Agentic exploit generation

PoCo turns an auditor's natural-language vulnerability report into an executable Foundry proof-of-concept.

ACM TOSEM →
{ patch }

Do fixes actually fix?

We test automated repairs against real exploits to see whether they actually stop the attack.

IEEE TSE →
require()

Invariants as defense

Real attacks trace back to an invariant the contract did not enforce. Enforcing it makes the exploit revert.

arXiv 2026 →

03Tools & Datasets

GitHub →

Tools

A report page becomes a robot agent that produces a key opening a locked contract tool

PoCo

An AI agent that reads a vulnerability description written by an auditor and writes an executable proof-of-concept exploit, compiling and testing until it works.

Use it to prove that a reported bug is real, without writing the exploit by hand. The full implementation is available on request.

A turntable replaying a chain of blocks; one block is shielded, the others pass tool

PonDeReplay♪

Re-executes historical Ethereum transactions against a patched version of a contract, on the chain state from just before each transaction.

Use it to check that a fix blocks the real attack and does not break the contract for its legitimate users.

A chain of blocks forking in two, watched by an eye, with a warning over one branch tool

Fork Impact Watch

Dependabot-style alerts for Ethereum hard forks. It scans Solidity, Vyper and off-chain code for gas assumptions that an upcoming fork will break, starting with Glamsterdam.

Use it to find out before a fork activates whether your contracts, bots or relayers rely on behaviour that is about to change.

A magnifying glass over one transaction block, revealing a call tree and bar charts tool

tx_profiler

Profiles an Ethereum mainnet transaction: which contracts it touched, how deep the calls went, gas used, and how ETH and tokens moved.

Use it to compare benign and attack transactions at scale, for example in flash-loan research.

Datasets & benchmarks

Burglar tools bouncing off a shield in front of a vault door dataset + tool

sb-heists

91working exploits
143vulnerable contracts

Executable exploits for the SmartBugs-Curated contracts, with an evaluator that runs them against any patched contract.

Use it to test whether a fix from a repair tool, an LLM or a developer really stops the attack.

A cracked document next to the same document stitched up with a verification seal dataset

Proof-of-Patch

23real audit findings
23verified patches
13with a PoC

Recent vulnerabilities from Code4rena and Sherlock audits, each with the vulnerable Foundry project, a manually verified patch and links to the original report.

Use it to benchmark exploit generators and repair tools on recent, audit-grade bugs.

A gate with a scale on top: one arrow bounces back, another passes through dataset

InvariantEval

28real Ethereum attacks
108,637transactions replayed

Real exploits, each paired with a human-written invariant that blocks the attack and is validated by replaying the contract's transaction history.

Use it to evaluate invariant generators, or study which invariants would have stopped past attacks.

Seven robot arms on a test bench with ranking bars behind them benchmark

RepairComp

7repair tools compared

The full comparison of automated program repair tools for Solidity behind our TSE paper, with runnable forks of every tool.

Use it to reproduce the study, or measure a new repair tool against the same exploits.

04Talks

+ 11 earlier talks (2023 – 2026)
  • Mar 2026PoCo: Agentic PoC Exploit GenerationMigaLabs · Barcelona
  • Dec 2025Smart Contract Patches and Exploits50% PhD Seminar · KTH
  • Nov 2025From Description to Exploit: AI Agents for Smarter AuditsDSS 2025 · Buenos Airesslidesvideo
  • Sep 2025Machine Learning for Offensive CybersecuritySec-T 2025 · Stockholmvideo
  • Jun 2025Offensive Approach to Smart Contract Vulnerability FixingLedger HQ · Parisslides
  • Jun 2025Do Automated Fixes Truly Mitigate Smart Contract Exploits?Nordic Blockchain Week, Academic Workshop · Stockholmslides
  • May 202530% PhD SeminarKTH · Stockholmslides
  • Apr 2025SOBO: A Feedback Bot to Nudge Code QualityCSEE&T @ ICSE 2025 · Ottawaslides
  • Nov 2024Do Automated Fixes Truly Mitigate Smart Contract Exploits?Dwellir Q3 day · Uppsalaslides
  • Jun 2024ASSERT <3 Smart Contracts - 0ASSERT Workshop · Turkuslides
  • Oct 2023SOBO: A Feedback Bot to Nudge Code QualityEclipseCon · Ludwigsburgslidesvideo
arXiv 2026

Smart Contract Invariants Protect Against Cybercriminals

arXiv 2026

Software Supply Chain Smells: Lightweight Analysis for Secure Dependency Management

ACM TOSEM 2025

PoCo: Agentic Proof-of-Concept Exploit Generation for Smart Contracts

IEEE TSE 2025

Do Automated Fixes Truly Mitigate Smart Contract Exploits?

FSE 2025

Dirty-Waters: Detecting Software Supply Chain Smells

IEEE Software 2023

SOBO: A Feedback Bot to Nudge Code Quality in Programming Courses

IEEE S&P 2023

Challenges of Producing Software Bill of Materials for Java

SIGBOVIK 2025 – 2026 · for fun

AI Agents Decline Free Beer 🍺 but Have a Big Heart ❤  ·  UPPERCASE IS ALL YOU NEED

06About

I studied Computer Science at the University of Chile, came to KTH on exchange in 2022, and stayed. Before the PhD I built automatic feedback tools for programming courses. These days I work on Web3 security, automated program repair and software supply chains, and I teach a lot.

Education

  • 2024 – nowPhD in Computer ScienceKTH Royal Institute of Technology · supervised by Martin Monperrus
  • 2022Exchange studentKTH Royal Institute of Technology
  • 2017 – 2024Civil Engineering in Computer ScienceUniversity of Chile, Santiago

Experience

  • 2026 – nowBoard Member, AICHISAssociation of Chilean Researchers in Sweden
  • 2024 – nowTeaching Assistant, KTHSoftware Engineering Fundamentals, DevOps, Algorithms & Data Structures, Parallel Programming, Programmable Society
  • 2022 – 2023Research Engineer, KTH TCSAutomatic feedback generation for programming courses
  • 2022Lecturer, Hyper IslandIntroduction to Python
  • 2022Research Assistant, KTH TCSTheoretical computer science
  • 2021TA, Universidad de Chile · Intern, Snow ConsultingSoftware engineering courses · software development
Community

Board Member, AICHIS · 2026

AICHIS is the Association of Chilean Researchers in Sweden: a community of Chilean researchers living and working here, building bridges between Chile and Sweden. Its flagship project, Explora Nobel, brings high-school students from Chile to Sweden for Nobel Prize Week.

Solidity Foundry Hardhat Slither Echidna Recon crewai Claude Code

07Students

DiVA →

Master's theses I have supervised or co-supervised at KTH.

Current

Completed

08Friends

ASSERT group →

People I work with and learn from. Their pages are worth a visit.