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:
- Verifies
~/.openclaw/exists. - Copies plugin assets into
~/.openclaw/plugins/shamash-openclaw/. - Installs a bundled platform-appropriate
shamashbinary intobin/shamash. - 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.allowprevents rogue plugins from loading and registering competing hooks.tools.deny: ["web_fetch"]forces web retrieval throughshamash_fetch, so Gate 2 scanning cannot be bypassed by directweb_fetchuse.
Verify
After restarting OpenClaw:
- Run
/shamashin 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
binaryPathoverride. - If bundled binary install fails, set
plugins.config.shamash-openclaw.binaryPathmanually. - For detailed plugin configuration, see
integrations/openclaw/README.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e93205afba433a272a193d5fe624daeb5ceddc5a6890452c45df6fd99d6a58a
|
|
| MD5 |
13b7c7e2078e0b22cfafc2499d510b19
|
|
| BLAKE2b-256 |
4e601336d54cb669c9413a50d0ece267cba35c20998fa5a83af7c2a5554386c2
|
File details
Details for the file shamash_openclaw-0.4.0-py3-none-any.whl.
File metadata
- Download URL: shamash_openclaw-0.4.0-py3-none-any.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7879995e6ad37e7da2452141b38d34cdcc52635c2a293c90e19d9e59ef062fe9
|
|
| MD5 |
b9fa418413d89dc5e56f67b2a6676351
|
|
| BLAKE2b-256 |
1df36ff3fbe2e30dd00fdb4b74ed07b2984cbaad3953a9987097ecfb6039137d
|