> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/ai-totsru/ide-plugins-overview/google-antigravity.md).

# Google Antigravity IDE

Aikido は、ハードコードされたシークレット（API キー、トークン）や安全でないコードパターン（SQL インジェクション、パス トラバーサルなど）をプロジェクト全体で自動スキャンし、問題を早期に発見してコードベースを安全に保てるようにします。

ファイルを開いたり変更を保存したりするたびにスキャンが自動実行されるため、開発の早い段階で問題を簡単に見つけられます。

セキュリティ上の問題が見つかると、コード内で直接ハイライトされ、Aikido ウィンドウに一覧表示されます。

{% stepper %}
{% step %}

### 拡張機能を開いて「Aikido Security」をインストールしてください

<figure><img src="/files/c261a4c368ffae52ba892bf8e31480138975f70c" alt=""><figcaption></figcaption></figure>

または、以下のリンクを使ってマーケットプレイスに移動してください

* [VS Code](https://marketplace.visualstudio.com/items?itemName=AikidoSecurity.aikido)
* [Windsurf](https://open-vsx.org/extension/AikidoSecurity/aikido) / [Cursor](https://open-vsx.org/extension/AikidoSecurity/aikido) / [Kiro](https://open-vsx.org/extension/AikidoSecurity/aikido) / [Google Antigravity](https://open-vsx.org/extension/AikidoSecurity/aikido)
  {% endstep %}

{% step %}

### Aikidoで認証する

<img src="/files/a1939d179552c9444ed8ceda22b3be145c9c243f" alt="" data-size="line"> サイドバーのアイコンをクリックして Aikido プラグインを開き、「Aikidoに接続」をクリックして Aikido プラットフォームで認証してください。

<figure><img src="/files/820c87b70e3546a64fc6036302bcee3f04709fcb" alt=""><figcaption></figcaption></figure>

または、コマンドパレットを開いて次を実行できます `Aikido: ログイン`

自動認証が機能しない場合は、Aikido で個人アクセスを手動で作成できます。 [Integrationsページの手順に従ってください](https://app.aikido.dev/settings/integrations?section=ide).
{% endstep %}

{% step %}

### 例を試してみましょう

以下にサンプルがあります `index.js` このファイルを使って拡張機能が正しく動作しているか確認できます。1件のSAST問題（SQLインジェクション）と1件の露出したシークレット（SQL Server接続文字列）を検出するはずです。

```javascript
const app = {}

app.get("/user", (req, res) => {
    const connStr = "Server=tcp:myserver.database.windows.net,1433;Initial Catalog=mydb;Persist Security Info=False;User ID=myuser;Password=$uperSecret123!@#";
    const username = req.query.username
    const unsafeQuery = `SELECT * FROM users WHERE username = '${username}'`
    sql.connect(connStr).query(unsafeQuery, (err, result) => {
        res.status(200).send(result)
    })
})
```

{% endstep %}

{% step %}

### 追加のセキュリティツールを有効にする

拡張パックのようなものを使って、IDE で Aikido を拡張してください [AIエージェント向けの MCP](/docs/docs-ja/ai-totsru/aikido-mcp.md), [pre-commitフック](/docs/docs-ja/ai-totsru/aikido-secrets-pre-commit-hook.md)と [Safe Chain](/docs/docs-ja/kdosukyan/aikido-malware-scanning.md)詳細については、以下のドキュメントを参照してください。

{% content-ref url="/pages/22e70f9450fcdcd2a38b4535fb8a9cf951d68cd2" %}
[Aikido 拡張パック](/docs/docs-ja/ai-totsru/ide-plugins-overview/features/aikido-expansion-packs.md)
{% endcontent-ref %}
{% endstep %}
{% endstepper %}

プラグインがインストールされたので、作業しながらセキュリティの問題を見つけるのに役立つ機能を見ていきましょう:

{% content-ref url="/pages/3dfde686ecf7d74a621887ca00e5f424b7977ac7" %}
[IDE でのリアルタイム SAST、機密情報、IaC スキャン](/docs/docs-ja/ai-totsru/ide-plugins-overview/features/real-time-code-scanning-in-ide.md)
{% endcontent-ref %}

{% content-ref url="/pages/b92562cb2024df554e808edc27e5331630c25e76" %}
[Broken mention](broken://pages/b92562cb2024df554e808edc27e5331630c25e76)
{% endcontent-ref %}

{% content-ref url="/pages/fff307894e2c08dfd40a07ab0f4892e23b70da2d" %}
[IDE でのオープンソース依存関係スキャン（SCA）](/docs/docs-ja/ai-totsru/ide-plugins-overview/features/open-source-dependency-scanning-sca-in-ide.md)
{% endcontent-ref %}

{% content-ref url="/pages/29e684dbc14043d4f997ce83025f0d97ebccf593" %}
[IDE でのワークスペース全体スキャン](/docs/docs-ja/ai-totsru/ide-plugins-overview/features/full-workspace-scan-in-ide.md)
{% endcontent-ref %}

{% content-ref url="/pages/f1c11358da27d679d241d27159a227eee3d517fb" %}
[IDE 内の Aikido AI](/docs/docs-ja/ai-totsru/ide-plugins-overview/features/aikido-ai-in-ide.md)
{% endcontent-ref %}

{% content-ref url="/pages/b65694ed0557e5a962ebbb85aac5b0a82784cf41" %}
[VS Code - 拡張機能が接続を切り続ける](/docs/docs-ja/ai-totsru/ide-plugins-overview/troubleshooting/vs-code-extension-keeps-disconnecting.md)
{% endcontent-ref %}

{% content-ref url="/pages/e0ef2730dd79e43791f0305e22201871e5ff6a87" %}
[VS Code - サポート用情報](/docs/docs-ja/ai-totsru/ide-plugins-overview/troubleshooting/vs-code-information-for-support.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/ai-totsru/ide-plugins-overview/google-antigravity.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
