global-validation
強化應用程式驗證
輸入驗證缺口會造成安全性、資料品質和使用者體驗問題。此技能會引導建立安全的驗證規則、清理、錯誤訊息,以及各入口點之間的一致性。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "global-validation" from https://skillstore.io/skills/devanb-global-validation.md and its manifest at https://skillstore.io/api/skills/devanb-global-validation/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「global-validation」。 驗證使用者註冊表單。
預期結果:
- 伺服器會檢查必填的姓名、電子郵件、密碼和同意欄位。
- 電子郵件格式和密碼長度規則是明確的。
- 每個失敗訊息都會說明特定欄位問題。
正在使用「global-validation」。 審查檔案上傳端點的驗證。
預期結果:
- 已定義允許的檔案類型、最大大小和必要中繼資料。
- 伺服器端檢查會在儲存或處理之前執行。
- 錯誤訊息會告知使用者哪項上傳規則失敗。
正在使用「global-validation」。 規劃付款轉帳請求的驗證。
預期結果:
- 會驗證金額、貨幣、帳戶識別碼和日期範圍。
- 業務規則會檢查可用餘額和轉帳限額。
- 無效請求會在任何帳戶狀態變更之前失敗。
安全審計
安全Two static findings are false positives: markdown code formatting and a business validation example. The parent-directory markdown link is confirmed because it directs use of a file outside the packaged skill boundary.
能力複核項目 (1)
這些是真實的本機能力,對此技能而言可能是預期行為,因此需要複核,但不會按已確認的惡意行為計分。
風險因素
⚙️ 外部命令 (1)
📁 檔案系統存取 (1)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/devanb-global-validation/audits/11?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/devanb-global-validation?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/devanb-global-validation?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/devanb-global-validation/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/devanb-global-validation.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 引用
DevanB. (2026). global-validation security audit report (audit version 11) [Author version unspecified]. Skillstore. https://skillstore.io/skills/devanb-global-validation/audits/11BibTeX 引用
@techreport{devanb-devanb-global-validation-2026,
author = {DevanB},
title = {global-validation security audit report (audit version 11)},
institution = {Skillstore},
year = {2026},
number = {11},
url = {https://skillstore.io/skills/devanb-global-validation/audits/11},
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: "global-validation security audit report (audit version 11)"
version: "unspecified"
type: report
authors:
- name: "DevanB"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/devanb-global-validation/audits/11"
identifiers:
- type: other
value: "skillstore:devanb-global-validation:audit:11"
description: "Skillstore immutable audit report identifier"
比較變體
2 個可安裝變體每位作者的技能都保留為獨立的可安裝項目。推薦變體依 Skillstore 證據排序。
為何此變體排名第一
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
保護 API 輸入
在控制器、服務或持久化邏輯使用提交資料之前,為 request payloads 設計驗證。
改善表單驗證
新增清楚的伺服器端規則和面向使用者的訊息,同時將用戶端檢查維持為可用性層。
標準化驗證審查
審查表單、API、上傳、自訂驗證器和背景作業中的驗證覆蓋範圍。
試試這些提示
Use global-validation to add server-side validation for this form. Include required fields, type checks, allowlists, and clear error messages.
Use global-validation to validate this API endpoint. Cover payload shape, allowed values, ranges, sanitization needs, and failure messages.
Use global-validation to review these validation rules. Identify missing server-side checks, weak allowlists, vague errors, and unvalidated entry points.
Use global-validation to design a validation plan for forms, APIs, uploads, background jobs, and business rules in this feature.
最佳實務
- 即使用戶端檢查已存在,也要對每個入口點套用伺服器端驗證。
- 針對接受的值、檔案類型、格式和範圍使用允許清單。
- 撰寫具體的錯誤訊息,協助使用者一次修正一個欄位。
避免
- 僅依賴用戶端驗證來做安全性決策。
- 在可以定義允許清單時,仍接受寬泛的自由格式值。
- 回傳含糊的驗證錯誤,隱藏是哪個欄位失敗。