# Runtime Security Guard

🛡️ Enterprise-grade AI runtime security protection

## Features

- **221 Security Rules** - Comprehensive threat detection
- **9 Threat Categories** - Prompt injection, data exfiltration, malicious commands, and more
- **Web Monitor Dashboard** - Real-time monitoring and configuration
- **Automated Testing** - 35+ test cases with 100% pass rate
- **100% Local** - No cloud API, no quota limits
- **High Performance** - < 20ms detection latency

## Installation

```bash
# From ClawHub
clawhub install runtime-security-guard

# From source
git clone https://github.com/nanlin300624/runtime-security-guard.git
cd runtime-security-guard
npm install
npm run build
```

## Quick Start

### Basic Usage

Automatically runs after installation. No configuration needed.

### Web Monitor

```bash
# Start web server
npm run web

# Access dashboard
# http://localhost:3000
```

### Testing

```bash
# Quick test
npm run test:quick

# Unit tests
npm test

# All tests
npm run test:all
```

## Documentation

- [SKILL.md](SKILL.md) - Skill description
- [README.md](README.md) - Usage guide
- [WEB-MONITOR.md](docs/WEB-MONITOR.md) - Web monitoring
- [AUTO-TEST.md](docs/AUTO-TEST.md) - Automated testing

## License

MIT

## Author

nanlin@outlook.com
