BLS12-381 signature aggregation
TypeScript library for BLS signature aggregation on the BLS12-381 curve, used in production at TeleSwap.
TeleportDAO/classic-bls12-382 ↗Senior Blockchain Engineer
I build systems that hold and move value: exchange wallet infrastructure, MPC/TSS custody, a Bitcoin to EVM bridge, and the cryptography underneath them. Security runs through all of it, from audit remediation and exploit reproduction to threshold key recovery. Now I also build benchmarks that test AI coding agents on real blockchain bugs.
AI research and training company · turing.com
Cryptocurrency exchange, 2M+ users · cointr.com
Bitcoin to EVM bridge · teleswap.xyz
Bitcoin price prediction market on BNB Chain
Blockchain lab at Sharif University of Technology
TypeScript library for BLS signature aggregation on the BLS12-381 curve, used in production at TeleSwap.
TeleportDAO/classic-bls12-382 ↗Private transfers on Sepolia: a Circom circuit, a Solidity Groth16 verifier, a subgraph and a browser client that proves in the browser.
mahdiidarabi/zcash-pour-contracts ↗Solutions and exploit walkthroughs for the BuidlGuidl Solidity capture-the-flag challenges, with a write-up on Medium.
mahdiidarabi/ctf-buidl-guidl ↗Reproduced the SKP/USDT drain on BNB Chain (about $212K) in Foundry. My pull request was merged into DeFiHackLabs.
Merged PR #1040 · SunWeb3Sec/DeFiHackLabs ↗ My fork: mahdiidarabi/DeFiHackLabs ↗Go implementation of the key-recovery attack from arXiv:2504.13737: recovers a private key when two signatures use related nonces (reuse, counters, or affine k2 = a·k1 + b), for ECDSA on secp256k1 and EdDSA.
mahdiidarabi/ecdsa-affine ↗My fork of binance/tss-lib that adds a distributed key-recovery module, so a T-of-N quorum can recover keys for threshold ECDSA and EdDSA wallets.
mahdiidarabi/tss-lib ↗Solidity contracts for an NFT factory and marketplace, the pattern behind the NFT reward contracts I built at TotemFi.
mahdiidarabi/nft-factory ↗Research and technical writing on zero knowledge, on-chain identity, Bitcoin, bridges and smart contract security, on arXiv, Medium, Coinmonks and the TeleSwap blog. Profile: Medium ↗
The fastest way to reach me is email. I usually reply within a day.