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

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.

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.0.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.0-py3-none-any.whl (2.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shamash_openclaw-0.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 8e93205afba433a272a193d5fe624daeb5ceddc5a6890452c45df6fd99d6a58a
MD5 13b7c7e2078e0b22cfafc2499d510b19
BLAKE2b-256 4e601336d54cb669c9413a50d0ece267cba35c20998fa5a83af7c2a5554386c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shamash_openclaw-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7879995e6ad37e7da2452141b38d34cdcc52635c2a293c90e19d9e59ef062fe9
MD5 b9fa418413d89dc5e56f67b2a6676351
BLAKE2b-256 1df36ff3fbe2e30dd00fdb4b74ed07b2984cbaad3953a9987097ecfb6039137d

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