Trent

ai.trent由 trent.ai 發布官方發布者v0.3.0更新於 Oct 24, 2026

Security reviews, threat models over a repo or website, and remediation tracking, in your editor.

已驗證Streamable HTTP可網頁執行開發者工具安全與監控

概覽

AI 產生的概覽

Trent 是遠端的 AI 資安工程師,可在編輯器中審查程式碼、方案與設定,對儲存庫或網站做威脅建模,並追蹤修復進度。

可以做什麼
  • 透過資安顧問工具審查程式碼差異、方案或設定中的資安問題
  • 掃描儲存庫或網站並讀取 Trent 回報的問題
  • 對儲存庫(包含目前所在的儲存庫)執行威脅建模
  • 以循環方式修復問題:在新分支上作業,用你的測試與 Trent 顧問驗證每項修復,並開出一個拉取請求
  • 重新掃描已合併的程式碼,查看哪些修復被視為完成,並繼續處理其餘問題
  • 透過簽章上傳連結附加設計文件或問題清單檔案
適用情境
適合希望在編碼代理內完成資安審查、威脅建模與修復追蹤,而不另外使用資安工具的團隊。已使用 Claude Code 或 Codex CLI,並想把發現的問題轉成可審查的拉取請求時特別合適。
執行需求
透過 streamable HTTP 存取的遠端 MCP 端點,不需本機套件或 API 金鑰。第一次執行工具時在瀏覽器完成 OAuth 登入。掃描儲存庫需要在儲存庫上安裝 Trent GitHub App。外掛需從 Claude Code 或 Codex CLI 的 trnt-ai/trent-agent-plugin 市集加入。
安裝前請注意
代理送出審查的內容(程式碼、差異、方案、設定)會傳送到你所屬區域的 Trent 伺服器,附加文件會上傳到 Trent 的 S3 儲存空間。掃描時會傳送儲存庫擁有者與名稱。意見回饋、修改與專案設定以工具參數傳送。修復循環會建立分支並開出拉取請求,合併前請自行審查。外掛清單沒有簽章,你信任的是市集名稱。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Trent,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.trent%2Ftrent/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "trent": {
      "type": "http",
      "url": "https://mcp.trent.ai/mcp"
    }
  }
}

README

Trent agent plugin

Trent, an AI security engineer. Review code, plans and configs for security problems, run threat models over a repo or website, and track remediation without leaving the editor.

Installing

Add the marketplace by repository name. trnt-ai/trent-agent-plugin is the only public marketplace that carries Trent, and adding it by name is what ties the install to us. (A plugin manifest carries no signature, so the name is what you are trusting; never add a marketplace from a URL to a file.)

Claude Code:

/plugin marketplace add trnt-ai/trent-agent-plugin/plugin install trent@trent

Codex CLI:

codex plugin marketplace add trnt-ai/trent-agent-plugincodex plugin add trent@trent

Check what you installed with claude plugin details trent. It prints Source: trent@trent and the manifest's identity fields.

Signing in

The plugin declares a remote MCP server and no credentials. Authentication happens in the browser the first time a tool runs; there is no API key to paste and none is shipped here.

What the plugin sends, and where

The plugin holds no code of its own: four skills and the addresses of Trent's two servers. Everything it sends goes through your coding agent, as Trent tool calls, to the server for your account's region: https://mcp.trent.ai/mcp (US) or https://mcp.eu.trent.ai/mcp (EU).

  • Repository scans. Trent reads a repository through the Trent GitHub App you install on it. The plugin does not upload your repository; it sends the repository's owner and name.
  • Reviews. security_advisor sends the content your agent passes it for that review: code, a diff, a plan or a config. /trent:trent-loop sends the diff of each fix it makes.
  • Documents. A design document or findings file you choose to attach is uploaded straight to Trent's storage on Amazon S3, through a signed URL that prepare_file_upload returns and that expires.
  • What you type. Feedback, edits to findings and project settings go as tool arguments.

The plugin also sends its version in the x-trent-plugin-version header. It reads no credentials from your machine.

Trent handles this data under its privacy policy, https://trent.ai/privacy-policy/. Security documentation is in the Trent Trust Center, https://trust.trent.ai/.

Using it

Ask your coding agent in plain words; the plugin's skills tell it which Trent tool to use:

  • Review one piece of work (a diff, a plan, a config): trent-security-advisor.
  • Scan a repository or website and read what Trent found: trent-threats, or trent-repo for the repository you are in.
  • Fix what Trent found: run /trent:trent-loop, or /trent:trent-loop 3 to fix at most three. It works on a new branch, checks each fix with your own tests and with Trent's security advisor, and opens one pull request for you to review. After you merge it, run it again: Trent scans the merged code, reports which fixes it now counts as done, and carries on with the rest.

Verifying where a release came from

Each release is one commit, and its message carries the revision it was built from:

Published from source revision <sha>

Run git log -1 in a clone of this repository to read it. The <sha> is an identifier, not a link; there is nowhere to follow it to. What it gives you is an exact name for the build you are running: quote it to support and they can say which release you have. If a copy of this plugin does not carry a message in that form, it was not published by us.

Each release's pull request also runs a check, provenance, that the commit has that shape: one commit on main, that subject, plain files, and a changed version when the content changed. It reads the commit and holds no credential.

The plugin manifest names https://github.com/trnt-ai/trent-agent-plugin, this repository, as its repository, and trent.ai as its homepage. A plugin claiming to be Trent from anywhere else is not ours.

Pinning a release

Every release is tagged plugin-v<version>, on the commit that release published. git tag -l in a clone lists them. A tag here never moves: the repository's rules refuse it, so a pin keeps resolving to the same files.

On a Team or Enterprise plan an admin can register this marketplace for everyone in managed-settings.json, pinned to a release. ref is the tag and sha is the commit it names; with both set the sha is the pin and the ref says which release it came from:

json
{  "extraKnownMarketplaces": {    "trent": {      "source": {        "source": "github",        "repo": "trnt-ai/trent-agent-plugin",        "ref": "plugin-v0.1.0",        "sha": "<the 40-character commit plugin-v0.1.0 names>"      }    }  },  "enabledPlugins": { "trent@trent": true }}

Read the sha off the tag rather than copying one from anywhere else:

git ls-remote https://github.com/trnt-ai/trent-agent-plugin refs/tags/plugin-v0.1.0 'refs/tags/plugin-v0.1.0^{}'

One line back means the tag names that commit: pin it. Two lines back means the tag is annotated: the line ending ^{} names the commit, and that is the one to pin.

Upgrading is then a deliberate edit of those two fields, not something that happens when someone reinstalls.

Getting help

Questions, bugs and feature requests reach us at https://trent.ai or through your usual support channel; that is where they get answered.

This repository is published from Trent's build on each release; every file in it is generated, so it is not the place to file or fix anything.

Licence

Copyright Trent AI. See LICENSE for the terms, and https://trent.ai for anything the terms do not answer.

來源:README.md,提交 76497f6

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

3
  1. v0.3.0最新Oct 3, 2026
  2. v0.2.0Oct 2, 2026
  3. v0.1.0Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分