skills/mukul975/anthropic-cybersecurity-skills/executing-phishing-simulation-campaign/Gen Agent Trust Hub
executing-phishing-simulation-campaign
Warn
Audited by Gen Agent Trust Hub on Sep 22, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/agent.pyprocesses high-value credentials, including a GoPhish API key and SMTP server passwords. These credentials are provided as plaintext command-line arguments and handled as in-memory variables. - [COMMAND_EXECUTION]: The agent script performs network operations using the
requestslibrary to user-specified URLs. TheGoPhishClientclass defaults toverify_ssl=False, which disables SSL certificate validation for all API interactions, creating a vulnerability to interception. - [DATA_EXFILTRATION]: The
create_sending_profilemethod transmits plaintext SMTP credentials to the remote GoPhish server. If the server URL is malicious or compromised, these credentials will be exfiltrated to an unauthorized party. - [INDIRECT_PROMPT_INJECTION]: The skill processes external data in the form of target email lists in
scripts/agent.py. Ingestion points include email, name, and position fields. Boundary markers are absent. The capability inventory includes network POST operations to the GoPhish API server. No sanitization or validation is applied to the input data before interpolation, creating a vulnerability surface for schema confusion or tool output poisoning.
Audit Metadata