A frontend should not be just code returned by a server
HashPort publishes frontends to TapeOut Circuit Containers
SiteRegistry records file paths and hashes
TapeKit then reads and verifies them
This allows users to not only see a page
But also confirm where the page comes from, whether the files match, and whether the version has changed
Verifiable frontends cannot replace audits
But they can extend the security boundary from the contract to the page users actually open and sign from
所有多签机构、DeFi 平台和 DApp 项目的团队,我在此向大家郑重地发起一个倡议:为了客户的安全,请把前端部署到 DeWEB中,让前端和合约在同一层!!
这几年最大的几次交易所被盗,问题出在了前端被篡改,签名者看到的页面已经被人换掉了。多签再多,签的是一笔假的交易,也起不到保护作用。
核心问题在于,合约在链上,前端却在服务器上。两层不在一起,中间黑客就能下手。
所以我倡议:凡是管着别人资产的项目,请把前端部署到 DeWEB 上一份。TapeOut 的 DeWEB 把网页的每一个文件连同它的哈希一起存进链上的电路容器,与合约在同一层。打开页面时,内核逐个文件核对哈希,哈希对不上文件不显示,并直接给出警告。无论是你的本机、你的网关、你的 DNS 被动了手脚,用户会看到页面被篡改。
部署DeWEB非常简单,只需要把构建好的前端上传到电路容器中,并绑定DNS,即可任何人无障碍访问。上传以后,它不依赖任何服务器,一次支付Gas部署,永远免费。
请来研究一下 TapeOut 的 DeWEB,它今天就能用。也是目前可验证前端的最佳答案。让交易所被盗的事少发生一次,让行业更安全一点。把前端和合约放在同一层,从你的项目开始。