Workspace IndexKnowledge Notes › Oracle manipulation — a flash loan rewrites the price for one block

#229PoC

Oracle manipulation — a flash loan rewrites the price for one block

A protocol that reads price from a spot AMM can be fooled by a flash loan that moves that pool within a single transaction, the mechanism behind a long list of DeFi drains.

Not yet scoped.

Why

The PoC executes a flash-loan price manipulation on a local fork and then shows a TWAP or Chainlink feed resisting it — the difference between a spot read and a manipulation-resistant one.

How it works

Not yet built.

Where it lands in Jayverse

  • Verex: never resolve or liquidate off a raw spot AMM read. Require a TWAP or an external feed with a minimum window for any market or collateral value; treat a spot read as a UI number only, never a settlement input.
  • Auditor: add "can this value move within one transaction via flash loan" as a standing check. Apply it to every price-dependent function across Verex and DeFi, and record which feed or TWAP defends each one.

Key expressions

Words and phrases from this page worth keeping, with the Korean meaning and the sentence they come from.

Expression뜻 · 쓰이는 자리
rewrite the price가격을 다시 써버리다(왜곡시키다) · 플래시론으로 순간적으로 시세를 조작할 때. "a flash loan rewrites the price for one block"
the mechanism behind~의 배후 메커니즘 · 여러 사고의 공통 원인을 가리킬 때. "the mechanism behind a long list of DeFi drains"
a long list of길게 늘어선·수많은 · 비슷한 사례가 아주 많을 때. "a long list of DeFi drains"
resist (manipulation)(조작에) 저항하다·버텨내다 · 안전한 오라클이 공격을 견뎌낼 때. "a TWAP or Chainlink feed resisting it"
spot read즉시 시세 조회(순간 가격을 그대로 읽는 방식) · 조작에 취약한 가격 참조 방식. "the difference between a spot read and a manipulation-resistant one"
TWAP시간가중평균가격(Time-Weighted Average Price) · 단발성 스팟 가격 대신 조작에 강한 오라클 정산 방식. "a TWAP or Chainlink feed resisting it"

← All Knowledge Notes · Workspace Index · Top ↑

오라클 조작 — 플래시 론이 한 블록 동안 가격을 다시 쓴다

현물 AMM에서 가격을 읽는 프로토콜은 단일 트랜잭션 안에서 그 풀을 움직이는 플래시 론에 속을 수 있으며, 이는 긴 DeFi 유출 목록 뒤의 메커니즘입니다.

아직 범위 미정.

이 PoC는 로컬 포크에서 플래시 론 가격 조작을 실행한 뒤 TWAP나 Chainlink 피드가 이를 견디는 것을 보입니다 — 현물 읽기와 조작 저항 읽기의 차이입니다.

동작 방식

아직 만들지 않음.

Jayverse에서의 위치

  • Verex: 원시 spot AMM 값으로 정산하거나 청산하지 않는다. 마켓이나 담보 가치에는 최소 윈도우를 가진 TWAP나 외부 피드를 요구하고, spot 값은 UI 표시용일 뿐 정산 입력으로 쓰지 않는다.
  • Auditor: "이 값이 플래시론으로 한 트랜잭션 안에서 움직일 수 있는가"를 상시 점검 항목으로 추가한다. Verex와 DeFi 전반의 가격 의존 함수마다 적용하고, 각각을 어떤 피드나 TWAP이 방어하는지 기록한다.

핵심 표현

이 페이지의 영어 본문에서 배울 만한 단어와 표현, 뜻과 나온 자리.

Expression뜻 · 쓰이는 자리
rewrite the price가격을 다시 써버리다(왜곡시키다) · 플래시론으로 순간적으로 시세를 조작할 때. "a flash loan rewrites the price for one block"
the mechanism behind~의 배후 메커니즘 · 여러 사고의 공통 원인을 가리킬 때. "the mechanism behind a long list of DeFi drains"
a long list of길게 늘어선·수많은 · 비슷한 사례가 아주 많을 때. "a long list of DeFi drains"
resist (manipulation)(조작에) 저항하다·버텨내다 · 안전한 오라클이 공격을 견뎌낼 때. "a TWAP or Chainlink feed resisting it"
spot read즉시 시세 조회(순간 가격을 그대로 읽는 방식) · 조작에 취약한 가격 참조 방식. "the difference between a spot read and a manipulation-resistant one"
TWAP시간가중평균가격(Time-Weighted Average Price) · 단발성 스팟 가격 대신 조작에 강한 오라클 정산 방식. "a TWAP or Chainlink feed resisting it"

← 전체 기술 노트 · 워크스페이스 인덱스 · 맨 위 ↑