npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@omni-shield/ai-assistant-security-openclaw

v1.1.0

Published

AI Assistant Security plugin for OpenClaw, to protect your LLM models and Agent lifecycle (including tool calls) from harmful requests.

Downloads

2,716

Readme

AI Assistant Security Plugin

@omni-shield/ai-assistant-security-openclaw is a security plugin designed for OpenClaw to protect your Large Language Models (LLM) and Agent lifecycle from harmful requests and sensitive data leakage.

Key Features

  • Multi-dimensional Protection: Covers LLM requests, pre-tool calls (Before Tool Call), and tool result persistence (Tool Result Persist).
  • Global Interception: Hooks into global.fetch to provide automated security auditing for underlying model calls.
  • Smart Degradation (Circuit Breaker): Built-in error handling and self-healing logic. Automatically enters degradation mode when security API failures exceed the threshold, ensuring business continuity.
  • Session Synchronization: Automatically synchronizes OpenClaw session files to mark intercepted content when a request is blocked.
  • Risk Label Support: Supports returning specific risk labels (e.g., PII, Prompt Injection) and displaying them in block messages.

Quick Start

Bundled plugins are disabled by default in OpenClaw. You can enable it using the following command:

openclaw plugins enable ai-assistant-security-openclaw

Restart the Gateway after enabling.

Configuration

Configure the plugin in your OpenClaw configuration file:

plugins:
  ai-assistant-security-openclaw:
    enabled: true
    config:
      endpoint: "https://your-security-api-endpoint"  # Security API endpoint (Required)
      apiKey: "your-api-key-here"                     # API Key (Required)
      appId: "your-app-id"                            # Application Identifier (Required)
      timeoutMs: 5000                                 # API timeout in ms, default is no limit
      logRecord: true                                 # Enable plugin runtime logs, default is false
      failureThreshold: 3                             # Failures before entering degradation, default is 3
      retryInterval: 60                               # Initial retry interval in seconds after degradation, default is 60
      maxRetryInterval: 3600                          # Max retry interval in seconds, default is 
      enableFetch: true                                   # Whether to hook global.fetch
      enableBeforeToolCall: true                          # Whether to audit before tool execution
      enableToolResultPersist: false                       # Whether to audit before persisting tool results

Workflow

  1. Registration & Validation: Validates the availability of endpoint, apiKey, and appId during startup.
  2. Security Audit:
    • LLM Requests: Monitors inputs sent to models.
    • Pre-Tool Call: Audits the tool name and its parameters before execution.
    • Tool Result: Audits raw data returned by tools to prevent sensitive information leakage.
  3. Interception: If a risk is detected, the plugin returns a block message or rewrites the response content accordingly.
  4. Disaster Recovery: If the security service is unavailable, the plugin automatically bypasses checks to prioritize business availability and periodically probes for service recovery.