---
id: 5692
title: "Becoming a millionaire, 0.000150 BTC at a time"
source_domain: osec.io
source_url: "https://osec.io/blog/spl-swap-rounding/"
published_at: "2022-04-26T00:00:00Z"
tags: ["defi", "vulnerability", "solana", "rounding", "spl-token-swap", "arbitrage"]
phying_url: "https://phying.com/item/5692"
lang: en
---

# Becoming a millionaire, 0.000150 BTC at a time

## Summary

OtterSec found a rounding issue in the Solana Program Library's stable swap, letting attackers extract one token per instruction across pools worth over $700M in combined value.

## Intelligence Metadata

- **Sources:** osec.io
- **Published:** 2022-04-26T00:00:00Z
- **Original:** https://osec.io/blog/spl-swap-rounding/
- **Phying News:** https://phying.com/item/5692
