شعار Hor Security Audit

Hor Security Audit

مؤسسة
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.

نظرة عامة

الناشرopenreachtech
المستودعhora-skills-ort-renchan
اسم المهارةhor-security-audit
النجوم
32
التفريعات
0
الملفات المرفقة
6
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 6

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها openreachtech على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Hor Security Audit في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/openreachtech/hora-skills-ort-renchan/tree/main/kit/skills/hor-security-audit
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Hor Security Audit في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Hor Security Audit تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Hor Security Audit بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة أثناء تحميل المهارة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Hor Security Audit على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Hor Security Audit عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Hor Security Audit في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/openreachtech/hora-skills-ort-renchan/tree/main/kit/skills/hor-security-audit. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Hor Security Audit؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Hor Security Audit؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Hor Security Audit معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Hor Security Audit مجانية؟

نعم. نشرها openreachtech على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇