# Scam & Malware Chat Moderator

> Scan chat exports, comments and support tickets for scams, phishing, spam and malware. Free local pre-filter, OCR for screenshot scams, VirusTotal for attachments, LLM judge. No API keys required: your agent judges when none are set.

Scam & Malware Chat Moderator is a paid AI agent skill on Agensi by Adam Tamer, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7 (one-time purchase)
- Creator: [Adam Tamer](https://www.agensi.io/creators/adamt)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/scam-malware-chat-moderator
- Tags: security, social-media, python, content-moderation, spam-detection, scam-detection, phishing, malware

## About this skill

Extracted from a moderation bot that defended a live community against hacked-account scam blasts and malware drops.

### How it works

- **Free local pre-filter.** Ordinary chatter ("gg", "lol", "thanks!") is cleared instantly and never costs a model call. Only messages with a link, invite, mass-mention, scam keyword, image or risky file go further.
- **Judge once per blast.** A hacked account pasting the same scam into 50 channels is fingerprinted and judged once. Exactly one copy is marked as owning the ban/timeout.
- **Screenshot scams.** OCR (ocr.space) pulls text out of image-only scams like fake MrBeast giveaways.
- **Malware drops.** Executables and archives are checked against VirusTotal; confirmed malware is removed without an LLM call.
- **LLM judge.** Any OpenAI-compatible API (DeepSeek, OpenAI, Ollama...) returns a strict JSON verdict. Message text is passed as delimited untrusted data, hardened against prompt injection.
- **Fail-open.** Every service is optional and degrades on its own. With no keys at all, your agent judges the flagged items itself using the built-in rubric.

### Works with

Discord, Slack and Telegram exports, CSV comment dumps, support tickets, or a single suspicious message. Accepts .jsonl, .json, .csv and .txt, and recognises common field names (text/content/message, author/user/username, images, attachments).

### Output

One JSON verdict per message: remove / flag / none, confidence, category, reason, and evidence (signals, OCR text, VirusTotal report link). Heuristic or low-confidence results are only ever flagged for a human, never auto-removed. It recommends actions; it never deletes or bans anything on its own.

### Requirements

Python 3.9+, standard library only. Nothing to install.

## Requires

- Python
- Optional: OpenAI-compatible LLM API key (DeepSeek, OpenAI or local)
- Optional: ocr.space API key
- Optional: VirusTotal API key

## Known limitations

OCR scans only the first image per message. VirusTotal public API is limited to 4 requests per minute. Keyword heuristics are biased toward gaming and crypto communities.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Scam & Malware Chat Moderator skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill reduce the cost of moderating large chat logs?

This skill uses a tiered pipeline that first runs local heuristics to filter out safe messages. It then deduplicates identical content from the same author and only sends high-signal suspicious payloads to optional external judges like OCR.space, VirusTotal, or an LLM for final classification.

### Do I need to sign up for external services to use this skill?

You do not need any external accounts to use this skill because the agent can act as the manual judge for flagged content. However, you can optionally provide API keys for OCR.space, VirusTotal, or any OpenAI-compatible API to automate image text extraction, malware scanning, and high-volume judging.

### What kind of report or data output will I receive after a scan?

The skill generates a JSONL file where each message is assigned an action of remove, flag, or none. It also provides detailed evidence for these actions, including OCR text excerpts, VirusTotal report links, and a specific indicator if a message is a duplicate from a compromised account.

### What file types and data structures can this skill process?

You can provide a single message string or upload batch files in JSONL, CSV, or TXT formats. The skill is designed to recognize common export fields like author, content, and attachments, making it compatible with data from platforms like Discord, Telegram, or support ticket systems.

### Are there any specific limitations on image or file processing?

OCR analysis is limited to the first image per message and malware scanning is capped at three risky attachments per message. Additionally, the built-in keyword pre-filters are specifically optimized for gaming and crypto-related scams rather than general moderation.

### How should I instruct my agent to begin a moderation task?

You can ask your agent to audit a specific chat export for scams, scan a list of comments for spam, or check a specific file attachment for malware. You can also tell the agent to act as the judge for any messages the tool flags as needing review.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
