Skip to main content

Shamash 4-gate security firewall for OpenClaw — one-command setup for prompt injection, jailbreak, and data exfiltration detection

Project description

shamash-openclaw (pip)

Python package wrapper that installs the OpenClaw Shamash plugin and a bundled platform-compatible Shamash binary.

Install

pip install shamash-openclaw

Upgrade

pip install --upgrade shamash-openclaw
shamash-openclaw-setup

After upgrading, re-run shamash-openclaw-setup to update the plugin files and binary in ~/.openclaw/plugins/shamash-openclaw/. Then restart OpenClaw.

One-command setup

shamash-openclaw-setup

This command:

  1. Verifies ~/.openclaw/ exists.
  2. Copies plugin assets into ~/.openclaw/plugins/shamash-openclaw/.
  3. Installs a bundled platform-appropriate shamash binary into bin/shamash.
  4. Registers plugin load path in ~/.openclaw/openclaw.json.

Recommended config hardening

Set explicit plugin/tool restrictions in ~/.openclaw/openclaw.json:

{
  "plugins": {
    "allow": ["shamash-openclaw"]
  },
  "tools": {
    "deny": ["web_fetch"]
  }
}

Why both settings are required:

  • plugins.allow prevents rogue plugins from loading and registering competing hooks.
  • tools.deny: ["web_fetch"] forces web retrieval through shamash_fetch, so Gate 2 scanning cannot be bypassed by direct web_fetch use.

Verify

After restarting OpenClaw:

  • Run /shamash in chat and confirm plugin status appears.
  • Check logs for Shamash 4-gate firewall active.

Changelog

  • 0.4.2 — Documentation update (upgrade instructions, changelog)
  • 0.4.1 — Fix Gate 1 blocking on Telegram (restore modelOverride mechanism), fix multi-line message extraction
  • 0.4.0 — Pattern chapter release (3,316 patterns, 57.7% detection, 3.38% FP)
  • 0.3.3 — Multi-channel envelope extraction
  • 0.3.0 — 4-gate architecture with configurable thresholds and telemetry

Notes

  • Bundled binaries are currently shipped for darwin/linux x64+arm64; unsupported platforms require manual binaryPath override.
  • If bundled binary install fails, set plugins.config.shamash-openclaw.binaryPath manually.
  • For detailed plugin configuration, see integrations/openclaw/README.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shamash_openclaw-0.4.2.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shamash_openclaw-0.4.2-py3-none-any.whl (2.5 MB view details)

Uploaded Python 3

File details

Details for the file shamash_openclaw-0.4.2.tar.gz.

File metadata

  • Download URL: shamash_openclaw-0.4.2.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for shamash_openclaw-0.4.2.tar.gz
Algorithm Hash digest
SHA256 e502e322be5f0533eeba27a58c6569be61bf472c5361fbd3d6b335c4adc680de
MD5 c52827742a5117aff077debbc9bc7eb7
BLAKE2b-256 d6861a6b269afab984764bbc98cedcf90555f39547c4c2a2dafe9e514ba8ffee

See more details on using hashes here.

File details

Details for the file shamash_openclaw-0.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for shamash_openclaw-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a397425f180e9e43a4d473c37ac8a16ea2458cd0c81eeb3b99d9c44e51d59b6e
MD5 d40364c10ea47052d078f0ddda1082bb
BLAKE2b-256 31ae62233bd39d9c8c97198e79749763e3db649c38c88ce51fa72ac4ad2e6207

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page