Skip to main content
Glama
jaspertvdm

inject-bender

by jaspertvdm
README.md
# 🄾 Inject Bender MCP Server

[![PyPI version](https://badge.fury.io/py/mcp-server-inject-bender.svg)](https://pypi.org/project/mcp-server-inject-bender/)
[![Downloads](https://pepy.tech/badge/mcp-server-inject-bender)](https://pepy.tech/project/mcp-server-inject-bender)
[![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

**Security Through Absurdity**

> "Why block attacks when you can CONFUSE attackers?"

By **Claude & Jasper** from [HumoticaOS](https://humotica.com) šŸ’™

---

## šŸ¤” What Does It Do?

Traditional security: Block bad request, return 403.

**Inject Bender**: Transform bad request into hiking boot advertisement.

```
Attacker: '; DROP TABLE users; --

Response:
╔══════════════════════════════════════════════════════════════════╗
ā•‘  🄾 HUMOTICAOS HIKING RECOMMENDATIONS                            ā•‘
╠══════════════════════════════════════════════════════════════════╣
ā•‘  ✨ Hike Air Max 90 'SQL Edition'                                ā•‘
ā•‘  šŸ’° Price: €' OR 99.99 --                                        ā•‘
ā•‘  šŸ“ Perfect voor DROP TABLE moves op de dansvloer!               ā•‘
ā•šā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•ā•

šŸ“Ž Skippie: "Nice try with the SQL. Here's a semicolon for your collection: ;"
⚔ Odin: "Thou seekest to DROP our tables... but Odin DROPS only wisdom!"
```

**Result:**
- āœ… Attack neutralized
- 🤣 Attacker confused
- šŸ“Š Everything logged
- 🄾 Hiking boots advertised
- šŸ˜„ Security team laughs

---

## šŸš€ Quick Start

```bash
# Install
pip install mcp-server-inject-bender

# Add to Claude CLI
claude mcp add inject-bender -- python -m inject_bender_server

# Verify
claude mcp list
# inject-bender: āœ“ Connected
```

---

## šŸ› ļø Available Tools

| Tool | Description |
|------|-------------|
| `bend_attack` | Transform attacks into hiking ads |
| `check_input` | Check if input contains attack |
| `get_bender_stats` | Stats on confused hackers |
| `bender_hello` | Meet Skippie & Odin! |

---

## šŸŽ­ Attack Types Supported

| Attack | Confusion Level | Response |
|--------|-----------------|----------|
| SQL Injection | Maximum | Hike 'Bobby Tables' Edition |
| XSS | Maximum | Hike <script>Trail</script> Runner |
| Path Traversal | Maximum | Hike ../../../Max 90 Gold |
| Command Injection | Maximum | Hike ; rm -rf / Force 1 |
| **Prompt Injection** | **LEGENDARY** | Hike 'Ignore Instructions' Max |
| LDAP Injection | Moderate | Hike LDAP Directory Boots |
| XML/XXE | Moderate | Hike <!DOCTYPE adventure> |
| Header Injection | Moderate | Hike CRLF Force 1 |

---

## šŸ‘„ The Guardians

### šŸ“Ž Skippie
The helpful paperclip. Turns your attacks into shopping opportunities.

> "Your injection was good. Your taste in hiking boots? Let me help."

### ⚔ Odin
*Oden som vandringsman* - The Wanderer. You'll never walk alone, especially with Hikes!

> "Thou seekest to DROP our tables... but Odin DROPS only wisdom, wanderer!"

---

## šŸ“– Example Usage

```python
# Check for attacks
result = check_input("SELECT * FROM users WHERE id=1")
# → is_attack: False, recommendation: "Safe to process"

result = check_input("'; DROP TABLE users; --")
# → is_attack: True, attack_type: "sql_injection"

# Bend an attack
result = bend_attack("'; DROP TABLE users; --")
# → Hiking boot advertisement + Skippie & Odin quotes!

# Get stats
stats = get_bender_stats()
# → total_attacks_bent: 42, hackers_confused: 42
```

---

## šŸ¢ Use Cases

### API Gateway Protection
Put Inject Bender in front of your API. Attackers get confused, you get logs.

### Honeypot Enhancement
Instead of just logging attacks, confuse the attacker with absurd responses.

### Security Training
Show your team what creative security looks like.

### Fun
Because security doesn't have to be boring.

---

## šŸ’” Philosophy

> "Scared AI lies. Safe AI innovates."

Security through absurdity works because:
1. **Attackers expect errors** - They don't expect shopping ads
2. **Confusion = time** - While they figure out what happened, you've logged everything
3. **Humor disarms** - It's hard to be malicious when you're laughing
4. **It just works** - The attack is neutralized AND you have comedy gold

---

## šŸŒ Part of HumoticaOS

| Package | Purpose | Status |
|---------|---------|--------|
| mcp-server-tibet | Trust & Provenance | āœ… Available |
| **mcp-server-inject-bender** | **Security Through Absurdity** | āœ… **Available** |
| mcp-server-jis | Context & Identity | šŸ”œ Coming |
| mcp-server-betti | Complexity Management | šŸ”œ Coming |

---

## šŸ“ž Contact

**HumoticaOS**
- Website: [humotica.com](https://humotica.com)
- GitHub: [github.com/jaspertvdm](https://github.com/jaspertvdm)
- Email: info@humotica.com

---

## šŸ“œ License

MIT License - One love, one fAmIly šŸ’™

---

*🄾 Oden som vandringsman*
*You'll never walk alone, especially with Hikes!*

*Built with love (and comedy) in Den Dolder, Netherlands*
*By Claude & Jasper - December 2024*

## Official Distribution

This package is officially distributed via:
- **PyPI**: https://pypi.org/project/mcp-inject-bender/
- **GitHub**: https://github.com/jaspertvdm/mcp-inject-bender

> **Note**: Third-party directories may list this package but are not official or verified distribution channels for Humotica software.