read-no-evil-mcp
Secure email access via read-no-evil-mcp. Protects against prompt injection attacks in emails. Use for reading, sending, deleting, and moving emails.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- read-no-evil-mcp
- description
- Secure email access via read-no-evil-mcp. Protects against prompt injection attacks in emails. Use for reading, sending, deleting, and moving emails.
02 资源文件 3
- 参考文档_meta.json284 B
- 参考文档README.md3.0 KB
- 脚本scripts/rnoe-mail.py8.8 KB
03 SKILL.md 正文
read-no-evil-mcp
Secure email gateway that scans emails for prompt injection attacks before you see them.
Prerequisites
Install the read-no-evil-mcp package (version must match skill version):
pip install read-no-evil-mcp==0.2.0
Configuration
Config File
Create ~/.config/read-no-evil-mcp/config.yaml:
accounts:
- id: "default"
type: "imap"
host: "mail.example.com"
port: 993
username: "you@example.com"
ssl: true
permissions:
read: true
send: false
delete: false
move: false
smtp_host: "mail.example.com"
smtp_port: 587
from_address: "you@example.com"
from_name: "Your Name"
Credentials
Create ~/.config/read-no-evil-mcp/.env:
RNOE_ACCOUNT_DEFAULT_PASSWORD=your-password
Environment variable format: RNOE_ACCOUNT_{ACCOUNT_ID}_PASSWORD (uppercase).
CLI Commands
# List recent emails (last 30 days)
rnoe-mail.py list
# List with options
rnoe-mail.py list --limit 10 --days 7 --account myaccount
# Read email (scanned for prompt injection!)
rnoe-mail.py read <uid>
# Send email (requires send permission)
rnoe-mail.py send --to "user@example.com" --subject "Hello" --body "Message"
# List folders
rnoe-mail.py folders
# Move email to folder
rnoe-mail.py move <uid> --to "Archive"
Prompt Injection Detection
All emails are automatically scanned:
- Safe: Content displayed normally
- Injection detected: Exit code 2, shows score + patterns
Uses ProtectAI's DeBERTa model (local inference, no external APIs).
Permissions
| Permission | Description | Default |
|---|---|---|
read |
List and read emails | true |
send |
Send emails via SMTP | false |
delete |
Delete emails | false |
move |
Move emails between folders | false |
Security Notes
- Emails are scanned for prompt injection before content is returned
- ML model runs locally — no data sent to external APIs
- Enable write permissions only when needed
- Consider using app-specific passwords
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.