Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Phishforge

FreeNot checked

Open-source phishing simulation — campaigns, templates, training

GitHubEmbed

About

Open-source phishing simulation — campaigns, templates, training

README

PHISHFORGE

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 phishforge output — 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.

  1. Install (from a clone, editable):
    pip install -e .
    phishforge --version
    
  2. Render the template for every recipient (needs a template JSON and a recipients CSV with an email column):
    phishforge render --template template.json --recipients recipients.csv \
        --campaign q3-awareness --base-url https://sim.example.com
    
  3. 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
    
  4. Read the output — use --format json for machine-readable counts, rates, and per-user risk bands:
    phishforge --format json score --template template.json \
        --recipients recipients.csv --event [email protected]=submitted
    
  5. 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?

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 serverphishforge mcp (Claude Desktop, Cursor, Cognis.Studio, uncensored-fleet)
  • OpenAI-compatible / JSON — pipe phishforge scan . --format json into 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 phishforge saved 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.


Cognis Digital · one of 170+ tools in the Cognis Neural Suite · Making Tomorrow Better Today

from github.com/cognis-digital/phishforge

Installing Phishforge

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/cognis-digital/phishforge

FAQ

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

Compare Phishforge with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All communication MCPs