lifi
建置 LI.FI 跨鏈 API 整合
跨鏈交換與 DeFi 整合涉及許多鏈、代幣、狀態及授權細節。此技能為 Claude、Codex 與 Claude Code 提供精簡的 LI.FI API 指引,涵蓋報價、路由、金庫及意圖。
安裝前請停止並請求確認。
請審查安裝計畫,並在變更檔案前取得使用者明確同意。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "lifi" from https://skillstore.io/skills/internet-court-lifi.md and its manifest at https://skillstore.io/api/skills/internet-court-lifi/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「lifi」。 使用 LI.FI 將 USDC 從 Arbitrum 橋接至 Base。
預期結果:
- 使用包含來源鏈與目的地鏈 ID 的 Core API 報價。
- 檢查授權地址,並等待任何授權交易完成。
- 如果第一筆報價已過期,請在簽署前重新取得報價。
- 持續輪詢狀態,直到轉移進入終止狀態。
正在使用「lifi」。 尋找 Base 上可供存款的 USDC 金庫。
預期結果:
- 使用鏈、資產及 Composer 支援篩選條件查詢 Earn 金庫。
- 比較 APY、TVL、上限、KYC 及提款設定。
- 將選定的金庫地址用作 Composer 的目的地代幣。
正在使用「lifi」。 處理僅部分完成的橋接。
預期結果:
- 根據狀態資料確認收到的代幣及目的地鏈。
- 說明收到的價值可能會採用不同的代幣。
- 當 Gas 成本合理時,提供同鏈復原交換。
安全審計
高風險Of 147 static findings, 133 are false positives caused by Markdown formatting, placeholders, API terms, or non-executing endpoint references. Fourteen findings confirm intended outbound calls to LI.FI services, while two semantic findings identify high-risk transaction and vault-selection workflows. No prompt injection attempt was found.
已確認的安全問題 (2)
能力複核項目 (14)
這些是真實的本機能力,對此技能而言可能是預期行為,因此需要複核,但不會按已確認的惡意行為計分。
風險因素
🌐 網路存取 (31)
⚙️ 外部命令 (50)
🔑 環境變數 (3)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/internet-court-lifi/audits/2?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/internet-court-lifi?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/internet-court-lifi?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/internet-court-lifi/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/internet-court-lifi.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
internet-court. (2026). lifi security audit report (audit version 2) [Author version unspecified]. Skillstore. https://skillstore.io/skills/internet-court-lifi/audits/2BibTeX 引用
@techreport{internet-court-internet-court-lifi-2026,
author = {internet-court},
title = {lifi security audit report (audit version 2)},
institution = {Skillstore},
year = {2026},
number = {2},
url = {https://skillstore.io/skills/internet-court-lifi/audits/2},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "lifi security audit report (audit version 2)"
version: "unspecified"
type: report
authors:
- name: "internet-court"
date-released: "2026-07-19"
url: "https://skillstore.io/skills/internet-court-lifi/audits/2"
identifiers:
- type: other
value: "skillstore:internet-court-lifi:audit:2"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 中你可以打造什麼
建置交換與橋接流程
規劃使用 LI.FI 進行跨鏈代幣轉移時的報價、授權、簽署及狀態步驟。
評估 DeFi 金庫整合
使用 Earn 與 Composer 指引探索金庫,並設計存款或提款流程。
設計代理程式交易工作流程
建立具備防護措施的 API 工作流程,用於路由選擇、意圖訂單、輪詢及復原處理。
試試這些提示
說明將 USDC 從 Arbitrum 橋接至 Optimism 的 LI.FI 報價流程。請包含授權檢查及狀態輪詢。
擬定在 Polygon 上將 ETH 同鏈交換為 USDC 的參數。請包含滑價、路由順序及過期報價處理。
為 Base 上的 USDC 金庫設計 Earn 探索流程。請包含篩選條件、資料新鮮度及 Composer 存款步驟。
審查我的 LI.FI Intents 後端規劃。指出簽署、到期、退款及狀態追蹤方面的缺漏。
最佳實務
- 在授權後及任何簽署步驟之前重新取得報價。
- 對 ERC-20 代幣使用精確授權及報價中提供的授權地址。
- 快取探索端點,並在收到速率限制回應時採用退避機制。
避免
- 將支出者地址寫死,而未使用報價中提供的授權地址。
- 在檢查狀態及區塊鏈瀏覽器連結之前,便假設逾時代表失敗。
- 僅依據 APY 選擇金庫,而未檢查上限、鎖定期及 KYC。
常見問題
此技能會執行代幣交換嗎?
我需要 LI.FI API 金鑰嗎?
此技能能協助處理 DeFi 存款嗎?
此技能涵蓋非 EVM 鏈嗎?
應如何處理失敗的路由?
這是財務建議嗎?
開發者詳細資訊
授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
3f6e026a3363e0954ede7bef0cfe88d4475de137
維護新鮮度
2026/7/18
使用量
1 次下載 · 0 次瀏覽
檔案結構