Gate は、Web3 セキュリティ プロバイダー GoPlus Security と共同で作成した Gate Security Academy の第 2 版を公開しました。
この版では、スマート コントラクト監査で何が確立でき、何が確立できないのか、またユーザーが監査レポートを超えてプロジェクトのセキュリティをどのように評価できるかを検証します。 Gate Security Academy は、暗号通貨業界のさまざまな種類のセキュリティ問題に特化したシリーズで、ユーザーが日常生活で遭遇する可能性のある実際のケースを参考にし、プラットフォームとセキュリティプロバイダーの両方の観点からの洞察をまとめています。
セキュリティは動的状態であり、紙に書かれた証明書ではありません。
今年ハッキングの被害を受けたプロジェクトの多くは、すでにセキュリティ監査を受けていました。中には複数回監査を受けた人もいた。これは、監査が無意味であるという意味ではありません。これは単に、監査で回答できる質問が、ほとんどの人が想定しているよりもはるかに狭いことを意味します。
監査レポートには、特定の時点で特定のチームによってレビューされた、プロジェクトの特定のバージョンが記述されます。ただし、コントラクトはアップグレードされ、権限は変更される可能性があり、プロジェクトが依存するオラクルやクロスチェーン ブリッジも同様に変更される可能性があります。新しい攻撃手法が毎週登場します。
監査報告書は提出された瞬間から古くなり始めます。
さらに懸念されるのは、何年も前に展開され、当時の監査に合格した古い契約です。これらの契約は現在、大規模なバッチで再度スキャンされています。何年も存続している契約の深刻な脆弱性が、わずか 10 分ほどで発見されることがあります。
この版では、GoPlus Security と Gate Security チームが、セキュリティ プロバイダーと取引プラットフォームの両方の観点から、スマート コントラクトの監査と脆弱性の検出について説明します。
監査されたプロジェクトが依然としてハッキングされるのはなぜですか?ユーザーは監査レポートをどのように読めばよいでしょうか?取引プラットフォームはトークンを上場する前後にどのようなチェックを実行しますか?そして、一般のユーザーはトランザクションに署名する前にどうやって独自のチェックを行うことができるのでしょうか?
ゲスト紹介
GoPlus パートナー、アダム: Adam は GoPlus のパートナーであり、セキュリティ研究所の所長です。
GoPlus Security は、Web3 と AI 用の初の分散型セキュリティ層を構築しています。ブロックチェーン技術と最先端の AI セキュリティ ソリューションを組み合わせることで、ユーザーにインテリジェントで効率的な分散型セキュリティ製品とサービスを提供します。
2022 年以降、GoPlus は 1 日あたり 3,000 万件の API 呼び出しに成長し、ユーザーが 1,000 億ドル近くの潜在的な損失を防ぐのに役立っています。
ゲートセキュリティチーム: Gate のセキュリティ部門は、プラットフォームのアカウント、取引、資産セキュリティ システムの構築と維持を担当しています。また、チームは、不審なアカウント活動に関するユーザーの申し立てや、調査への支援の要請も定期的に処理します。
2013 年に設立された Gate は、準備金の 100% 証明に取り組んだ最初の大手取引所の 1 つであり、現在世界中で 6,300 万人以上のユーザーにサービスを提供しています。セキュリティはこのビジネスを可能にする基盤です。 Gate は、Gate Security Academy を通じて、ユーザーが遭遇する可能性のある実際のセキュリティ リスクの背後にある共通のメカニズムを説明することを目指しています。
Q1.セキュリティ監査に合格した後でも、これほど多くのプロジェクトが依然としてハッキングされたり、権限の乱用に遭ったりするのはなぜでしょうか?
GoPlus パートナー、アダム:
1 回限りの監査は、プロジェクトが永久に安全であることを意味するものではありません。従来のスマートコントラクト監査サービスは現在、4 つの構造上の制限に直面しています。
スナップショットベースのレビュー。 監査は基本的に、セキュリティ エンジニアによって特定の時点で行われる半手動検査です。その有効性は、ツールの品質、個々の監査人の専門知識、および労働条件によって異なります。ただし、コントラクト コードはアップグレードでき、管理権限は変更でき、構成パラメータは調整できます。 1 回限りの監査レポートは、提出された瞬間から時代遅れになり始めます。
将来の脅威を予測できない。 新しい脆弱性の種類と攻撃手法が引き続き出現しています。過去の監査では、まだ現れていないリスクをカバーすることはできません。
制御されていない外部依存関係。 プロジェクトは通常、オラクル、クロスチェーンブリッジ、サードパーティプロトコルに依存します。これらの依存関係に関連するリスクの変化は、従来の監査の範囲外となります。
古い契約に現れる脆弱性。 数年前に展開され、当時の監査に合格した契約は現在、自動化ツールを使用してバッチでスキャンされており、これまで検出されなかった脆弱性が発見されています。例には、正式な開始後何年も発見されなかった、確立された DeFi プロトコルの深刻な脆弱性が含まれます。
特権の乱用に関しては、契約コード自体よりも運用段階で発生することが多くなります。
一般的な原因には、トークンを自由に鋳造したり、アドレスをブラックリストに登録したり、取引を一時停止したりできるなど、過剰な所有者権限が含まれます。管理者の秘密鍵が侵害されました。不適切なマルチシグネチャ管理。悪意のある提案。そしてガバナンス攻撃。
これらはすべて、継続的な運用中に発生する可能性のあるセキュリティ問題です。
監査レポートで権限関連のリスクが特定されたとしても、その後誰がそれらの権限を監視するのでしょうか?そしてその後の行動が安全で合理的かどうかは誰が判断するのでしょうか?従来の監査では、これらの質問に答えることはできません。
監査後に契約を開始することは、セキュリティ作業の始まりにすぎず、終わりではありません。
プロジェクトに必要なのは、1 回限りの監査レポートではなく、契約ライフサイクル全体を通じて継続的なセキュリティです。
ゲートセキュリティチーム:
監査では、コードで何ができるかをユーザーに伝えることができますが、プロジェクト チームが何をしようとしているのかを伝えることはできません。
これは、私たちが長年にわたるトークンリストのレビューから学んだ最も重要な教訓の 1 つです。
多くの事件はプロジェクトチームの意図に根ざしています。
契約は技術的に準拠しており、所有者の権限は通常のパラメータ内で設計されていますが、プロジェクト チームは、取引ルールの変更、ブラックリストの有効化、または追加のトークンの発行など、これらの権限を行使する特定のタイミングを選択できます。
コードの観点から見ると、これらのアクションは完全に正当です。これらは契約の意図された設計の一部であるため、監査レポートは必ずしも脆弱性としてフラグを立てるわけではありません。
そのため、技術監査には追加の保護層が必要です。
Gate では、トークンの上場プロセス中に厳格なプロジェクトの審査とレビューを実施します。また、プロジェクト チームに対しては、悪意のある行為に関与しないことを誓約する宣言書に署名するよう求めており、それらの誓約の順守を監視しています。
この追加レイヤーは、監査では対処できないものに対処することを目的としています。コードの脆弱性がないからといって、プロジェクト チームがユーザーに害を及ぼす決定を下さないという保証はありません。
すでにリストされているプロジェクトについては、定期的にセキュリティ監査を実施し、オンチェーン イベント モニタリングを使用して契約ステータスを追跡します。
ユーザーは、特定の契約の現在のリスク指標をいつでも確認することもできます。
Q2. 1 回限りの監査では永続的なセキュリティが保証されない場合、プロジェクト チームと業界はどのように適応すべきでしょうか?
ゲートセキュリティチーム:
暗号通貨業界には構造的な特徴があります。そのビジネスの大部分、特に DeFi はモジュラーファイナンスとよく似た形で運営されています。
さまざまなプラットフォームは、コントラクト、ソフトウェア ライブラリ、ウォレット、価格オラクル、クロスチェーン ブリッジ、接続プロバイダー、Web インターフェイス、アップデートの配布に使用されるシステムなどの共有コンポーネントから構築されます。
つまり、プロジェクト自体の契約が安全かどうかだけでなく、プロジェクトが依存するすべてのコンポーネントが信頼できるかどうかも問題となります。
上流のコンポーネントに障害が発生すると、損失が依存関係のチェーン全体に広がる可能性があります。
大規模な攻撃を振り返ると、多くの場合、問題はプロトコルのコア ロジックの外側、つまりサプライヤー、開発ツール、ソフトウェアがユーザーに到達する方法、ユーザーが転送を承認するプロセスなどから発生していました。
GoPlus パートナー、アダム:
新しい攻撃モデルはすでに具体化されており、急速に広まっています。ハッカーは自動ツールを使用して脆弱性を効率的に発見します。
攻撃は、専門家による手作業による調査から流れ作業に進化しました。
業界のアプローチが、立ち上げ前に監査法人を雇ってレポートを作成するか、問題が発見されてからセキュリティ会社に電話するかに限定されたままであれば、それは弓矢で機関銃と戦おうとするようなものです。
唯一の効果的な方法は、同様に効率的なツールを使用してこれらの攻撃に対抗することです。
業界レベルでは、1 回限りの監査や事後対応的な専門家の介入から、ライフサイクル全体にわたる継続的なセキュリティへの移行が必要です。
GoPlus DeepScan の 3 つの部分からなるスマート コントラクト セキュリティ ソリューションを例に挙げます。これは、実用的な閉ループ アプローチを提供します。
起動前 — トークンのセキュリティのセルフチェック: ハニーポット トークン、悪意のあるミント機能、ブラックリスト、異常な取引税、過剰な所有者特権など、潜在的なバックドア リスクを数分以内に迅速に特定します。
起動時 - AI スマート コントラクト監査: ソースコード、権限管理、ビジネスロジックを徹底的に分析します。構文レベルとビジネス ロジック レベルの両方で脆弱性をスキャンします。構造化された監査レポートを提供します。
起動後 — 継続的なセキュリティ監視と定期的なチェック: 新しく発見された脆弱性、攻撃インシデント、オラクル、クロスチェーンブリッジ、サードパーティプロトコルなどの外部依存関係に関わるリスクをリアルタイムで追跡します。プロジェクトが影響を受けるかどうかを継続的に評価し、定期的なリスク警告を発行し、定期的な契約セキュリティチェックと継続的な監査を実施します。
Q3.過去 2 年間で脆弱性の発見はどう変化しましたか?そして、同じ資産がオンチェーンで保持されている場合と取引所で保持されている場合では、セキュリティ モデルはどのように異なるのでしょうか?
GoPlus パートナー、アダム:
率直に言って、短期的には攻撃者が脆弱性を発見する手段が増えました。
これには 3 つの理由があります。
自動化ツールにより、脆弱性発見の障壁が大幅に下がりました。 以前はトップのセキュリティ研究者が数週間を要していた作業が、自動化された攻撃パイプラインによってわずか数分で完了できるようになりました。
オンチェーン上には、何年も前に監査を通過した古い契約が膨大に存在します。 攻撃者にとって、これらの契約は潜在的な脆弱性が存在する広大な宝の山となります。
攻撃者はエクスプロイトを 1 回成功させるだけで済みます。 単一の脆弱性を見つけるだけで資金を盗むのに十分な場合がありますが、防御側は考えられるすべての脆弱性から保護する必要があります。
ハッカーがこれらの脆弱性を悪用して資金を盗むには、ほんの数分しかかからない可能性があります。しかし、防御側も同じ脆弱性をわずか数分で発見することができます。
違いは、プロジェクト チームがハッカーよりも先に適切なツールを使用するかどうかにかかっています。
さらに重要なことは、防御側には攻撃側にはない 3 つの構造上の利点があります。
先行者利益。 防御側は、立ち上げ前と運用全体を通じて契約を繰り返し確認できます。攻撃者は、防御者がこれらのチェックをまだ実行していないことを祈ることしかできません。
コストメリット。 AI 監査は監査ごとまたは年間サブスクリプション ベースで購入できるため、日常的かつ包括的に使用するのに十分な手頃な価格になります。
セキュリティに関する知識を複合化します。 セキュリティ知識ベースは、新たな攻撃が発生するたびに進化し続けています。これらの防御システムは使用すればするほど強力になります。
オンチェーン モデルとオフチェーン モデルを比較すると、資産を保護するのは誰なのか、直面するリスクの種類はまったく異なります。
オンチェーンのセルフカストディ: セキュリティ = 秘密鍵のセキュリティ + スマート コントラクトのセキュリティ。
セキュリティについてはお客様が単独で責任を負います。秘密キーを紛失または盗難された場合、異議を申し立てることができるカスタマー サポート チームはありません。
すべてのやり取りは、承認の脆弱性、フィッシング署名、ハニーポット トークンなどのオンチェーン リスクにもさらされます。
利点は、資産がどのプラットフォームの信用力にも依存しないことです。
Exchange の保管: セキュリティ = プラットフォームのセキュリティ + アカウントのセキュリティ。
秘密キーは、ホット ウォレットとコールド ウォレットの分離、マルチ署名制御、リスク管理システムなどのメカニズムを通じてプラットフォームによって管理されます。
事実上、技術的なセキュリティを取引所にアウトソーシングしていることになります。
ただし、安全なパスワード、2 要素認証、フィッシング防止、適切な API キー管理を通じて Exchange アカウントを保護する必要があります。
信頼できる取引所を選択することも重要です。
全体として、オンチェーンのセキュリティは秘密キーの保護とユーザー自身の行動のリスクに関するものであり、取引所のセキュリティはプラットフォームの信頼性とセキュリティ インフラストラクチャに関するものです。
前者は、Web3 セキュリティに対する認識をテストします。後者では、取引所のインフラストラクチャと自分のアカウントのセキュリティ習慣の両方をテストします。
Q4.取引プラットフォームとして、Gate はセキュリティを強化するためにどのような改善を行いましたか?
ゲートセキュリティチーム:
まず、上場プロジェクトのセキュリティ監査を定期的に実施し、オンチェーンイベントを通じて契約状況を継続的に監視します。
契約がアップグレードされたか、権限が変更されたか、異常な大規模トランザクションが発生したかなど、すべて継続的な注意が必要です。
アダムが説明した監査報告書と同様、トークンが最初に上場されたときに実施されるセキュリティ評価には有効期間が限られています。
ユーザーは、特定の契約の現在のリスク指標をいつでも確認することもできます。
次に、プラットフォーム自体について話しましょう。
Gate のセキュリティ バグ報奨金プログラムは、世界中のセキュリティ研究者に引き続き公開されています。
脆弱性を発見した人は誰でも、次の 3 つのチャネルを通じて脆弱性を送信できます。 sec@gate.com、サポート チケット、または HackenProof プラットフォーム。
私たちはプロジェクト チームがセキュリティの精査を受け入れることを期待しており、私たち自身も同じ精査にさらされることを厭わない必要があります。セキュリティ要件は一方的なものであってはなりません。
トークンとプラットフォームについて説明したので、アカウントのセキュリティに移りましょう。
私たちのアドバイスは、すべての資金を保管するために単一の「最も安全な場所」を探さないことです。資産を使用する頻度に応じて資産を分割する方が現実的です。
頻繁な取引に使用される資金はスポット口座に残しておけるので、簡単にアクセスできます。半年または 1 年間移動する予定のない資産は、Gate Vault に保管できます。
Gate Vault は、MPC と 2-of-3 署名メカニズムを組み合わせて使用します。
秘密キーは 3 つの共有に分割され、ユーザーのデバイス、Gate、および独立した第三者によって個別に保持されます。
完全な秘密鍵はどの段階でも再構築されることはなく、Gate も独立した第三者も独自にトランザクションを開始することはできません。
すべての送信転送も完了までに 48 時間の遅延が発生します。
この 48 時間はユーザーにとってセキュリティ バッファーとして機能し、その間はいつでも送信転送を凍結できます。
予期せぬ事態が発生した場合でも、遅延によりユーザーは問題を発見して転送を停止する時間が得られます。
もう一つの改善点は、 Gateアカウントセキュリティ保護プラン.
この計画はセキュリティ スコアに基づいています。
Previously, account security settings were scattered across different pages, including login verification, authenticator apps, two-factor authentication, passkeys, trading limits, and withdrawal limits.
Users often found it difficult to understand how much of their account security setup they had actually completed.
The Security Score brings these measures together into a score from 0 to 100.
Users can immediately see which protections they have enabled and which are still missing. When the score changes, the system also reminds users to strengthen their settings.
Users with a Security Score of 80 and an account in good standing can activate the protection plan.
Once activated, it provides an additional layer of protection after users have completed their own security measures.
During the coverage period, if assets are transferred out of an account without authorization, users may apply for compensation if the incident meets the applicable rules.
The current maximum coverage for a single incident is $200,000.
This limit will be increased, with tiered coverage based on VIP level reaching up to $1 million.
Applications must be submitted within 45 days of the incident through “My Protection” by contacting security customer support.
Required materials include a police report and records of the asset transfers.
Q5. What should a complete audit report include? How should security scores, key findings, and remediation recommendations be used?
Adam, Partner at GoPlus:
An audit report that can guide action, rather than simply be filed away, should contain at least four elements.
Security Score (Quantifiable Rating) — For Initial Screening, Not Final Conclusions
Project teams can use the score as a quantitative benchmark for internal security assessments and compare changes after each iteration.
Exchanges can use it for preliminary token listing reviews, filtering out projects that clearly fail to meet security requirements at the first stage.
Ordinary users can treat the score as an entry point: avoid projects with low scores, and examine the key findings of those with high scores.
Key Findings (High-Risk Issues and Core Conclusions) — For Decision-Making
This is the executive summary of the report.
It should identify which issues are severe enough to block a launch and must be fixed beforehand.
For managers without technical backgrounds and exchange listing review teams, understanding the key findings is often sufficient.
Issue Details (Vulnerability Evidence and Impact Analysis) — For Identifying Problems
This section is intended for technical teams.
It should include the precise vulnerability location, down to the contract, function, and line of code, as well as the vulnerability type, severity level, attack path, and root cause analysis.
Good issue descriptions should provide reproducible execution paths and triggering conditions, rather than simply listing problems.
Remediation Recommendations (Actionable Fixes) — For Closing the Loop
Recommendations must be specific, actionable, and detailed enough to implement at the code level.
After remediation, the contract should be rescanned and retested to verify the fixes.
Together, these steps form a complete closed loop: security scoring, key findings, issue details, remediation, and rescanning.
Gate Security Team:
Based on our experience developing contract auditing features, we would add three points.
First, the two sections most easily overlooked are often the ones that should come first: audit objectives and limitations, and the scope of the audit.
We have established nine dimensions for our reports: audit objectives and limitations, scope, severity matrix, priority assessment, vulnerability details, risk paths, threat modeling, key function analysis, and remediation recommendations.
But the first two determine whether readers will misunderstand the entire report.
If the limitations are not clearly stated, readers may assume the audit covers everything.
If the scope is unclear, readers cannot tell whether only the main contract was audited or whether the review also covered liquidity pools, strategy contracts, oracles, and external dependencies.
Many promotional materials simply say “Audited” without explaining what was actually audited.
Such a statement provides almost no useful information.
Second, when reviewing key findings, users should consider risks together, even if each individual feature does not qualify as a vulnerability.
Here is a common combination found in audit reports.
The contract owner can blacklist addresses and freeze assets.
Trading pairs can be reset, preventing ordinary users from transferring tokens.
Minimum holding requirements can prevent users from selling their entire balances.
A single owner can also change multiple critical rules at any time.
Viewed separately, these four features may all be considered normal design choices.
Taken together, however, they indicate that control over the contract is highly concentrated in the hands of one person.
Third, users should understand how the report was generated, because that determines the boundaries of its reliability.
Our contract auditing process has three stages.
The first is static analysis, which checks fundamental risks such as access control, reentrancy, price manipulation, flash loans, and logical consistency.
The second is business scenario modeling. We extract the contract’s core interaction scenarios, verify business paths and boundary conditions, and identify issues that rule-based scanning may miss.
The final stage is semantic verification. We examine critical business paths individually to confirm whether the risks identified in the first two stages are genuine.
The third stage is primarily intended to reduce false positives.
If an audit report is filled with false alarms, users quickly lose patience and may eventually skip the entire checking process.
That is why the false-positive rate directly determines whether a security tool will actually be used.
Q6. What practical security measures can ordinary users take right now?
Adam, Partner at GoPlus:
Check token security before trading.
Before buying a new token, examine its security risks.
Pay particular attention to potential backdoors such as honeypot tokens, malicious minting, blacklists, abnormal transaction taxes, and excessive owner privileges.
Regularly clean up contract approvals.
Revoke approvals granted to DApps you no longer use, especially unlimited approvals.
Many theft incidents originate from problems with contracts that users previously authorized.
Strengthen account security.
Use strong passwords and enable two-factor authentication.
Apply the principle of least privilege to API keys, and never grant withdrawal permissions to untrusted tools.
Make phishing prevention second nature.
Verify domain names before signing, avoid links sent through private messages, and be skeptical of airdrops, customer support messages, and promises of high staking returns.
Phishing content is becoming increasingly convincing, so users need to remain rational and alert at all times.
Separate assets according to their purpose.
Keep only small amounts needed for everyday use in hot wallets.
For substantial holdings, hardware wallets are recommended.
Do not put all your eggs in one basket.
Pay attention to a project’s approach to security, not just its audit reports.
Whether a project conducts continuous audits and maintains security monitoring mechanisms matters more than an audit report issued years ago.
Prioritize projects that take security seriously and are willing to disclose how their security systems are built and maintained.
Gate Security Team:
Adam’s six recommendations are already very comprehensive.
We would like to connect several of them with Gate’s tools and turn them into actions users can take immediately.
Check token security before trading.
Users can directly use Gate AI’s contract auditing feature.
Submit a contract address and receive a report within minutes.
Focus on four areas: owner privileges, blacklists and trading restrictions, minting permissions, and transaction taxes.
If any one of these four areas is flagged red, users should stop there. There is no need to look any further.
Strengthen account security by raising your Security Score above 80.
Fund passwords, authenticator apps, two-factor authentication, anti-phishing codes, passkeys, daily withdrawal limits, and withdrawal channel management are all included in the checklist.
Users simply need to follow the prompts and complete each item.
The greatest value of the Security Score is that it turns settings scattered across different pages into an organized checklist, so users do not have to decide for themselves which protection to enable first.
Reaching a score above 80 also allows eligible users to activate the Account Security Protection Plan, providing an additional layer of protection after they have strengthened their own account security.
Use two existing tools to protect against phishing.
If you receive a message claiming to be from Gate, first use our Official Verification Channel to check whether the domain or email address belongs to us.
All emails sent by Gate will include the Anti-Phishing Code you configured yourself. Any email missing that code should be treated as fake.
Check approval amounts carefully before signing.
A contract itself may be secure, but that does not mean the transaction a website asks you to sign is safe.
A legitimate DApp will usually request only the amount needed for a particular transaction.
If it immediately asks for unlimited approval, that alone is a reason to stop and think.
If a wallet pop-up displays nothing but a string of characters you cannot understand, refusing to sign is always safer than signing first and asking questions later.
Finally, it is worth emphasising that security is dynamic, not static.
Launching a project after an audit is only the beginning of security work.
For project teams, this means continuous monitoring after launch is more important than the audit report itself.
For trading platforms, it means that listing a token is only the beginning of the review process.
And for ordinary users, the few minutes spent checking a transaction before signing are among the lowest-cost security measures available, yet also among the easiest to overlook.
There is no such thing as a security certification that guarantees safety forever.
When every party takes one extra step, the balance shifts toward the defenders.
About Gate
Gate, founded in 2013 by Dr. Han, is one of the world’s leading cryptocurrency and integrated financial services platforms, spanning financial and everyday use cases including asset management, trading and payments. Serving over 63 million users globally, it supports trading across 5,400+ digital assets and 12,800+ stock assets and ETFs, while providing access to a comprehensive range of TradFi assets, including metals, stocks, indices, forex, and commodities to meet users’ end-to-end needs across asset holding, trading, and spending. As an industry benchmark, Gate was among the first platforms to implement 100% Proof of Reserves. Its ecosystem includes Gate Money, Gate Wallet, Gate Ventures, Gate for AI Agent, and a wide range of products and services.
Disclaimer:
This content does not constitute an offer, solicitation, or recommendation. You should always seek independent professional advice before making investment decisions. Note that Gate may restrict or prohibit certain services in specific jurisdictions. For more information, please read the User Agreement.
The post Gate Security Academy | Gate & GoPlus: How to Read Audit Reports and Identify Smart Contract Vulnerabilities appeared first on BeInCrypto.



