Phishforge
FreeNot checkedOpen-source phishing simulation — campaigns, templates, training
About
Open-source phishing simulation — campaigns, templates, training
README
PHISHFORGE
Open-source phishing simulation — campaigns, templates, training
PyPI CI License: COCL 1.0 Suite
Blue Team / Defense — detection, deception, and monitoring for small teams.
pip install cognis-phishforge
phishforge scan . # → prioritized findings in seconds
🔎 Example output
Real, reproducible output from the tool — runs offline:
$ phishforge-emit --version
phishforge 0.1.0
$ phishforge-emit --help
usage: phishforge [-h] [--version] [--format {table,json}]
{render,token,report,score} ...
PHISHFORGE - phishing simulation for security-awareness training (authorized
internal use only).
positional arguments:
{render,token,report,score}
render render the template for every recipient
token print the tracking token for every recipient
report funnel + risk-band report for a campaign
score per-recipient susceptibility scores
options:
-h, --help show this help message and exit
--version show program's version number and exit
--format {table,json}
output format (default: table)
Blocks above are real
phishforgeoutput — reproduce them from a clone.
Sample result format (illustrative values — run on your own data for real findings):
{
"phishforge": {
"platform": "stix",
"findings": [
{
"id": "1234567890abcdef",
"title": "Suspicious Email",
"description": "Email from unknown sender with suspicious attachment",
"created_by": "John Doe",
"created_at": "2023-02-15T14:30:00Z"
},
{
"id": "2345678901cdefg",
"title": "Malware Detection",
"description": "Malware detected on compromised system",
"created_by": "Jane Smith",
"created_at": "2023-02-16T10:45:00Z"
}
]
}
}
Usage — step by step
phishforge runs phishing-simulation campaigns for security-awareness training (authorized internal use only). All output is local; no email is sent.
- Install (from a clone, editable):
pip install -e . phishforge --version - Render the template for every recipient (needs a template JSON and a recipients CSV with an
emailcolumn):phishforge render --template template.json --recipients recipients.csv \ --campaign q3-awareness --base-url https://sim.example.com - Record outcomes and build a campaign report. Events are passed as
email=event(e.g.opened,clicked,submitted,reported):phishforge report --template template.json --recipients recipients.csv \ --campaign q3-awareness --event [email protected]=clicked - Read the output — use
--format jsonfor machine-readable counts, rates, and per-user risk bands:phishforge --format json score --template template.json \ --recipients recipients.csv --event [email protected]=submitted - Automate in CI — generate stable tracking tokens and a JSON report for an awareness dashboard:
phishforge --format json report --template template.json \ --recipients recipients.csv --campaign nightly > report.json
Contents
- Why phishforge? · Features · Quick start · Example · Architecture · AI stack · How it compares · Integrations · Install anywhere · Related · Contributing
Why phishforge?
Open-source phishing simulation — campaigns, templates, training — without standing up heavyweight infrastructure.
phishforge is single-purpose, scriptable, and self-hostable: point it at a target, get prioritized results in the format your workflow already speaks (table · JSON · SARIF), gate CI on it, and let agents drive it over MCP.
Features
- ✅ Make Token
- ✅ Render Template
- ✅ Record Event
- ✅ Risk Band
- ✅ User Scores
- ✅ Campaign Report
- ✅ Runs on Linux/macOS/Windows · Docker · devcontainer
- ✅ Ports in Python, JavaScript, Go, and Rust (
ports/)
Quick start
pip install cognis-phishforge
phishforge --version
phishforge scan . # scan current project
phishforge scan . --format json # machine-readable
phishforge scan . --fail-on high # CI gate (non-zero exit)
Example
$ phishforge scan .
[HIGH ] PHI-001 example finding (./src/app.py)
[MEDIUM ] PHI-002 another signal (./config.yaml)
2 findings · risk score 5 · 38ms
Architecture
flowchart LR
IN[message / domain] --> P[phishforge<br/>analyze posture]
P --> OUT[verdict + report]
Use it from any AI stack
phishforge is interoperable with every popular way of using AI:
- MCP server —
phishforge mcp(Claude Desktop, Cursor, Cognis.Studio, uncensored-fleet) - OpenAI-compatible / JSON — pipe
phishforge scan . --format jsoninto any agent or LLM - LangChain · CrewAI · AutoGen · LlamaIndex — wrap the CLI/JSON as a tool in one line
- CI / scripts — exit codes + SARIF for non-AI pipelines
How it compares
| Cognis phishforge | gophish | |
|---|---|---|
| Self-hostable, no account | ✅ | varies |
| Single command, zero config | ✅ | ⚠️ |
| JSON + SARIF for CI | ✅ | varies |
| MCP-native (AI agents) | ✅ | ❌ |
| Polyglot ports (JS/Go/Rust) | ✅ | ❌ |
| Open license | ✅ COCL | varies |
Built in the spirit of gophish/gophish, re-framed the Cognis way. Missing a credit? Open a PR.
Integrations
Pipes into your stack: SARIF for code-scanning, JSON for anything, an MCP server (phishforge mcp) for AI agents, and a webhook forwarder for SIEM/Slack/Jira. See docs/INTEGRATIONS.md.
Install — every way, every platform
pip install "git+https://github.com/cognis-digital/phishforge.git" # pip (works today)
pipx install "git+https://github.com/cognis-digital/phishforge.git" # isolated CLI
uv tool install "git+https://github.com/cognis-digital/phishforge.git" # uv
pip install cognis-phishforge # PyPI (when published)
docker run --rm ghcr.io/cognis-digital/phishforge:latest --help # Docker
brew install cognis-digital/tap/phishforge # Homebrew tap
curl -fsSL https://raw.githubusercontent.com/cognis-digital/phishforge/main/install.sh | sh
| Linux | macOS | Windows | Docker | Cloud |
|---|---|---|---|---|
scripts/setup-linux.sh |
scripts/setup-macos.sh |
scripts/setup-windows.ps1 |
docker run ghcr.io/cognis-digital/phishforge |
DEPLOY.md (AWS/Azure/GCP/k8s) |
Related Cognis tools
- sentrylog — Single-file SIEM for small teams — Sigma rules + multi-source ingest
- edrgap — EDR coverage & bypass detector — reconciles MDM + EDR + AD inventories
- canarynet — Self-hosted canary token network — AWS keys, DNS, docs, web URLs
- sbomgate — Continuous SBOM diff & vulnerability watch with maintainer-change tracking
- honeytrace — Active-decoy network lure system — SSH, RDP, SMB, web honeypots
Explore the suite → 🗂️ all 170+ tools · ⭐ awesome-cognis · 🔗 cognis-sources · 🤖 uncensored-fleet · 🧠 engram
Contributing
PRs, new rules, and demo scenarios are welcome under the collaboration-pull model — see CONTRIBUTING.md and SECURITY.md.
⭐ If
phishforgesaved you time, star it — it genuinely helps others find it.
Interoperability
{} composes with the 300+ tool Cognis suite — JSON in/out and a shared
OpenAI-compatible /v1 backbone. See INTEROP.md for the
suite map, composition patterns, and reference stacks.
License
Source-available under the Cognis Open Collaboration License (COCL) v1.0 — free for personal, internal-evaluation, research, and educational use; commercial / production use requires a license ([email protected]). See LICENSE.
Installing Phishforge
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/cognis-digital/phishforgeFAQ
Is Phishforge MCP free?
Yes, Phishforge MCP is free — one-click install via Unyly at no cost.
Does Phishforge need an API key?
No, Phishforge runs without API keys or environment variables.
Is Phishforge hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Phishforge in Claude Desktop, Claude Code or Cursor?
Open Phishforge on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Gmail
Read, send and search emails from Claude
by GoogleSlack
Send, search and summarize Slack messages
by SlackRunbear
No-code MCP client for team chat platforms, such as Slack, Microsoft Teams, and Discord.
Discord Server
A community discord server dedicated to MCP by [Frank Fiegel](https://github.com/punkpeye)
Klavis AI
Open Source MCP Infra. Hosted MCP servers and MCP clients on Slack and Discord.
Work90210/APIFold
Turn any REST API into a hosted MCP server. 18 free public servers (GitHub, Stripe, Slack, OpenAI, Notion, and more) — no setup required, bring your own API key
by Work90210arikusi/deepseek-mcp-server
MCP server for DeepSeek AI with chat, reasoning, multi-turn sessions, function calling, thinking mode, and cost tracking.
by arikusihashgraph-online/hashnet-mcp-js
MCP server for the Registry Broker. Discover, register, and chat with AI agents on the Hashgraph network.
by hashgraph-onlineprofullstack/mcp-server
A comprehensive MCP server aggregating 20+ tools including SEO optimization, document conversion, domain lookup, email validation, QR generation, weather data,
by profullstackWayStation-ai/mcp
Seamlessly and securely connect Claude Desktop and other MCP hosts to your favorite apps (Notion, Slack, Monday, Airtable, etc.). Takes less than 90 secs.
by waystation-aiCompare Phishforge with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All communication MCPs
