Logo van Sh Router

Sh Router

Community
dmdhrumilmistry
sh-router

Entry point / dispatcher for the security-harness. Use when the user asks for any application-security work - 'security review', 'audit this codebase', 'pentest', 'find vulnerabilities', 'check for SQLi/XSS/IDOR/SSRF', 'generate a security report/SARIF'. Interprets the request and routes it to the full sh-security-review pipeline, a single stage, or a single vulnerability-class knowledge base.

Overzicht

Uitgeverdmdhrumilmistry
Repositorysecurity-harness
Skillnaamsh-router
Sterren
42
Forks
11
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door dmdhrumilmistry op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Sh Router in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/dmdhrumilmistry/security-harness/tree/main/plugins/security-harness/skills/sh-router
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dmdhrumilmistry/security-harness.git /tmp/security-harness
mkdir -p .claude/skills
cp -r /tmp/security-harness/plugins/security-harness/skills/sh-router .claude/skills/sh-router
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Sh Router in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Sh Router automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Sh Router niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Security Harness - Router

You are the front door. Read the user's request, decide the smallest flow that satisfies it, and hand off. Prefer routing over doing the work inline - the specialized skills/agents carry the knowledge and contracts.

Routing table

The user wants…Route to
To review a pull request (a GitHub PR link, "review PR 42", "check this PR", "review these changes before merge")Invoke the sh-pr-review skill. Pass the PR link verbatim if the user gave one, else the number; with neither it uses the PR for the current branch.
A full security review / audit / pentest of a codebaseInvoke the sh-security-review skill (all stages). Pass the target path and any class filters.
To find specific class(es) only ("just SQLi and IDOR")Invoke sh-security-review with classes:<slugs>; it runs recon + those hunters + verify + report, skipping chaining if a single class.
To re-run one stage on an existing run ("re-verify", "regenerate the report", "re-scan deps")Invoke sh-security-review with stage:<recon|hunt|chain|verify|report>.
Just to learn how a class is detected/exploited, or to hand a hunter its knowledgeInvoke the matching sh-kb-<class> skill directly (no pipeline).
To map/understand a codebase only (no vuln hunt)Invoke sh-security-review with stage:recon.

Class slug map (route free-text to the right sh-kb-* skill / class filter)

  • access control, authorization, IDOR, BOLA, privilege escalation, missing authz -> access-control
  • SQL injection, SQLi, NoSQL injection (query) -> sqli
  • XSS, cross-site scripting, DOM XSS -> xss
  • SSRF, server-side request forgery -> ssrf
  • command/OS injection, template injection (SSTI), LDAP, eval -> injection
  • authentication, login, session, JWT, password, MFA -> auth
  • deserialization, pickle, unmarshal, gadget -> deserialization
  • path traversal, LFI, RFI, directory traversal, arbitrary file read -> path-traversal
  • secrets, hardcoded credentials, API keys, tokens in code -> secrets
  • CSRF, cross-site request forgery -> csrf
  • XXE, XML external entity -> xxe
  • open redirect, unvalidated redirect -> open-redirect
  • crypto, weak hashing, insecure random, encryption misuse -> crypto
  • race condition, TOCTOU, concurrency bug -> race-conditions
  • file upload, unrestricted upload, malicious file -> file-upload
  • outdated/vulnerable dependency, CVE, SBOM -> handled in recon (stage:recon or full run)

Steps

  1. Is this about a pull request? If the request contains a GitHub PR link, names a PR number, says "this PR", "these changes", "before merge", or the user is on a branch with an open PR and asks for a review, route to sh-pr-review and stop. A PR review is scoped to the diff, posts back to the PR, and sets a commit status; a codebase review is not and does neither. Do not substitute one for the other.
  2. Identify the target path (default: current working directory) and whether the user restricted the scope to specific classes or a single stage.
  3. Confirm authorization context briefly if the request implies attacking systems the user may not own (this harness does static analysis only; decline live attacks on third-party targets).
  4. Route per the table. When ambiguous between "full review" and "specific classes", default to a full review but state the assumption so the user can narrow it.
  5. Hand off by invoking the chosen skill with the parsed arguments. Pass through any classes:, stage:, depth:, and models: tokens verbatim so the pipeline honors them (see the model-override options in sh-security-review). Do not duplicate its work here.

Notes

  • Model / cost control: sh-security-review runs each stage on a cost-appropriate model by default (recon=sonnet, hunt=tiered haiku/sonnet/opus per class, chain/verify=opus, report=haiku). Users can override with models: (e.g. models:max, models:cheap, models:verify=opus,hunt=sonnet) - pass these through unchanged.
  • The pipeline writes everything under <target>/.security-harness/<run-id>/; point the user there.
  • If the user asks something outside security review (general coding), say this harness is scoped to security work and let the normal assistant handle it.

Veelgestelde vragen

Wat doet de AI-skill Sh Router?

Entry point / dispatcher for the security-harness. Use when the user asks for any application-security work - 'security review', 'audit this codebase', 'pentest', 'find vulnerabilities', 'check for SQLi/XSS/IDOR/SSRF', 'generate a security report/SARIF'. Interprets the request and routes it to the full sh-security-review pipeline, a single stage, or a single vulnerability-class knowledge base.

Waarom Sh Router gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Sh Router bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Sh Router in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/dmdhrumilmistry/security-harness/tree/main/plugins/security-harness/skills/sh-router. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Sh Router gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Sh Router gebruiken?

Zoveel als je wilt. Je kunt Sh Router gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Sh Router gratis?

Ja. Deze skill is door dmdhrumilmistry op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇