โ† Back to Skills Marketplace
lida408

๐Ÿฆ’ Giraffe Guard โ€” ้•ฟ้ขˆ้นฟๅซๅฃซ

by lida408 ยท GitHub โ†— ยท v3.1.0
cross-platform โš  suspicious
715
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install giraffe-guard
Description
Scan OpenClaw skill directories for 22 supply chain attack patterns with context-aware detection, colored output, JSON reports, and whitelist support.
README (SKILL.md)

๐Ÿฆ’ 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 ๆ ผๅผๆŠฅๅ‘Š
  • --verbose mode shows matching line context / --verbose ๆจกๅผๆ˜พ็คบๅŒน้…่กŒไธŠไธ‹ๆ–‡
  • --skip-dir to 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 ้›ถๅค–้ƒจไพ่ต–๏ผŒไป…ไฝฟ็”จ็ณป็ปŸ่‡ชๅธฆๅทฅๅ…ทใ€‚

Usage Guidance
This package is largely coherent with its claimed purpose (a local scanner), but there are a few things to check before installing or running it: - Clarify the mismatches: SKILL.md mentions 22 rules while README and scripts indicate 55+ rules; confirm which rules will actually run. - Ensure required system tools are available: the scripts assume standard Unix tools; python3 is optional but needed for deeper AST checks; git is used by --pre-install. The registry metadata did not list these binaries โ€” don't rely solely on the metadata. - Be cautious with --pre-install: it clones remote git URLs (network activity). When scanning untrusted repos, run the tool in an isolated environment (sandbox, container, or CI worker) to avoid any accidental execution of untrusted code. - Review the included scripts yourself (audit.sh and ast_analyzer.py are provided) or run them on test data first. They are intended to scan for secrets and dangerous constructs but will read all files in the target directory โ€” do not point it at sensitive home directories. - If you need high assurance, request the publisher/source (homepage is missing) or prefer a scanner from a known repository; otherwise run in a disposable environment and inspect outputs carefully. Confidence is medium because inconsistencies look like sloppy packaging rather than malicious intent, but the lack of declared runtime dependencies and the network-enabled pre-install mode increase risk until clarified.
Capability Analysis
Type: OpenClaw Skill Name: giraffe-guard Version: 3.1.0 This OpenClaw skill bundle, 'Giraffe Guard', is a security scanner designed to detect supply chain attacks and malicious code. Both `SKILL.md` and `README.md` clearly describe its purpose and usage, without any prompt injection attempts or malicious instructions for the AI agent. The core scripts (`scripts/audit.sh` and `scripts/ast_analyzer.py`) implement a wide array of detection rules targeting common malicious patterns (e.g., RCE, data exfiltration, persistence, obfuscation) in *other* code, not performing these actions themselves. The tool explicitly includes a rule to detect prompt injection in `SKILL.md` and uses only standard system utilities and Python's standard library, indicating a well-intentioned security utility.
Capability Assessment
โ„น Purpose & Capability
The skill's code (scripts/audit.sh and scripts/ast_analyzer.py) implements a supply-chain scanner consistent with the declared purpose. However, metadata lists 'no required binaries' while the textual docs and scripts expect common system tools (bash, grep, sed, find, awk, file, readlink, perl), optionally python3 for AST analysis, and git when using --pre-install. Also the SKILL.md claims 22 detection rules but README/scripts advertise many more (55+ rules / 38 grep + 17 AST). These mismatches are likely sloppy packaging/documentation but should be clarified before installation.
โœ“ Instruction Scope
SKILL.md instructs the agent to run scripts/audit.sh against a target directory (or with --pre-install clone a repo). The runtime instructions are scoped to scanning files and producing reports. The script may read all files under the target directory (expected for a scanner). It does not appear to instruct modification of system-wide configs or to harvest agent secrets. Note: --pre-install triggers a git clone of a remote repo (network I/O).
โœ“ Install Mechanism
There is no install spec (instruction-only with included scripts). No remote downloads or archive extraction are defined by the registry metadata. The code is present in the skill bundle and executed as local scripts, which is lower risk than an installer that fetches arbitrary code at install time.
โœ“ Credentials
The skill declares no required environment variables or credentials (primary credential none), and the scripts do not request secrets. The scanner is designed to detect hardcoded keys in target code but does not require access to any external credentials. This is proportionate to its stated function.
โœ“ Persistence & Privilege
The skill is not always:true and does not request permanent platform privileges. It does not appear to modify other skills or global agent configuration. Autonomous invocation is allowed (platform default) but not combined with other privileged behaviors here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install giraffe-guard
  3. After installation, invoke the skill by name or use /giraffe-guard
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.1.0
22 detection rules + AST deep Python analysis. Context-aware, zero dependencies, macOS/Linux compatible.
Metadata
Slug giraffe-guard
Version 3.1.0
License โ€”
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

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.

๐Ÿ’ฌ Comments