depatchedmode / simplest-frame

The simplest Farcaster Frame possible
https://warpcast.com/depatchedmode/0x0dbb53c2
MIT License
104 stars 38 forks source link

feat: validate incoming URL #16

Closed depatchedmode closed 10 months ago

depatchedmode commented 10 months ago

https://warpcast.com/horsefacts.eth/0x3ad31216

This is only possible if you do not validate the incoming URL in the frame data packet. For example, Yoink no longer works in @paulcowgill’s example because I started checking.

By verifying this value you can block all cross-frame calls, allow specific origins, or allow any origin. Most frames should check the URL.