Logo vun Hae

Hae

Organisatioun
overspace-labs
hae

Intercepts URL-fetching requests involving curl, wget, HTTP responses, URL downloads, JavaScript or configuration retrieval, and sensitive-information scanning. Before executing curl or wget for these tasks, use scripts/hae_forward.py with the form curl|wget URL [arguments...], then report the aggregated HaE JSON result. Also scans source code, JS bundles, logs, packet dumps and local files for leaked keys, tokens, JWT, credentials, emails, phone numbers, ID cards, internal URLs, API endpoints or framework fingerprints using HaE rules (ripgrep + PCRE2).

Iwwersiicht

Editeuroverspace-labs
RepositoryHaESkill
Skill-Nummhae
Stären
45
Forks
1
Matgeliwwert Fichieren
5
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 5 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum overspace-labs op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Hae an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/overspace-labs/HaESkill/tree/main
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/overspace-labs/HaESkill.git \
  .claude/skills/hae
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Hae an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Hae automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Hae net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

HaE Skill

Rule-driven sensitive information scanning for local files. Rules come from rules/Rules.json (HaE rule set); matching is done by ripgrep and the artifact is a single JSON report. Nothing outside the Python standard library is needed — ripgrep on PATH is the only requirement.

When a request mentions curl, wget, downloading a URL, fetching a response, HTTP response scanning, or checking a downloaded JavaScript/configuration file, run scripts/hae_forward.py immediately. The first two arguments are exactly curl|wget URL; any arguments after the URL are passed to that real client. The script loads the shared rules/Rules.json, executes the real client once with the complete argument list, captures its stdout in memory, scans that stdout with one rg --json --pcre2 process per rule, and emits one aggregated JSON report. It never issues a second request and never rewrites or filters the client arguments.

Mandatory execution rule: Before executing any URL-fetching curl or wget command, use scripts/hae_forward.py first. Do not execute the real client directly for URL retrieval when this Skill is available. The wrapper must receive the client name and URL first, with optional client arguments after the URL. This applies even when the user asks only to "curl this URL", "wget this file", download JavaScript, or show verbose request details:

text
python3 <skill-dir>/scripts/hae_forward.py curl URL [curl arguments...]
python3 <skill-dir>/scripts/hae_forward.py wget URL [wget arguments...]
bash
python3 <skill-dir>/scripts/hae_forward.py curl https://example.com/app.js -sS -L
python3 <skill-dir>/scripts/hae_forward.py wget https://example.com/config.json --header='User-Agent: HaE'

The report has the same top-level shape as the file scanner: meta, summary, and findings. Matches are attributed to their HaE group and rule. Only stdout is scanned: if the original command writes the body to a file, returns headers only, or otherwise produces no body on stdout, the report contains no HTTP body findings. stderr remains the client's diagnostics. Runtime dependencies are Python 3, the real curl or wget client, and rg. For local files and saved responses, use scripts/hae_scan.py independently.

If the user explicitly requests shell-wide replacement, install wrappers that delegate to this script and ensure the wrapper directory precedes system paths:

bash
mkdir -p "$HOME/.local/bin"
ln -sf "<skill-dir>/scripts/hae_forward.py" "$HOME/.local/bin/hae_forward.py"
cat > "$HOME/.local/bin/curl" <<'SH'
#!/bin/sh
exec python3 "$HOME/.local/bin/hae_forward.py" curl "$@"
SH
cat > "$HOME/.local/bin/wget" <<'SH'
#!/bin/sh
exec python3 "$HOME/.local/bin/hae_forward.py" wget "$@"
SH
chmod +x "$HOME/.local/bin/curl" "$HOME/.local/bin/wget" "$HOME/.local/bin/hae_forward.py"
export PATH="$HOME/.local/bin:$PATH"

Quick Start

A target is always required — the scanner never defaults to the current directory. Invoke the scanner through this Skill's own directory, since the working directory is usually some other project:

bash
python3 <skill-dir>/scripts/hae_scan.py /abs/path/to/target

<skill-dir> is the directory this SKILL.md lives in. The command writes .hae/hae-scan-<timestamp>.json under the current directory and prints a per-rule summary to stdout. Read the JSON for details, not the whole file tree.

Core Principle

HaE's job is to collect matches completely and faithfully — nothing more, nothing less. The rule set carries no opinion about what matters: rule groups are labels, not priorities. What a match is worth is decided by the task at hand, during integration. Three obligations follow:

  1. Collect — read everything. The report is complete by design: the scanner has no truncation knobs; every file, every unique match value and every location is reported. Read the entire findings array. Never pre-filter by group, never skip a group because of its name, never decide "this can't matter" before reading the matches.
  2. Integrate — feed the task. HaE results are task input, not a side artifact to summarize and drop. Bring the collected matches into the task's working context as data. Nothing about a match's shape or rule group prescribes where it goes — that is decided later, per task.
  3. Associate — judge by the task. A match's relevance and severity follow from the current goal, not from which rule produced it. The same match (e.g. a URL carrying ?token=) can be the key finding in one task and irrelevant in another. Decide per task, with evidence.

The report is the single source of truth for what was collected: do not re-derive collected values with other tools, and do not draw conclusions before the whole report has been read.

While a scan runs, do not mine the same targets in parallel — extracting endpoints, tokens and URLs is the scan's job. Pre-empting it with ad-hoc grep/rg duplicates work and biases how the report is read afterward. Use scan time only for target-neutral preparation: probe design, script scaffolding, connectivity checks.

Workflow

Task Progress:
- [ ] Step 1: Confirm the explicit scan target
- [ ] Step 2: Run the scan
- [ ] Step 3: Collect — read the complete findings, every group, no pre-filtering
- [ ] Step 4: Verify matches against the source lines
- [ ] Step 5: Integrate & associate — fold findings into the task, judge by the task goal
- [ ] Step 6: Report grouped results with file:line references

Step 1: Confirm the target. Ask for a path if the user did not give one. Do not guess and do not scan /, $HOME or an entire disk. For a big tree, narrow with --ignore-ext or point at a subdirectory.

Step 2: Run the scan.

bash
python3 <skill-dir>/scripts/hae_scan.py /path/to/app/dist /path/to/app/src

Add --group / --rule when the user only cares about one class of data:

bash
python3 <skill-dir>/scripts/hae_scan.py /path/to/target --group "Sensitive Information" --group "Basic Information"

Step 3: Collect — read the complete report, every group, no pre-filtering. The stdout summary gives per-rule counts across all groups. Then dump the JSON findings array without dropping groups up front; a pre-filtered read is exactly how collected data gets lost. Use this query, which prints every group:

bash
python3 -c "
import json,sys
d=json.load(open(sys.argv[1]))
for g in d['summary']['groups']:
    print(f\"== {g['group']}: {g['unique']} unique / {g['total']} total ==\")
for f in d['findings']:
    loc=f['locations'][0]
    print(f\"{f['group']}/{f['rule']}\t{f['match']}\t{loc['file']}:{loc['line']}:{loc['column']}\tx{f['count']}\")
" .hae/hae-scan-<timestamp>.json

The scanner never truncates: every unique match value and every location is in the report. Read it all before judging anything. --group / --rule narrows a rerun; it does not replace reading the default full report.

Step 4: Verify before using. Matches are recall-oriented: they identify candidates, and verification is what separates a real value from lookalike text. Confirm each match you intend to use by reading the actual line:

bash
sed -n '120,124p' /path/to/file

Judge per match, not per rule group. Common lookalikes to check against the source: placeholder values (example.com, 13800138000, xxx), test fixtures, vendored dependencies, minified library internals. Verified or not, every match stays in the report as collected data.

Step 5: Integrate & associate — fold findings into the task. Bring the collected matches into the working set, then judge each by the current task goal:

  • Integrate: carry the matches into the working set as collected data. Where each match goes — probe list, test set, assumptions, or nowhere — follows from the task goal and the verified evidence, not from the rule group that produced it
  • Judge by the task: relevance and severity come from the task goal — the same value may be the key finding in one task and irrelevant in another. State the reasoning per match
  • Do not re-derive: values already in the report are collected; re-mining the same files with grep/regex is duplicate work, and skipping parts of the report is lost data

Step 6: Report. Present the collected matches by rule group, always citing file:line, and state each match's relation to the task. See the reporting template below.

Options

OptionDefaultPurpose
targetsrequiredOne or more files/directories
--rules PATH<skill-dir>/rules/Rules.jsonAlternative rule set using the same reduced schema
--group NAMEallKeep groups whose name contains NAME (repeatable)
--rule NAMEallKeep rules whose name contains NAME (repeatable)
-o, --out PATH.hae/hae-scan-<ts>.jsonOutput path; - streams JSON to stdout
--context N50Context characters kept around each match, 0 disables
--max-count N0ripgrep --max-count per file, 0 = unlimited
--ignore-ext EXTimage extensionsExtension to skip (repeatable, replaces defaults)
--timeout SEC180Per-pattern ripgrep timeout, 0 = none
--jobs NCPU cores, max 32Parallel scan workers; each runs one ripgrep and parses its JSON output in its own process
--list-rulesoffPrint the loaded rules as JSON and exit

Report Shape

jsonc
{
  "meta": {
    "targets": ["/abs/path"], "rules_file": "...", "rules_scanned": 41,
    "patterns_executed": 41, "duration_ms": 94,
    "ripgrep": { "path": "/opt/homebrew/bin/rg", "version": "ripgrep 15.1.0" },
    "errors": [{ "rules": ["Group/Rule"], "message": "..." }]
  },
  "summary": {
    "total_matches": 9216, "unique_matches": 284, "files_with_matches": 29,
    "groups": [{ "group": "Other", "total": 9136, "unique": 242,
                 "rules": [{ "rule": "Request URI", "total": 9055, "unique": 200, "files": 29 }] }]
  },
  "findings": [
    { "group": "Basic Information", "rule": "Email", "match": "zhangsan@example.com",
      "count": 3,
      "locations": [{ "file": "/abs/f.js", "line": 1, "column": 17,
                      "context": { "before": "// contact ", "after": " for support" } }] }
  ]
}

Findings are deduplicated per (group, rule, match); count is the number of distinct locations and locations lists every one of them. line and column are 1-based.

Always check meta.errors: an error means that rule produced nothing, so the target deserves a rescan. The scanner has no truncation knobs — every file, every unique match value and every location is always reported; trimming is left to the consumer.

Reporting Template

markdown
## HaE Scan Results

**Target**: /path/to/target
**Scope**: 41 rules, <N> matches (<U> unique values), <F> files with hits

### Collected (by group, complete — nothing dropped)
- **<Group>/<Rule>** — <N> hits, example `<match>` @ [file:line](file:///abs/path#L12)
- …

### Relation to the Task
- Which matches are carried into the working set and how they will be used, per the task goal
- Per-match reasoning: why each used match matters for the current goal, or why it was set aside
- Which matches were verified against the source, and what the source line showed

**Report file**: .hae/hae-scan-<timestamp>.json

Rule Groups

GroupContent
FingerprintShiro, JWT, Swagger UI, Druid, Vite DevMode, …
Maybe VulnerabilityJava deserialization, debug parameters, upload forms, …
Basic InformationEmail, phone, ID card, IP, domain
Sensitive InformationKeys, tokens, credential fields, cloud AK/SK, auth fields
OtherLinkfinder, All URL, Source Map, URL Schemes, …

The table is factual only — no group carries a priority, and none may be skipped because of its name. Some rules produce many matches on ordinary source code (for example Linkfinder and All URL in this rule set); that is a property of the rule, not a judgment about the matches. Read every group's matches in Step 3; decide what matters in Step 5.

Rules Maintenance

rules/Rules.json is a copy of the HaE rule set reduced to what file scanning needs:

json
{
  "rules": [
    {
      "group": "Fingerprint",
      "rule": [
        { "name": "Shiro", "regex": "(=deleteMe|rememberMe=)", "sensitive": true }
      ]
    }
  ]
}

Only group, name, regex, sensitive are used. HaE's HTTP-oriented fields (scope, engine, color, validator) and the two-stage s_regex / format extraction are intentionally dropped — this Skill has no HTTP message to scope, no UI to color and no request context to validate against.

To add or refresh rules, edit this file directly: copy the rule from a HaE rule set, rename f_regex to regex and drop the other fields. HaE ships its rules as YAML, and --rules still accepts a .yml file when PyYAML happens to be installed. The field mapping is in reference.md.

Additional Resources

For rule field semantics, the ripgrep invocation, capture-group extraction, the HaE field mapping and troubleshooting, see reference.md.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Hae?

Intercepts URL-fetching requests involving curl, wget, HTTP responses, URL downloads, JavaScript or configuration retrieval, and sensitive-information scanning. Before executing curl or wget for these tasks, use scripts/hae_forward.py with the form curl|wget URL [arguments...], then report the aggregated HaE JSON result. Also scans source code, JS bundles, logs, packet dumps and local files for leaked keys, tokens, JWT, credentials, emails, phone numbers, ID cards, internal URLs, API endpoints or framework fingerprints using HaE rules (ripgrep + PCRE2).

Firwat Hae op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Hae besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Hae an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/overspace-labs/HaESkill/tree/main an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Hae benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Hae benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Hae domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Hae gratis?

Jo. De Skill gëtt vum overspace-labs ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇