performing-phishing-simulation-with-gophish

Fail

Audited by Socket on Mar 15, 2026

3 alerts found:

AnomalyObfuscated FileSecurity
AnomalyLOW
references/api-reference.md

The fragment serves as a legitimate tooling reference for conducting phishing simulations via the GoPhish API. It does not itself execute malicious code but introduces capabilities that could be misused for credential harvesting if deployed without proper controls. Security posture should emphasize authorization, consent, access controls, logging, and secure handling of credentials and collected data during campaigns.

Confidence: 59%Severity: 65%
Obfuscated FileHIGH
scripts/agent.py

This module is a straightforward GoPhish API client and CLI for managing phishing simulations. The code itself shows no obfuscated or hidden malicious payloads, no hard-coded exfiltration targets, and no dynamic code execution — so it is not malware in the conventional sense. However, it is inherently dual-use: when run with valid credentials against a GoPhish server it can create and manage phishing campaigns, which can be abused. Primary security concerns in this file are disabled TLS verification (verify=False and suppressed warnings), exposure of API keys via CLI arguments, lack of input validation, and absence of confirmation/auditing around campaign creation. Recommend enabling TLS verification, avoid passing API keys on command lines (use env vars or secured prompting), validate inputs (URLs and ids), and add confirmation/logging for destructive operations.

Confidence: 98%
SecurityMEDIUM
SKILL.md

SUSPICIOUS/HIGH-RISK: The skill is internally coherent and uses largely official GoPhish distribution paths, so it is not confirmed malware. However, it gives an AI agent offensive phishing capabilities, including sending phishing emails, hosting deceptive pages, and capturing credentials, which creates high real-world abuse risk even when described as authorized simulation.

Confidence: 90%Severity: 82%
Audit Metadata
Analyzed At
Mar 15, 2026, 01:54 PM
Package URL
pkg:socket/skills-sh/mukul975%2FAnthropic-Cybersecurity-Skills%2Fperforming-phishing-simulation-with-gophish%2F@9bc05271175faca723a9210bfb28efe002e451af