pattern-detection
偵測程式碼與資料模式
當審查只依賴人工檢查時,團隊會錯過重複出現的缺陷、風險模式和資料異常。此技能會引導 Claude、Codex 和 Claude Code 進行唯讀模式搜尋、正規表示式檢查,並產出精簡報告。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "pattern-detection" from https://skillstore.io/skills/supercent-io-pattern-detection.md and its manifest at https://skillstore.io/api/skills/supercent-io-pattern-detection/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「pattern-detection」。 掃描 TypeScript 服務中不安全的 DOM 更新和硬編碼憑證指標。
預期結果:
- 高嚴重性:在組態範例中發現可能的憑證模式。確認該值是否僅供測試使用。
- 中嚴重性:重複出現直接 innerHTML 指派模式。審查清理機制和可信內容邊界。
- 建議動作:在提交缺陷前驗證每個符合項目。
正在使用「pattern-detection」。 在重構前審查 Python 服務的可維護性模式。
預期結果:
- 中嚴重性:數個函式似乎長於專案標準,需要審查本地脈絡。
- 低嚴重性:重複出現的 TODO 和 FIXME 標記表示可能有未完成的清理工作。
- 建議動作:依模組負責人將符合項目分組,並優先處理高變更頻率的檔案。
正在使用「pattern-detection」。 分析每日交易數量中的非預期變化。
預期結果:
- 離群值:有一天超過 z-score 閾值,應與發布和事件紀錄比對。
- 趨勢:七日平均高於三十日平均,表示短期成長。
- 建議動作:在做出營運決策前,先驗證來源資料品質。
安全審計
安全Most static alerts are false positives caused by Markdown code fences and read-only search examples. The hard-coded URLs are reference links, and the API-key pattern is a regex used to detect hard-coded secrets, not secret access. No prompt injection, data exfiltration intent, file modification, or runtime network behavior was found in SKILL.md.
風險因素
⚙️ 外部命令 (28)
🌐 網路存取 (3)
🔑 環境變數 (1)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/supercent-io-pattern-detection/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/supercent-io-pattern-detection?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/supercent-io-pattern-detection?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/supercent-io-pattern-detection/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/supercent-io-pattern-detection.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 引用
supercent-io. (2026). pattern-detection security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/supercent-io-pattern-detection/audits/5BibTeX 引用
@techreport{supercent-io-supercent-io-pattern-detection-2026,
author = {supercent-io},
title = {pattern-detection security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/supercent-io-pattern-detection/audits/5},
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: "pattern-detection security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "supercent-io"
date-released: "2026-07-07"
url: "https://skillstore.io/skills/supercent-io-pattern-detection/audits/5"
identifiers:
- type: other
value: "skillstore:supercent-io-pattern-detection:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
審查有風險的程式碼模式
掃描儲存庫中的常見弱點指標,並產出依優先順序排列的審查清單。
尋找重構候選項目
在清理衝刺前,找出過長函式、重複模式、魔術數字和未完成工作。
監控資料趨勢
檢查時間序列指標中的離群值、移動平均、成長方向和波動性變化。
試試這些提示
使用 pattern-detection 掃描此儲存庫中的 TODO 標記、魔術數字、空的錯誤處理器和過長函式。回報檔案、行號、嚴重性,以及建議的後續檢查。
使用 pattern-detection 尋找 SQL 串接、硬編碼機密模式、eval 或 exec 使用情形,以及不安全的 innerHTML 指派。區分可能的問題與需要脈絡判斷的符合項目。
對提供的指標資料使用 pattern-detection。識別離群值、趨勢方向、移動平均變化、成長率和波動性。說明哪些發現需要驗證。
使用 pattern-detection 為此儲存庫和資料集設計分階段審查計畫。包含正規表示式檢查、結構檢查、異常方法、優先順序和驗證步驟。
最佳實務
- 從聚焦的模式集開始,並在驗證初始符合項目後再擴展。
- 在指定嚴重性前,一律審查周邊程式碼。
- 保持報告精簡,並分開呈現安全性、可維護性和資料發現。
避免
- 在沒有脈絡的情況下,將每個正規表示式符合項目都視為已確認的弱點。
- 執行廣泛掃描,導致敏感結果暴露在日誌或聊天中。
- 在同一份報告中混合不相關的模式類型,且未標示優先順序或嚴重性。
常見問題
此技能會變更檔案嗎?
它能找出每個弱點嗎?
它使用哪些工具?
它可以分析資料趨勢嗎?
我應該如何處理可能的機密?
它與 Claude、Codex 和 Claude Code 相容嗎?
開發者詳細資訊
作者
supercent-io授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
f93e9bb0daca99badb6a7e574b97737155d57cb3
維護新鮮度
2026/7/18
使用量
9 次下載 · 133 次瀏覽
檔案結構
📄 SKILL.md