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

Uploaded Python 3

File details

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

File metadata

  • Download URL: shamash_openclaw-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 091145b0b53ae0700a103d77ecdfafa9ba86eb7dc713e2261aba2303151643e7
MD5 0b357d28237ed5377bb86e0c60a9fe12
BLAKE2b-256 42bf7793d429ce00745c71c731b524d9e7bcf5cbd45de929e919b7d63e4a9a01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for shamash_openclaw-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9724840d464c423ebb60b2a1037cdbb2de44140ee8629ee4fd8f74b66bb4867e
MD5 af7f09cc99c570b48307861dcfa87df8
BLAKE2b-256 98cabdebf36a7d18798a945a5c4f6e7eca6053ae1c131209bdc362f3e9690ab2

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