Logo Hor Security Audit

Hor Security Audit

Tổ chức
openreachtech
hor-security-audit

Run a READ-ONLY, repo-wide security audit of a JavaScript/TypeScript (Node) project and produce a findings list — do not fix anything. Covers injection, missing or over-broad auth on HTTP routes and GraphQL operations, port and datastore exposure, secrets and env hygiene, dependency risk, CORS, rate limiting, logging/PII, uploads, and error leakage. Use when the user asks for a security check or audit of the codebase. For a diff-only review of pending changes, use /security-review.

Tổng quan

Nhà phát hànhopenreachtech
Kho mãhora-skills-ort-renchan
Tên kỹ nănghor-security-audit
Sao
32
Bản fork
0
Tệp đi kèm
6
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được openreachtech công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Hor Security Audit trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/openreachtech/hora-skills-ort-renchan/tree/main/kit/skills/hor-security-audit
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openreachtech/hora-skills-ort-renchan.git /tmp/hora-skills-ort-renchan
mkdir -p .claude/skills
cp -r /tmp/hora-skills-ort-renchan/kit/skills/hor-security-audit .claude/skills/hor-security-audit
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Hor Security Audit trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Hor Security Audit ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Hor Security Audit không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Security Audit

A read-only checklist audit of a Node (JS/TS) repository. The goal is to check and list places that could become vulnerabilities — not to fix them. Work through every check, run its detection commands, judge each against its finding criteria, and produce a single findings report.

This skill is stack-agnostic within the Node ecosystem: it names common frameworks / ORMs / loggers only as examples. Discover what the target project uses (read package.json, the entry point, the config files) and adapt each check's patterns to it. Do not assume any specific file layout — detect it.

Rules (read first)

  1. Read-only. Never edit, never fix. Only inspect, run non-mutating commands, and report. Suggest a remediation per finding as text, but do not apply it.
  2. Never print secret values. When a check surfaces a credential, show the key name and a masked value (e.g. API_KEY=abcd…(masked), or ****). Never paste full tokens / passwords into the report or transcript.
  3. Do not exfiltrate. No network calls that send repo contents anywhere. A dependency-advisory check against the registry (e.g. npm audit, which sends only package metadata) is fine; sending files is not.
  4. Every check must appear in the report — as one or more findings, PASS, or N/A (with a one-line reason). A gap must never look like "not applicable".
  5. Detect, don't assume. Before running a check, confirm which tools the project uses and where the relevant code lives. If a check's subject does not exist in this project, mark it N/A.

How to run

First, profile the project (about a minute): read package.json (scripts, deps, engines, type), find the server entry point and the config / env files, and identify the HTTP framework, the ORM / DB driver, the GraphQL server (if any), and the logger. Then go category by category through the detail files. For each check: run the detection commands (adapted to this project), decide PASS / FINDING / N/A, and record findings in the format below. Prefer git grep so the search covers tracked source only (no node_modules, no build output). Finally, print the summary table (every check → verdict) followed by the detailed findings, most severe first.

Finding format

### [HIGH|MEDIUM|LOW|INFO] <short title>   (check: <category>/<id>)
- Location: <file:line, or scope e.g. "the ORM connection config, non-local environments">
- Evidence: <masked snippet or command output>
- Risk: <why this is exploitable / what it exposes>
- Recommendation: <what to change — DO NOT apply it>

Severity guide: HIGH = exploitable now / secret exposed / unauthenticated sensitive access. MEDIUM = weakens the security posture (no transport encryption, weak config, unrestricted upload type). LOW = hardening gap. INFO = worth noting, not a vulnerability.

Checklist & detail files

#CheckDetail file
1Injection (SQL / NoSQL / command) via raw/interpolated inputcode-safety.md
2eval / dynamic-exec codecode-safety.md
3Malicious / obfuscated code or install hookscode-safety.md
4Exposed ports / bind address / datastore exposurenetwork-and-logging.md
5Production logging via a redacting logger; no PIInetwork-and-logging.md
6Auth enforced on every endpoint (routes + GraphQL queries/mutations/subscriptions)auth-and-transport.md
7Public / guest allow-list is minimal & intentional (classified)auth-and-transport.md
8Datastore transport encryption (TLS / SSL)auth-and-transport.md
9Introspection / playground / debug endpoints disabled in prodauth-and-transport.md
10CORS scoped (not wildcard in production)auth-and-transport.md
11Rate limiting on public endpoints (and not bypassable)auth-and-transport.md
12Production-facing env files covered by .gitignoresecrets.md
13Committed env files hold only values that reach the local machinesecrets.md
14No hardcoded secrets in code / configsecrets.md
15No plaintext passwords / secrets in seed / fixture datasecrets.md
16No vulnerable dependencies (advisory audit)dependencies.md
17Lockfile committed + version-pinning delay + no committed registry tokensdependencies.md
18Reproducible installs (clean / locked install, not mutating)dependencies.md
19File-upload validation (type + content + size)application-surface.md
20No unused / scaffold / boilerplate operations exposedapplication-surface.md
21GraphQL query depth / complexity limitsapplication-surface.md
22Error responses don't leak internals in productionapplication-surface.md

Additional checks worth proposing

Offer these when relevant (report as findings / PASS / N/A like the rest):

  • Secrets in git history (not just the current tree) — scan git log -p for secret patterns and known key shapes; a secret that was ever committed must be rotated even if later removed.
  • Datastore auth in production — DB / cache / queue require a password and are not on a public interface.
  • Cookie / session flags (httpOnly / secure / sameSite) if cookies are used.
  • Runtime pinning (engines set; no end-of-life Node version).
  • Mass-assignment — endpoints spreading raw request input straight into a DB write.

Output

End with: (1) the summary table (every check → verdict), (2) findings most-severe-first, (3) the count by severity, and (4) a one-line reminder that nothing was changed. If asked, offer to hand specific findings to a fix workflow — but this skill itself never modifies code.

Write the report in the language the reader is using, as the documentation convention requires of any document generated for a reader.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Hor Security Audit làm được gì?

Run a READ-ONLY, repo-wide security audit of a JavaScript/TypeScript (Node) project and produce a findings list — do not fix anything. Covers injection, missing or over-broad auth on HTTP routes and GraphQL operations, port and datastore exposure, secrets and env hygiene, dependency risk, CORS, rate limiting, logging/PII, uploads, and error leakage. Use when the user asks for a security check or audit of the codebase. For a diff-only review of pending changes, use /security-review.

Vì sao nên dùng Hor Security Audit trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Hor Security Audit là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Hor Security Audit trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/openreachtech/hora-skills-ort-renchan/tree/main/kit/skills/hor-security-audit. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Hor Security Audit?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Hor Security Audit với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Hor Security Audit với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Hor Security Audit có miễn phí không?

Có. Kỹ năng này được openreachtech phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇