Alex Cipher | Smart Contract Security · Vaults (@_AlexCipher) header
Alex Cipher | Smart Contract Security · Vaults (@_AlexCipher) profile picture

Smart contract security researcher. I review DeFi vaults for the bugs that leak or miscount funds. Verified findings on Code4rena. DMs open.

My past work ➡️
Joined June 2026
Good teams still have blind spots. When you've been staring at the same codebase for months, you stop seeing it the way an attacker would. That's exactly where an external security review adds value — fresh eyes, different mental model, no assumptions about how the code 'should' work. Glad the review was useful.
We just wrapped a smart contract audit for KoinArcade — huge thanks to @_Alex_Cipher for the review. Even strong dev teams miss things: business logic edge cases, architecture risks, gas traps. A security-minded second pair of eyes isn’t optional in Web3 — it’s how you ship with confidence. Audit report is added to both footer and Links page, if you wanna check it out koinarcade.com/KoinArcade_Al…
1
2
4
327
5 Things Hurting the Security of Your Web3 Game 👇👇👇
1
32
LOW TEST COVERAGE This is still one of the most common issues I come across. If your coverage is sitting below 40%, you're barely testing your code. In most cases, you should be targeting 80%+ coverage, and ideally 90% or more. The more code you test, the fewer surprises you'll have later.
1
19
Took a look at @ApeironNFT's breeding contracts on Ronin. 0xA84a4F42C9A06b9f03646993E54e52d3B380a00F Found some things worth talking about 🧵
1
43
[M-2] There's an admin function to adjust breeding cooldown penalties. It does absolutely nothing. additionBornBaseInterval = additionBornBaseInterval; Someone forgot the underscore. The variable has been assigning itself since deployment :D
1
26
Took a look at @fableborne's PowerStaker contract on Ronin. Found a few issues worth flagging 🧵 0xe566BD31d4AB690b7455ee2B99ECf88Eb01a7366
1
28
[L-1] Off-by-one in _restake bounds check positionIndex > positions.length should be >= When index equals length exactly, the check passes and Solidity silently returns zeroed data from a memory array. Call fails eventually — but with the wrong error, making debugging a pain.
1
13
Found a vault on Base with zero TVL, anonymous deployer, and a HIGH severity finding. Buckle up.
1
1
73
The vault is a Beefy-style yield vault — you deposit LP tokens, it stakes them into a strategy, earns yield. (Contract address - Base - 0x821009ddA8471130448757550E569a7Ecdf2990a) Simple enough concept. The execution? Less simple.
1
37
I did a quick security review of @playcambria's GoldRushEnergyMarket contracts. Good news: the code is clean. A few small things worth flagging. 🧵
1
31
First — the positives, because credit is due. For a lightweight market contract this is genuinely clean. Role separation, strict payment equality, safe default state, no receive(), custom errors, abstract base pattern, no unnecessary complexity — all done right. You don't often see this many small decisions land correctly at once.
1
15
Found a freshly deployed gambling contract on Ronin. Ran a quick audit on ClaimManager.sol — the contract that holds and distributes ETH winnings for the whole platform. Found issues worth knowing about. @Quinn2992 @Qupaca777 👋 🧵
1
31
First, what the dev got right. CEI discipline is solid — state updates before external calls throughout. No reentrancy surface. TransferHelper over raw .transfer() is the correct post-EIP-1884 practice. claimAndCall is a genuinely good UX primitive — lets players apply winnings toward a new bet atomically. The security fundamentals are there.
1
14
I checked out @limitbreak's bonding curve pool contract on Ronin 🧵 0xCeFdB1d653B18D6cbBFcB5A6709cF9C64e9537E7
1
37
Scope was StandartPool.sol — not a deep audit, just ran through the core pool logic to see what's there
1
11
There's a contract sitting on ETH mainnet with 5 ETH in it called come_to_play It looks like a riddle game. Guess the answer, send >1 ETH, win the pot. You cannot win. Here's the trap 🧵
1
61
The setup looks legit: Admin calls Start() with a question and a plaintext answer — both visible in calldata on Etherscan You can literally read the answer. Looks easy money.
1
27
Audited @RonkeOnRon's RonkeArena contract on Ronin. Honestly? One of the better written on-chain game contracts I've come across. Thread on what they got right and a few things worth a look 🧵
1
34
First — what's impressive about it. The internal accounting model is clean. There's a reserved() invariant that tracks escrowed funds, accrued fees, and chest balances across every code path including aborts and rescues. That's the kind of thing that's easy to mess up. They didn't.
1
12
Spent some time going through a few @pixel_dungeons smart contracts on Ronin. Found a High severity bug I won't be posting here — DM me if you're the team. Also found a bunch of lower severity stuff worth sharing publicly. Thread 🧵
1
43
Contracts audited: PixelDungeonsShop — 0x36278457936460c0e7429AEbf1bccd5061E1d0c1 PixelDungeonsItems Both on Ronin chain. Let's get into it.
1
9
Found a live Web3 game on Abstract with fresh contracts, zero audit, and a medium severity finding. Audited @Dealerssh / @Berny0x — here's what I found.
1
101
The contract: DealersClaims — the achievement and reward distribution system for the game. (0xdBDD44758Deb81B3D88766c6a6fc439960Ea4Ba8) Deployed 3 days ago. No prior audit. Let's get into it.
1
30
I was browsing freshly verified BSC contracts earlier today. Found a dice gambling contract — DiceGame.sol — deployed yesterday. Ran a quick audit. Found a high severity bug that lets the owner rug in-flight bets. Then I traced the deployer wallet. That's where it got interesting. 🧵
1
54
Deployer: 0xff4F3CD5efeae4d18b33530234ccd7144628614E Funded by: 0x51dBd97Fa14F4D78F8Afc2E92A692a9E087Efb5C That funder address shows up in Common Prefix's post-mortem of the $4M SquidRouterModule exploit from May 25. It funded Attacker Wallet 3 — the wallet that deployed 19 fake token contracts and Uniswap V3 pools used to drain victim Safes. Full report: commonprefix.com/blog/squidr…
1
30
Web3 gaming often gets grouped together with DeFi security. Same chains, same smart contracts — but very different attack surfaces. In DeFi, attackers are usually chasing maximum profit. Think flash loans, oracle manipulation, reentrancy, and other ways to extract value from financial protocols. Web3 games deal with all of that, plus an entirely different set of risks: → Reward systems that players are heavily incentivized to exploit → Game economy mechanics that fall apart under edge cases no one considered → NFT features that create unexpected interactions across game systems → Privileged admin controls that can impact large parts of the game's state A DeFi auditor might do a great job reviewing your token or protocol contracts. But if they don't understand the underlying game design and economy, they're likely to miss the issues that can actually sink a Web3 game. The code may look similar. The threat model isn't. And the auditor should account for that.
13
Can't justify the cost of a smart contract audit? AI isn't a replacement for one, but it can be surprisingly effective when you know how to use it. Don't just ask: "Find vulnerabilities in my code." Most of the time you'll get generic findings that aren't very useful. Instead, try something like: → "What are the highest-risk attack surfaces in this contract?" → "Create a threat model for this codebase." → "Based on that threat model, what vulnerabilities could be present?" I've seen that workflow uncover real issues. GitHub Copilot, Claude, and ChatGPT can all help here when given the right direction. They're not thinking like an experienced auditor, but they can think like a curious engineer looking for ways things might break. It's free, quick, and absolutely worth doing before deployment. Just don't mistake it for an audit.
1
19
Want to improve the security of your Web3 game but can't afford an audit yet? Here's a few things you can do today without spending a cent 🧵
1
1
11
Run Slither against your contracts. It takes minutes to set up and can catch a surprising amount of common issues automatically. It's not perfect, but there's no reason not to use it.
1
3
Every blockchain comes with tradeoffs. But when it comes to security, EVM still has the strongest ecosystem. Slither, Foundry, Echidna, years of audit experience, and an enormous amount of publicly documented vulnerabilities and attack patterns. Can you build secure applications on Solana, Sui, Cardano, or other chains? Of course. Plenty of teams do. The difference is that you're often working with a smaller security ecosystem, fewer mature tools, and a more limited number of researchers who deeply understand the technology. Choosing a chain isn't just a technical or business decision — it's a security decision too. That doesn't mean EVM is always the right choice. It just means there's a much larger security foundation supporting it.
1
7
This is what a great dev team looks like. Transparent about mistakes, willing to roll back rather than push through, and building with the community not just for them. Rare in Web3 gaming.
Throughout the night, we discussed and planned with the community how to create a sustainable economy for the game. This is the reason why we made major changes to Gold. Gold Nodes are now breakable, creating a deflationary system. Island owners will receive 75 Gold for every Gold Node that is completely destroyed, creating a new resource cycle and helping balance the economy long term. Unfortunately, we also had to roll back the Realm update. While it introduced new features, it created more issues than it solved. Scalability remains one of our highest priorities, especially as we support 400–500+ concurrent players. As a result, all player progress has been rolled back to yesterday's state. This was not a decision we made lightly. Database backpressure caused items to duplicate, disappear, and behave unpredictably, which threatened the integrity of the game economy. We learned an important lesson from this that we cannot rush implementations simply because there is a demand for them. Additional gameplay adjustments: • Monk has been nerfed, especially in boss fights. • Boss encounters are intended to be team based content and should not be easily farmed solo. • Team up with other players and fight together for Shards. After discussing it with the community, we also decided not to enable $Islands as a Marketplace payment method at this time. While it seemed like a good idea initially, we do not believe it would currently benefit the chart or the long term health of the ecosystem. The Marketplace will remain USDC only until we find a sustainable solution that allows the game economy itself to organically support the growth of $Islands. With that said, the gates are open once again. See you on the Islands. 🏝️
14
Audited a batch ETH sender a while back and found a critical issue — the contract never verified that what came in matched what was supposed to go out. An attacker could essentially use funds sitting in the contract to cover their own transactions. In Web3 games this pattern shows up in reward distributions. If your payout logic doesn't verify amounts properly, it could end up shortchanged.
1
10
Trust is everything in lottery-style Web3 games. The moment players suspect the draw can be manipulated, they leave and don't come back. During a Code4rena audit on @megapot I found exactly this problem. A privileged wallet had the ability to alter draw results after they happened. Meaning a player could legitimately win, and still walk away with nothing.
1
9