Workspace IndexDev Notes › XSS and CSRF — the browser trusts the wrong origin

#181PoC

XSS and CSRF — the browser trusts the wrong origin

Cross-site scripting runs attacker JavaScript in a victim's session and CSRF rides the victim's cookies to act as them; both exploit the browser's trust model, and both matter for any dapp UI.

Not yet scoped.

Why

The PoC shows a stored-XSS payload and a CSRF request, then the defenses (CSP, sanitization, SameSite, tokens) — the front-end half of security a contract audit never covers.

How it works

Not yet built.

← All Dev Notes · Workspace Index · Top ↑

XSS와 CSRF — 브라우저가 잘못된 출처를 신뢰한다

크로스사이트 스크립팅은 피해자 세션에서 공격자 자바스크립트를 실행하고 CSRF는 피해자 쿠키를 타고 그를 대신해 행동합니다. 둘 다 브라우저 신뢰 모델을 악용하며 어떤 dapp UI에도 중요합니다.

아직 범위 미정.

이 PoC는 저장형 XSS 페이로드와 CSRF 요청을 보인 뒤 방어책(CSP, 소독, SameSite, 토큰)을 보입니다 — 컨트랙트 감사가 결코 다루지 않는 보안의 프론트엔드 절반입니다.

동작 방식

아직 만들지 않음.

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