๐ฆ Giraffe Guard โ ้ฟ้ข้นฟๅซๅฃซ
/install giraffe-guard
๐ฆ Giraffe Guard โ ้ฟ้ข้นฟๅซๅฃซ
Scan OpenClaw skill directories for supply chain attacks and malicious code. ๆซๆ OpenClaw skill ็ฎๅฝ๏ผๆฃๆตๆฝๅจ็ไพๅบ้พๆๆฏๅๆถๆไปฃ็ ใ
Features / ๅ่ฝ
- 22 security detection rules covering the full supply chain attack surface / 22 ๆกๆฃๆต่งๅ๏ผ่ฆ็ไพๅบ้พๆปๅปๅ จ้พ่ทฏ
- Context-aware: distinguishes documentation from executable code, reducing false positives / ไธไธๆๆ็ฅ๏ผๅบๅๆๆกฃๆ่ฟฐๅๅฎ้ ๅฏๆง่กไปฃ็ ๏ผ้ไฝ่ฏฏๆฅ
- Colored terminal output + JSON report output / ๅฝฉ่ฒ็ป็ซฏ่พๅบ + JSON ๆ ผๅผๆฅๅ
--verbosemode shows matching line context /--verboseๆจกๅผๆพ็คบๅน้ ่กไธไธๆ--skip-dirto exclude directories /--skip-dir่ทณ่ฟๆๅฎ็ฎๅฝ- Whitelist support / ็ฝๅๅๆบๅถ
- Compatible with macOS and Linux, zero external dependencies / ๅ ผๅฎน macOS ๅ Linux๏ผ้ถๅค้จไพ่ต
Usage / ไฝฟ็จๆนๆณ
Scan a skill directory / ๆซๆ็ฎๅฝ
{baseDir}/scripts/audit.sh /path/to/skills
Verbose mode / ่ฏฆ็ปๆจกๅผ
{baseDir}/scripts/audit.sh --verbose /path/to/skills
JSON report / JSON ๆฅๅ
{baseDir}/scripts/audit.sh --json /path/to/skills
With whitelist / ไฝฟ็จ็ฝๅๅ
{baseDir}/scripts/audit.sh --whitelist whitelist.txt /path/to/skills
Skip directories / ่ทณ่ฟ็ฎๅฝ
{baseDir}/scripts/audit.sh --skip-dir node_modules --skip-dir vendor /path/to/skills
Combined / ็ปๅไฝฟ็จ
{baseDir}/scripts/audit.sh --verbose --context 3 --whitelist whitelist.txt --skip-dir node_modules /path/to/skills
Detection Rules (22) / ๆฃๆต่งๅ
๐ด Critical / ไธฅ้็บงๅซ
| # | Rule | EN | ไธญๆ |
|---|---|---|---|
| 1 | pipe-execution | Pipe execution (curl/wget to bash) | ็ฎก้ๆง่ก |
| 2 | base64-decode-pipe | Base64 decoded and piped | Base64 ่งฃ็ ็ฎก้ๆง่ก |
| 3 | security-bypass | macOS Gatekeeper/SIP bypass | ๅฎๅ จๆบๅถ็ป่ฟ |
| 5 | tor-onion-address | Tor hidden service | ๆ็ฝๅฐๅ |
| 5 | reverse-shell | Reverse shell patterns | ๅๅ shell |
| 7 | file-type-disguise | Binary disguised as text | ๆไปถ็ฑปๅไผช่ฃ |
| 8 | ssh-key-exfiltration | SSH key theft | SSH ๅฏ้ฅ็ชๅ |
| 8 | cloud-credential-access | Cloud credential access | ไบๅญ่ฏ่ฎฟ้ฎ |
| 8 | env-exfiltration | Env vars sent over network | ็ฏๅขๅ้ๅคไผ |
| 9 | anti-sandbox | Anti-debug/anti-sandbox | ๅๆฒ็/ๅ่ฐ่ฏ |
| 10 | covert-downloader | One-liner downloaders | ๅ่กไธ่ฝฝๅจ |
| 11 | persistence-launchagent | macOS LaunchAgent | ๆไน ๅ |
| 13 | string-concat-bypass | String concatenation bypass | ๅญ็ฌฆไธฒๆผๆฅ็ป่ฟ |
| 15 | env-file-leak | .env with real secrets | .env ๅฏ้ฅๆณ้ฒ |
| 16 | typosquat-npm/pip | Typosquatting packages | ๅ ๅไปฟๅ |
| 17 | malicious-postinstall | Malicious lifecycle scripts | ๆถๆ็ๅฝๅจๆ่ๆฌ |
| 18 | git-hooks | Active git hooks | ๆดป่ท git hooks |
| 19 | sensitive-file-leak | Private keys/credentials | ็ง้ฅ/ๅญ่ฏๆณ้ฒ |
| 20 | skillmd-prompt-injection | Prompt injection in SKILL.md | SKILL.md prompt ๆณจๅ ฅ |
| 21 | dockerfile-privileged | Docker privileged mode | Docker ็นๆๆจกๅผ |
| 22 | zero-width-chars | Zero-width Unicode chars | ้ถๅฎฝ Unicode ๅญ็ฌฆ |
๐ก Warning / ่ญฆๅ็บงๅซ
| # | Rule | EN | ไธญๆ |
|---|---|---|---|
| 2 | long-base64-string | Long Base64 strings | ่ถ ้ฟ Base64 ๅญ็ฌฆไธฒ |
| 4 | dangerous-permissions | Dangerous permissions | ๅฑ้ฉๆ้ไฟฎๆน |
| 5 | suspicious-network-ip | Non-local IP connections | ้ๆฌๅฐ IP ็ด่ฟ |
| 5 | netcat-listener | Netcat listeners | netcat ็ๅฌ |
| 6 | covert-exec-eval | Suspicious eval() (JS/TS) | ๅฏ็ eval ่ฐ็จ |
| 6 | covert-exec-python | os.system/subprocess in .py | Python ๅฑ้ฉ่ฐ็จ |
| 11 | cron-injection | Cron/launchctl injection | ๅฎๆถไปปๅกๆณจๅ ฅ |
| 12 | hidden-executable | Hidden executable files | ้่ๅฏๆง่กๆไปถ |
| 13 | hex/unicode-obfuscation | Hex/Unicode obfuscation | hex/Unicode ๆททๆท |
| 14 | symlink-sensitive | Symlinks to sensitive paths | ๆๆ็ฌฆๅท้พๆฅ |
| 16 | custom-registry | Non-official registries | ้ๅฎๆนๅ ๆบ |
| 20 | skillmd-privilege-escalation | Privilege escalation | ๆ้ๆๅ |
| 21 | dockerfile-sensitive-mount | Sensitive mounts | ๆๆ็ฎๅฝๆ่ฝฝ |
| 21 | dockerfile-host-network | Host network mode | ไธปๆบ็ฝ็ปๆจกๅผ |
Exit Codes / ้ๅบ็
0โ โ Clean / ๅฎๅ จ1โ ๐ก Warnings / ๆ่ญฆๅ2โ ๐ด Critical / ๆไธฅ้ๅ็ฐ
Dependencies / ไพ่ต
No external dependencies. Uses: bash, grep, sed, find, file, awk, readlink, perl ้ถๅค้จไพ่ต๏ผไป ไฝฟ็จ็ณป็ป่ชๅธฆๅทฅๅ ทใ
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install giraffe-guard - After installation, invoke the skill by name or use
/giraffe-guard - Provide required inputs per the skill's parameter spec and get structured output
What is ๐ฆ Giraffe Guard โ ้ฟ้ข้นฟๅซๅฃซ?
Scan OpenClaw skill directories for 22 supply chain attack patterns with context-aware detection, colored output, JSON reports, and whitelist support. It is an AI Agent Skill for Claude Code / OpenClaw, with 715 downloads so far.
How do I install ๐ฆ Giraffe Guard โ ้ฟ้ข้นฟๅซๅฃซ?
Run "/install giraffe-guard" in the OpenClaw or Claude Code chat to install it in one step โ no extra setup required.
Is ๐ฆ Giraffe Guard โ ้ฟ้ข้นฟๅซๅฃซ free?
Yes, ๐ฆ Giraffe Guard โ ้ฟ้ข้นฟๅซๅฃซ is completely free (open-source). You can download, install and use it at no cost.
Which platforms does ๐ฆ Giraffe Guard โ ้ฟ้ข้นฟๅซๅฃซ support?
๐ฆ Giraffe Guard โ ้ฟ้ข้นฟๅซๅฃซ is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created ๐ฆ Giraffe Guard โ ้ฟ้ข้นฟๅซๅฃซ?
It is built and maintained by lida408 (@lida408); the current version is v3.1.0.