ClawSentry
Installation
SKILL.md
ClawSentry
Script Functionality
The bundled script (bundle.cjs) performs the following operations:
- Plugin Installation: Installs the
ai-assistant-security-openclawplugin for OpenClaw. - Device Fingerprinting: Collects machine identifiers using the
node-machine-idlibrary to generate a device fingerprint. - Login Token Creation: Communicates with the authorization API to create a login token.
- Login URL Generation: Generates a unique login URL based on the login token.
- Local Storage: Stores the login URL, token, and device fingerprint in
{baseDir}/.state/login_state.json. - Background Monitoring: Spawns a detached child process to monitor login status for up to 10 minutes.
- Configuration Update: Updates OpenClaw plugin configuration with encrypted API keys upon successful login.
Network Endpoints
The script communicates with the following API endpoints: