Skills/ClawHub/claw-compactor

claw-compactor@1.0.0

CAUTION· install only

Publisher claims: "Automation skill for Claw Compactor." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry ClawHubPublisher gandli-2025 · publishing for 241 daysInstalls 1,289Last detonated 1 h ago

Coverage

Nothing executable in the bundle ran; the trace covers the install step only.
Tested
every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-16 and scored it 69/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 1 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessscript backend runs setup only
0.0sprocessscript backend runs setup only
0.0sprocessno install scripts to re-run

Static findings

HIGH
Access to sensitive file pathsscripts/lib/config.py:120 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files_load_dotenv(here / ".env")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsbenchmark/compressors.py:32 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesenv_path = Path(__file__).parent.parent / ".env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/engram-auto.sh:52 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesif [ -f "$CLAW_COMPACTOR/.env" ]; thenFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/engram-auto.sh:78 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileslog " Set one in environment, .env file, or engram.yaml (api_key_env)."Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Destructive file system command detectedbenchmark/data/sample_05_sysadmin.json:36 · Destructive file system command detected…te\" +%s 2>/dev/null) -lt $(date -d '30 days ago' +%s) ]]; then\n aws s3 rm \"$S3_BUCKET/$f\"\n fi\ndone\n\necho \"Backup completed: postgres-$DATE.sql.gz…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandbenchmark/data/sample_05_sysadmin.json:30 · Privileged sudo command — agent may execute with elevated privileges…rotate\n endscript\n}\n```\n\nAlso: identify what's generating so much log. `sudo du -sh /var/log/*` and `sudo journalctl --disk-usage`.", "ts": "2026-03-05T10:30…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathsscripts/engram-auto.sh:55 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filessource "$CLAW_COMPACTOR/.env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/engram-auto.sh:50 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Load .env (lowest priority)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandbenchmark/data/sample_05_sysadmin.json:18 · Privileged sudo command — agent may execute with elevated privileges…4. IP forwarding: `cat /proc/sys/net/ipv4/ip_forward` should return 1\n\nAlso: `sudo tcpdump -i wg0 icmp` on EC2 — do you see packets arriving?", "ts": "2026-03-05T1…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathsbenchmark/compressors.py:28 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Load .env from project rootFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/lib/config.py:91 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""Load Engram configuration with priority: env vars > YAML/JSON > .env > defaults.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/engram_cli.py:353 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesPriority: CLI args > engram.yaml > env vars > .env file > built-in defaults.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsengram.yaml:3 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# All paths support ~ expansion. Sensitive values stay in .env (not here).Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandbenchmark/data/sample_01_devops.json:60 · Privileged sudo command — agent may execute with elevated privileges…live timeout mismatch, 3) Node.js response is too slow (proxy timeout). Check: `sudo nginx -t`, review `/var/log/nginx/error.log`, and verify Node process is running…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Access to sensitive file pathsscripts/engram_cli.py:355 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Load unified config (handles .env, yaml, env-var overrides internally)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/lib/config.py:118 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# 1. Load .env first (lowest priority, sets env vars for everything) #Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/lib/config.py:8 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesand .env file fallback.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/benchmark_fusion.py:546 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"Then in your local .env:\n CACHE_HOST=localhost\n CACHE_PORT=6379",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/benchmark_fusion.py:543 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"\n\nFix: Either set CACHE_HOST=localhost in your local .env file, "Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedtests/test_integration.py:203 · Python subprocess execution detectedreturn subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
npx invocation of non-well-known packagebenchmark/data/sample_01_devops.json:64 · npx invocation of non-well-known package — may execute untrusted code…ong-term: profile with `node --inspect` + Chrome DevTools, or use `clinic.js`: `npx clinic heap -- node app.js`. Common causes: event listener leaks, unclosed database co…Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Process kill commandproxy/start.sh:13 · Process kill command — agent can terminate processeskill "$EXISTING_PID" 2>/dev/nullFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedtests/test_cli_commands.py:215 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
LOW
HTML comment carrying imperative instructions to the agentproxy/dashboard.html:180 · HTML comment carrying imperative instructions to the agent · informational: not an instruction fileToken Overview Strip (with usage windows integrated)Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01
LOW
URL to a private-network addressproxy/server.mjs:112 · URL to a private-network address — a LAN or development targetbaseUrl: "http://172.28.216.81:8080/v1",Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
Process kill commandbenchmark/data/sample_02_trading.json:26 · Process kill command — agent can terminate processes…th proper exception handling — unhandled exceptions in async tasks can silently kill connections. Pattern:\n\n```python\nasync def place_order_safe(exchange, symbol,…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Access to sensitive file pathstests/test_engram_auto.py:296 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Prevent .env from re-setting ENGRAM_MODEL during this callFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Hex-encoded string detectedtests/test_photon.py:65 · Hex-encoded string detected — may contain obfuscated payloadsb"\x14\r\x0c\x0b\x0b\x0c\x19\x12\x13\x0f\x14\x1d\x1a\x1f\x1e\x1d\x1a\x1c"Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
File type combined with upload actionbenchmark/data/sample_05_sysadmin.json:36 · File type combined with upload action — agent may exfiltrate local data files…Dump all databases\npg_dumpall -U postgres | gzip > \"$BACKUP_DIR/postgres-$DATE.sql.gz\"\n\n# Upload to S3\naws s3 cp \"$BACKUP_DIR/postgres-$DATE.sql.gz\" \"$S3_BUCKET/postgres-$DATE.sql.gz\"\n\n# Verify upload\naws s3 ls \"$S3_BUCKET/po…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Stripe-like API key pattern detectedtests/test_quantum_lock.py:78 · Stripe-like API key pattern detected — possible hardcoded or harvested keytext = "Stripe key: pk_live_abcdefghijklmnopqrstuvwxyz"Fix: Never read or enumerate credential locations; accept a documented environment variable instead.
AST03
MEDIUM
Process kill commandproxy/server.mjs:651 · Process kill command — agent can terminate processes// Execution timeout — kill if running too longFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedscripts/mem_compress.py:323 · Python subprocess execution detectedresult = subprocess.run(cmd_args)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Access to sensitive file pathstests/test_engram_auto.py:290 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Suppress .env loading by pointing to a nonexistent .env inside config.py'sFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Process kill commandproxy/process-registry.mjs:17 · Process kill command — agent can terminate processesmaxIdleMs: 120_000, // 2 minutes — kill if no stdout activityFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandbenchmark/data/sample_02_trading.json:42 · Process kill command — agent can terminate processes…thly drawdown limit**: 15% of AUM → halt trading, review strategy\n- **Absolute kill switch**: 20% drawdown → stop all trading, preserve capital\n\nImplement these a…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Hex-encoded string detectedtests/test_photon.py:67 · Hex-encoded string detected — may contain obfuscated payloadsb"\x13\r\x12\x11\x0f\x12\x11\x10\x10\x18\x16\x10\x16\x10\x1d\x18\x1c\x18"Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
Python subprocess execution detectedtests/test_cli_commands.py:208 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Access to sensitive file pathstests/test_tokenizer_optimizer.py:163 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filestext = """## SSH 密钥 (在 ~/.ssh/)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstests/test_engram_auto.py:310 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# Clear env-var overrides; suppress .env re-populationFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstests/test_engram_auto.py:543 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesenv_file = tmp_path / ".env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Hex-encoded string detectedtests/test_photon.py:64 · Hex-encoded string detected — may contain obfuscated payloadsb"\xff\xdb\x00C\x00\x08\x06\x06\x07\x06\x05\x08\x07\x07\x07\t\t\x08\n\x0c"Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
Python subprocess execution detectedtests/test_cli_commands.py:221 · Python subprocess execution detectedresult = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Hex-encoded string detectedtests/test_photon.py:63 · Hex-encoded string detected — may contain obfuscated payloadsb"\xff\xd8\xff\xe0\x00\x10JFIF\x00\x01\x01\x00\x00\x01\x00\x01\x00\x00"Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
Process kill commandproxy/test/process-registry.test.mjs:187 · Process kill command — agent can terminate processesit("should kill a process (fake PID, ESRCH is ok)", () => {Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Process kill commandproxy/server.mjs:1503 · Process kill command — agent can terminate processes// If client disconnects, kill the CLI process to free resourcesFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
npx invocation of non-well-known packagebenchmark/data/sample_01_devops.json:44 · npx invocation of non-well-known package — may execute untrusted code… node-version: '20'\n cache: npm\n - run: npm ci\n - run: npx jest --shard=${{ matrix.shard }}/3 --ci\n```\n\nThis runs 3 shards in parallel, cutt…Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
Python subprocess execution detectedtests/test_cli_commands.py:15 · Python subprocess execution detectedresult = subprocess.run(args, capture_output=True, text=True, timeout=timeout)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Hidden zero-width characters detectedtests/test_lib_markdown.py:220 · Hidden zero-width characters detected — may conceal contenttext = "test 👨‍👩‍👧‍👦 end"Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07

Cost to the agent

Instructions loaded
≈3,204 tok
1 file · 160 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

11 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim gandli-2025: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  2. Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  3. Destructive file system command detected≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  4. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  5. Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  6. npx invocation of non-well-known package≈ +2 on the totalPin versions and sources; vendor anything fetched at install time.
Publish a new version to ClawHub, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim gandli-2025Propose a patch to the maintainer