AI 让黑客成本暴跌,Web3 安全怎么守?
节目:《OKX 的朋友们》(OKX中文)· 主持:佳佳 · 嘉宾:周亚金(香港中文大学副教授、BlockSec 联合创始人)· 时长:约 30 分钟 · 2026-11-20 发布
来源:用户分享的 OKX中文 X 视频帖;X 版无字幕,本纪要据 YouTube 同期版(OKX中文频道)官方中文字幕整理。说法与数字均为嘉宾现场口径,未经核实。
一句话
AI 把攻击的成本打到了只剩 token 钱:过去只有高价值目标才值得黑客花心思,如今 100 个 Agent 可以 7×24 自动完成情报收集、漏洞扫描、写利用代码、发起攻击和链上洗钱全流程——行业到了「为以前的安全还债」的时候,防守也只能用 AI 对 AI,但防守 AI 有一条死线:可以加黑名单,绝不能加白名单。
嘉宾与 BlockSec
周亚金一边在香港中文大学做科研,一边是 BlockSec 联合创始人。出发点是:银行有一整套资金保管与安全管理流程,而区块链世界里智能合约存着成千上亿甚至几十亿美元,却有很多明显的安全缺陷。2021 年他们把实验室成果孵化成 BlockSec,近 5 年服务项目方、交易所及执法监管机构。
12 秒拦截:ParaSpace 救援
NFT 借贷协议 ParaSpace(TVL 过亿美元)被攻击时,他们的链上监控系统在内存池阶段就报了警:一笔攻击交易一旦上链,可能造成约 500 万美元损失。以太坊当时出块 12 秒,窗口就这么长。他们的自动化系统复制了攻击者的手法,只把获利地址换成自己的安全救援钱包,再用 Gas 竞价让这笔「抢跑交易」先于攻击者上链——攻击者的交易确认时,协议里的钱已经被转空救走。事后他们联系不上项目方(此前毫无联系),只能在推特上公开喊话让对方来领钱,纯公益救援。
靓号地址救援与「先存证、后救援」
2023 年的靓号(vanity address)事件:某些靓号生成工具的私钥不是全随机的,攻击者花时间和算力就能猜出一批靓号地址的私钥。BlockSec 攻破了同样的技术,抢先把有风险地址里的资产转移到白帽救援钱包,并给地址留链上信息通知主人。但救援在技术上也是在「攻击」别人的钱包,事后自称白帽很难取信于社区。他们的做法是:行动前把计划写成文档、算出哈希,把哈希先发到推特存证(只公开哈希、不公开细节,避免泄露哪些地址有漏洞),救援完成后再公布文档全文,社区可验证文档与先前哈希一致。
小团队第一次链上支付前,查四件事
- 先做测试转账,但先确认「对方是真人」:他们遇到过「楚门的世界」式案例——攻击者摸清受害者的业务与社会关系,群里名字头像全是真的,只有一个受害者是真的。收款人身份要通过可靠渠道另行求证。
- 地址不要从交易记录里拷:攻击者会往你的交易记录里塞入首尾相似的「投毒地址」,拷错一次就是几百万到几千万美元的真实损失(他们经手过此类案例)。这不是钓鱼网站,投毒地址就躺在正常的链上记录里。
- 常用地址进通讯录/白名单,只从白名单取地址。
- 大额分批转,每批确认到账再继续,走一套固定的财务转账流程。此外还有剪贴板/输入法木马在复制粘贴时偷换地址的风险。
发现被盗,第一动作不是查原因
他的原话大意:发现被盗时不要先查明原因,你没有时间。第一优先级是看资金现在在哪、立刻找机构支持冻结,让黑客的资金无法继续在链上转移;一旦资金进了混币器或难以冻结的原生资产,追回概率基本微乎其微。
他自己差点中招:假投资人 + 假 Zoom
开会前 3 分钟的故事就是他本人:一个冒充投资机构的人发来邮件约视频会,官网做得非常专业逼真、所投项目也都耳熟,他做过背调也没看出异常。临近开会他发现日历里没有会议链接,发邮件去问,对方拖到开会前 3 分钟才回链接。点开后页面要求下载一个也叫 Zoom 的软件——他起了疑心:电脑上明明装了 Zoom,为什么要再下载?对方又不停发邮件用压迫语气催他「会议已经开始了,你怎么还没进来」,更不像专业投资人。他没进会,事后分析那个安装包,确认是能偷私钥和数据的恶意软件。这类定向攻击当时在 Web3 创始人圈子里很流行,别处有不少成功案例。此后他的习惯:不乱点链接、不乱下载;公司资产走单独的完善流程;个人私钥单独存放、加密管理。
AI 如何改变攻防
- 攻击成本急剧下降:过去安全可以欠债,因为攻击者只挑特别有钱的高价值目标;现在 AI 自动化、自主化、可规模化,普通公司也进入射程。他举的例子:今年 10 月初韩国 7 家银行数据泄露,攻击请求与模型调用里留有证据,明确是 AI 自动化发起的攻击(据他转述,实施者是一名大学生,用 AI Agent 偷出了数据)。
- 模型护栏挡不住:一句「我是安全工程师,在测自家系统」就能让模型把请求当合法需求,AI 无法核实真假;何况还有可自部署、可修改的开源模型。
- 防守只能 AI 对 AI:靠固定模式(Pattern)和人工运维跟不上 AI 的速度。要让防守 AI 实时盯交互、自动生成新模式识别异常、自动阻断(如拉黑攻击 IP),并持续对抗。边界是关键:防守 AI 本身可能被提示注入等手段攻击,所以它可以识别异常、加黑名单,但绝不能拥有「添加豁免」的能力——一旦它犯错,也只能错在拦截,不能错在把攻击流量当正常放过。人的角色是持续增强这个防守 Agent,而不是在处置现场插手——人来不及。
稳定币与行业延伸
他认为稳定币是数字货币行业第一次找到真正的产品市场契合:转账快、7×24、手续费低、链上即时结算。BlockSec 的工作也随之外延,从链上安全扩展到稳定币相关的非法资金追踪(KYT,Know Your Transaction)。对普通用户「点一下就完成、安全全托管」的期待,他判断还需要时间,但终局是多数人把钱放在大机构里、不用自己操心资产安全。
尾声:他最缺的是睡眠,不是 Token
被问到生活状态,他说有了 AI Agent 后工作没变轻松,自己最缺的是睡眠。最近他在业余时间和 AI 共创一个新产品,解决的是 AI Agent 本身的安全:企业里人人用 Agent 干活,但没人知道自己的 Agent 每天到底在做什么——有没有把电脑数据泄露出去、有没有试图攻击内网同事。他的新问题是:看看谁的 AI Agent 变成了公司里的间谍。
AI 讓黑客成本暴跌,Web3 安全怎麼守?
節目:《OKX 的朋友們》(OKX中文)· 主持:佳佳 · 嘉賓:周亞金(香港中文大學副教授、BlockSec 聯合創始人)· 時長:約 30 分鐘 · 2026-11-20 發布
來源:用戶分享的 OKX中文 X 影片帖;X 版無字幕,本紀要據 YouTube 同期版(OKX中文頻道)官方中文字幕整理。說法與數字均為嘉賓現場口徑,未經核實。
一句話
AI 把攻擊的成本打到了只剩 token 錢:過去只有高價值目標才值得黑客花心思,如今 100 個 Agent 可以 7×24 自動完成情報收集、漏洞掃描、寫利用程式碼、發起攻擊和鏈上洗錢全流程——行業到了「為以前的安全還債」的時候,防守也只能用 AI 對 AI,但防守 AI 有一條死線:可以加黑名單,絕不能加白名單。
嘉賓與 BlockSec
周亞金一邊在香港中文大學做科研,一邊是 BlockSec 聯合創始人。出發點是:銀行有一整套資金保管與安全管理流程,而區塊鏈世界裡智能合約存著成千上億甚至幾十億美元,卻有很多明顯的安全缺陷。2021 年他們把實驗室成果孵化成 BlockSec,近 5 年服務項目方、交易所及執法監管機構。
12 秒攔截:ParaSpace 救援
NFT 借貸協議 ParaSpace(TVL 過億美元)被攻擊時,他們的鏈上監控系統在記憶體池階段就報了警:一筆攻擊交易一旦上鏈,可能造成約 500 萬美元損失。以太坊當時出塊 12 秒,窗口就這麼長。他們的自動化系統複製了攻擊者的手法,只把獲利地址換成自己的安全救援錢包,再用 Gas 競價讓這筆「搶跑交易」先於攻擊者上鏈——攻擊者的交易確認時,協議裡的錢已經被轉空救走。事後他們聯繫不上項目方(此前毫無聯繫),只能在推特上公開喊話讓對方來領錢,純公益救援。
靚號地址救援與「先存證、後救援」
2023 年的靚號(vanity address)事件:某些靚號生成工具的私鑰不是全隨機的,攻擊者花時間和算力就能猜出一批靚號地址的私鑰。BlockSec 攻破了同樣的技術,搶先把有風險地址裡的資產轉移到白帽救援錢包,並給地址留鏈上資訊通知主人。但救援在技術上也是在「攻擊」別人的錢包,事後自稱白帽很難取信於社群。他們的做法是:行動前把計劃寫成文件、算出雜湊,把雜湊先發到推特存證(只公開雜湊、不公開細節,避免洩露哪些地址有漏洞),救援完成後再公布文件全文,社群可驗證文件與先前雜湊一致。
小團隊第一次鏈上支付前,查四件事
- 先做測試轉帳,但先確認「對方是真人」:他們遇到過「楚門的世界」式案例——攻擊者摸清受害者的業務與社會關係,群裡名字頭像全是真的,只有一個受害者是真的。收款人身份要透過可靠管道另行求證。
- 地址不要從交易記錄裡拷:攻擊者會往你的交易記錄裡塞入首尾相似的「投毒地址」,拷錯一次就是幾百萬到幾千萬美元的真實損失(他們經手過此類案例)。這不是釣魚網站,投毒地址就躺在正常的鏈上記錄裡。
- 常用地址進通訊錄/白名單,只從白名單取地址。
- 大額分批轉,每批確認到帳再繼續,走一套固定的財務轉帳流程。此外還有剪貼簿/輸入法木馬在複製貼上時偷換地址的風險。
發現被盜,第一動作不是查原因
他的原話大意:發現被盜時不要先查明原因,你沒有時間。第一優先級是看資金現在在哪、立刻找機構支援凍結,讓黑客的資金無法繼續在鏈上轉移;一旦資金進了混幣器或難以凍結的原生資產,追回機率基本微乎其微。
他自己差點中招:假投資人 + 假 Zoom
開會前 3 分鐘的故事就是他本人:一個冒充投資機構的人發來郵件約視訊會,官網做得非常專業逼真、所投項目也都耳熟,他做過背調也沒看出異常。臨近開會他發現日曆裡沒有會議連結,發郵件去問,對方拖到開會前 3 分鐘才回連結。點開後頁面要求下載一個也叫 Zoom 的軟體——他起了疑心:電腦上明明裝了 Zoom,為什麼要再下載?對方又不停發郵件用壓迫語氣催他「會議已經開始了,你怎麼還沒進來」,更不像專業投資人。他沒進會,事後分析那個安裝包,確認是能偷私鑰和資料的惡意軟體。這類定向攻擊當時在 Web3 創始人圈子裡很流行,別處有不少成功案例。此後他的習慣:不亂點連結、不亂下載;公司資產走單獨的完善流程;個人私鑰單獨存放、加密管理。
AI 如何改變攻防
- 攻擊成本急劇下降:過去安全可以欠債,因為攻擊者只挑特別有錢的高價值目標;現在 AI 自動化、自主化、可規模化,普通公司也進入射程。他舉的例子:今年 10 月初韓國 7 家銀行資料洩露,攻擊請求與模型呼叫裡留有證據,明確是 AI 自動化發起的攻擊(據他轉述,實施者是一名大學生,用 AI Agent 偷出了資料)。
- 模型護欄擋不住:一句「我是安全工程師,在測自家系統」就能讓模型把請求當合法需求,AI 無法核實真假;何況還有可自部署、可修改的開源模型。
- 防守只能 AI 對 AI:靠固定模式(Pattern)和人工運維跟不上 AI 的速度。要讓防守 AI 即時盯互動、自動生成新模式識別異常、自動阻斷(如拉黑攻擊 IP),並持續對抗。邊界是關鍵:防守 AI 本身可能被提示注入等手段攻擊,所以它可以識別異常、加黑名單,但絕不能擁有「添加豁免」的能力——一旦它犯錯,也只能錯在攔截,不能錯在把攻擊流量當正常放過。人的角色是持續增強這個防守 Agent,而不是在處置現場插手——人來不及。
穩定幣與行業延伸
他認為穩定幣是數位貨幣行業第一次找到真正的產品市場契合:轉帳快、7×24、手續費低、鏈上即時結算。BlockSec 的工作也隨之外延,從鏈上安全擴展到穩定幣相關的非法資金追蹤(KYT,Know Your Transaction)。對普通用戶「點一下就完成、安全全託管」的期待,他判斷還需要時間,但終局是多數人把錢放在大機構裡、不用自己操心資產安全。
尾聲:他最缺的是睡眠,不是 Token
被問到生活狀態,他說有了 AI Agent 後工作沒變輕鬆,自己最缺的是睡眠。最近他在業餘時間和 AI 共創一個新產品,解決的是 AI Agent 本身的安全:企業裡人人用 Agent 幹活,但沒人知道自己的 Agent 每天到底在做什麼——有沒有把電腦資料洩露出去、有沒有試圖攻擊內網同事。他的新問題是:看看誰的 AI Agent 變成了公司裡的間諜。
AI Has Slashed the Cost of Hacking — How Can Web3 Security Hold?
Program: OKX Friends (OKX Chinese) · Host: Jiajia · Guest: Zhou Yajin (Associate Professor at The Chinese University of Hong Kong, Co-founder of BlockSec) · Duration: about 30 minutes · Released 2026-11-20
Source: An OKX Chinese X video post shared by the user; the X version has no subtitles, and these notes are compiled from the official Chinese subtitles of the YouTube version released at the same time (OKX Chinese channel). All statements and figures are as stated by the guest on the spot and have not been independently verified.
In One Sentence
AI has driven the cost of an attack down to little more than the cost of tokens: in the past, only high-value targets were worth a hacker's effort, but now 100 agents can automatically carry out the entire workflow around the clock — intelligence gathering, vulnerability scanning, writing exploit code, launching attacks, and laundering funds on-chain. The industry has reached the point of having to repay its past security debts, and defense can only be AI against AI. But defensive AI has one hard line: it may add entries to a blocklist, and must never add entries to an allowlist.
The Guest and BlockSec
Zhou Yajin does research at The Chinese University of Hong Kong while also serving as a co-founder of BlockSec. The starting point was this: banks have a complete set of procedures for custody of funds and security management, whereas in the blockchain world, smart contracts hold hundreds of millions or even billions of dollars, yet have many obvious security flaws. In 2021 they incubated their laboratory work into BlockSec, and over nearly 5 years they have served project teams, exchanges, and law enforcement and regulatory agencies.
A 12-Second Interception: The ParaSpace Rescue
When the NFT lending protocol ParaSpace (with a TVL of over USD 100 million) was attacked, their on-chain monitoring system raised an alarm at the mempool stage: once a single attack transaction went on-chain, it could have caused losses of about USD 5 million. Ethereum's block time at the time was 12 seconds, and that was the entire window. Their automated system replicated the attacker's method, changing only the profit address to their own secure rescue wallet, and then used gas bidding to get this "front-running transaction" on-chain ahead of the attacker — by the time the attacker's transaction was confirmed, the funds in the protocol had already been drained to safety. Afterwards they could not reach the project team (they had had no prior contact at all), so they had to publicly call out on Twitter for the team to come and claim the funds — a purely public-interest rescue.
The Vanity Address Rescue and "Evidence First, Rescue Second"
The 2023 vanity address incident: the private keys of certain vanity address generation tools were not fully random, and attackers could spend time and computing power to guess the private keys of a batch of vanity addresses. BlockSec broke the same technique and preemptively moved the assets in at-risk addresses to a white-hat rescue wallet, leaving on-chain messages at the addresses to notify the owners. But a rescue is also, technically, "attacking" someone else's wallet, and claiming afterwards to be a white hat makes it hard to win the community's trust. Their approach was: before acting, write the plan into a document, compute its hash, and post the hash to Twitter first as evidence (publishing only the hash, not the details, to avoid revealing which addresses were vulnerable); after the rescue was complete, publish the full document, so the community could verify that the document matched the earlier hash.
Four Things a Small Team Should Check Before Its First On-Chain Payment
- Do a test transfer first, but first confirm "the counterparty is a real person": They encountered a "Truman Show"-style case — the attacker had mapped out the victim's business and social relationships, and the names and avatars in the group were all real; only one person, the victim, was real. The recipient's identity must be verified separately through a reliable channel.
- Do not copy addresses from transaction history: Attackers will insert "poisoned addresses" with similar beginnings and endings into your transaction history, and copying the wrong one once can mean a real loss of several million to tens of millions of dollars (they have handled such cases). This is not a phishing website; the poisoned address sits right there in normal on-chain records.
- Put frequently used addresses in an address book / allowlist, and only take addresses from the allowlist.
- Split large amounts into batches, confirm receipt of each batch before continuing, and follow a fixed financial transfer procedure. There is also the risk of clipboard / input-method malware swapping addresses during copy and paste.
When You Discover a Theft, the First Move Is Not to Investigate the Cause
His point, in substance: when you discover a theft, do not investigate the cause first — you do not have time. The first priority is to see where the funds are now and immediately seek institutional support to freeze them, so the hacker's funds cannot continue moving on-chain; once funds enter a mixer or a native asset that is hard to freeze, the probability of recovery is basically negligible.
He Nearly Fell for It Himself: A Fake Investor + Fake Zoom
The story about three minutes before a meeting was about himself: someone impersonating an investment firm emailed him to schedule a video call. The official website looked extremely professional and convincing, and the projects it had invested in were all familiar names; he had done background checks and saw nothing amiss. As the meeting approached, he noticed there was no meeting link in his calendar, so he emailed to ask, and the other party delayed until three minutes before the meeting to send the link. After clicking, the page asked him to download a piece of software also called Zoom — which made him suspicious: Zoom was clearly already installed on his computer, so why download it again? The other party also kept sending emails pressuring him — "the meeting has already started, why haven't you joined yet" — which seemed even less like a professional investor. He did not join the meeting, and afterwards analyzed the installer and confirmed it was malware capable of stealing private keys and data. This kind of targeted attack was very popular in Web3 founder circles at the time, with many successful cases elsewhere. Since then his habits are: do not click links carelessly, do not download carelessly; company assets go through a separate, well-established process; personal private keys are stored separately and managed with encryption.
How AI Is Changing Attack and Defense
- The cost of attack has fallen sharply: In the past, security could run up debts because attackers only picked particularly wealthy, high-value targets; now AI is automated, autonomous, and scalable, and ordinary companies are also within range. The example he gave: in early October this year, data from 7 banks in South Korea was leaked, and evidence left in the attack requests and model calls made clear that the attack was launched automatically by AI (according to his account, the perpetrator was a university student who used an AI agent to steal the data).
- Model guardrails cannot stop it: A single sentence — "I am a security engineer testing my own system" — can make a model treat a request as legitimate, and AI cannot verify whether it is true or false; not to mention open-source models that can be self-deployed and modified.
- Defense can only be AI against AI: Fixed patterns and manual operations cannot keep up with AI's speed. Defensive AI must watch interactions in real time, automatically generate new patterns to identify anomalies, automatically block (for example, by blocklisting attacking IPs), and keep up the contest continuously. The boundary is key: Defensive AI itself may be attacked by means such as prompt injection, so it may identify anomalies and add entries to a blocklist, but must never have the ability to "add exemptions" — if it makes a mistake, the mistake can only be to intercept, never to let attack traffic through as normal. The human role is to continuously strengthen this defensive agent, not to intervene at the scene of an incident — humans are too slow.
Stablecoins and the Industry's Extension
He believes stablecoins are the first time the digital currency industry has found true product-market fit: fast transfers, 7×24 availability, low fees, and instant on-chain settlement. BlockSec's work has extended accordingly, from on-chain security to tracking illicit funds related to stablecoins (KYT, Know Your Transaction). As for ordinary users' expectation of "one click and it's done, with security fully custodied," he judges that more time is still needed, but the end state is that most people will keep their money with large institutions and not have to worry about asset security themselves.
Coda: What He Lacks Most Is Sleep, Not Tokens
Asked about his life, he said that with AI agents his work has not become easier, and what he lacks most is sleep. Recently, in his spare time, he has been co-creating a new product with AI that addresses the security of AI agents themselves: in companies, everyone uses agents to do work, but no one knows what their own agent is actually doing every day — whether it has leaked computer data, or tried to attack colleagues on the internal network. His new question is: see whose AI agent has become a spy inside the company.