Skip to content
Conduit

mcp server

cybersec

Empowers the AI to perform penetration testing, vulnerability assessment, reconnaissance, and security reporting — all through natural language conversation.

sukirman1901/cyberseccommunitylistedunreviewed

Set up

Runs on your computer. Pick your agent and operating system.

This project does not publish an install method we can turn into a config. Follow the README instead.

README

synced Oct 28, 2026

Cybersec — AI Cybersecurity Plugin

180+ pure-Python MCP security tools + 23 pentesting methodology skills for AI coding agents.

Works with: Claude Code, Cursor, Codex, Gemini CLI, GitHub Copilot CLI, Kimi Code, OpenCode, Pi.

Empowers the AI to perform penetration testing, vulnerability assessment, reconnaissance, and security reporting — all through natural language conversation.


Table of Contents


Installation

Installation differs by harness. If you use more than one, install Cybersec separately for each one.

Python Prerequisites (all platforms)

git clone https://github.com/sukirman1901/cybersec.git
cd cybersec
python3 -m venv mcp/.venv
source mcp/.venv/bin/activate
pip install 'fastmcp>=3.4.2,<4' httpx dnspython 'impacket>=0.12.0'
deactivate

The MCP server needs FastMCP >=3.4.2,<4, httpx and dnspython. Target-specific calls require an initialized and explicitly authorized engagement in the same MCP session. See preflight and audit fixes for setup, result compatibility and enforcement limits.

Claude Code

Official Marketplace

  • Install the plugin from Anthropic's official marketplace:
    /plugin install cybersec@claude-plugins-official
    

Cybersec Marketplace

  • Register the marketplace:
    /plugin marketplace add sukirman1901/cybersec
    
  • Install the plugin:
    /plugin install cybersec@cybersec
    

Manual MCP Config

Create or edit .mcp.json in your project root:

{
  "mcpServers": {
    "cybersec": {
      "command": "/path/to/cybersec/mcp/.venv/bin/python3",
      "args": ["-m", "server"],
      "cwd": "/path/to/cybersec/mcp"
    }
  }
}

Cursor

  • In Cursor Agent chat, install from marketplace:
    /add-plugin cybersec
    
  • Or search for "cybersec" in the plugin marketplace.

The plugin auto-registers skills and hooks. You also need to add the MCP server to Cursor's MCP settings.

Codex

Available via the official Codex plugin marketplace.

Codex App

  • In the Codex app, click on Plugins in the sidebar.
  • Search for Cybersec in the Security section.
  • Click the + next to Cybersec and follow the prompts.

Codex CLI

  • Open the plugin search interface:
    /plugins
    
  • Search for Cybersec:
    cybersec
    
  • Select Install Plugin.

Gemini CLI

  • Install the extension:
    gemini extensions install https://github.com/sukirman1901/cybersec
    
  • Update later:
    gemini extensions update cybersec
    

The GEMINI.md file auto-loads the bootstrap context and tool mapping.

GitHub Copilot CLI

  • Register the marketplace:
    copilot plugin marketplace add sukirman1901/cybersec
    
  • Install the plugin:
    copilot plugin install cybersec@cybersec
    

Kimi Code

Available in Kimi Code's plugin marketplace.

  • Open Kimi Code's plugin manager:

    /plugins
    
  • Go to Marketplace > Cybersec and install it.

  • Or install directly from this repository:

    /plugins install https://github.com/sukirman1901/cybersec
    

OpenCode

OpenCode uses its own plugin install. The plugin auto-registers the MCP server and all skills — no manual MCP config needed.

  • Tell OpenCode:
    Fetch and follow instructions from https://raw.githubusercontent.com/sukirman1901/cybersec/refs/heads/main/.opencode/INSTALL.md
    

Add to your opencode.json:

{
  "plugin": ["cybersec@git+https://github.com/sukirman1901/cybersec.git"]
}

To pin a specific version:

{
  "plugin": ["cybersec@git+https://github.com/sukirman1901/cybersec.git#v1.0.0"]
}

Restart OpenCode. The plugin auto-registers the MCP server, skills directory, and bootstrap context.

Pi

Install Cybersec as a Pi package from this repository:

pi install git:github.com/sukirman1901/cybersec

For local development:

pi -e /path/to/cybersec

The Pi extension (.pi/extensions/cybersec.ts) loads skills and injects the bootstrap at session startup.


Quick Start

After installation, verify it works by asking your agent:

"scan port 80,443 on example.com" "check SSL for example.com" "enumerate subdomains for example.com" "audit example.com and generate a report"

The AI will automatically load the right skill and use the MCP tools.

OpenCode Agents

On OpenCode, press Tab to switch to the Pentester agent (red), then:

audit example.com

Or invoke subagents directly:

@recon gather intelligence on example.com
@vuln-analyst scan for vulnerabilities
@report-writer generate a report

How It Works

  1. You ask something like "find subdomains for target.com and check for open ports"
  2. The AI detects the intent → matches the cybersec-recon skill
  3. The skill provides a methodology (step-by-step guide)
  4. The AI calls MCP tools like subdomain_enum, port_scan, http_probe_target
  5. Results are analyzed and presented

The AI follows a standard pentesting methodology: Recon → OSINT → Scanning → Vulnerability Analysis → Web Testing → Bug Bounty → AD → Cloud → Password → AI → AI Safety → Desktop → Code Audit → Exploitation → Reporting

For continuous monitoring: CTEM runs in parallel — Discovery → Validation → Prioritization → Remediation in a continuous loop.

Example Session

User: "Test security for example.com"

The AI will:

  1. Load cybersec-recon skill → run whois_lookup, dns_lookup, subdomain_enum, crt_search
  2. Load cybersec-scanning skill → run port_scan, http_probe_target, ssl_check, waf_detection
  3. Load cybersec-vulns skill → run cve_search, vuln_scan
  4. Load cybersec-web skill → run tech_detect, cors_check, dir_bruteforce, auto-CAPTCHA detection
  5. Present findings in a structured report

MCP Server Setup

The Cybersec MCP server provides 180+ security tools via stdio transport using FastMCP.

For Non-OpenCode Platforms

On platforms that don't auto-register the MCP server (Claude Code, Cursor, Codex, Gemini, etc.), add the MCP server to your platform's MCP configuration:

{
  "mcpServers": {
    "cybersec": {
      "command": "/path/to/cybersec/mcp/.venv/bin/python3",
      "args": ["-m", "server"],
      "cwd": "/path/to/cybersec/mcp"
    }
  }
}

Verify MCP Server

echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | ./mcp/.venv/bin/python3 -m server

Expected: 180+ tools listed.


MCP Tools Reference

Core Scanners

ToolDescription
port_scanTCP port scanning with service detection
dns_lookupDNS record enumeration (A, AAAA, MX, NS, TXT, CNAME)
http_probe_targetHTTP/HTTPS service probing, tech stack & headers
dir_bruteforceDirectory/file brute-force on web targets
ssl_checkSSL/TLS certificate and protocol analysis
cve_searchCVE lookup by service name and version
waf_detectionWAF detection and fingerprinting
dork_searchGoogle dorking for exposed info
generate_reportPentest report generation (markdown/JSON)
subdomain_enumPassive subdomain enumeration (crt.sh, DNS brute, APIs)
param_discoveryHTTP parameter discovery
tech_detectWeb technology detection (CMS, frameworks, CDN)
vuln_scanCommon vulnerability scan (headers, paths, CVEs), including PHP2SHELL version assessment
php2shell_scanDedicated PHP2SHELL identification: bounded banner methods, phpinfo discovery, PHP presence and configuration evidence
whois_lookupQuery WHOIS for domain registration
asn_lookupASN information lookup (Team Cymru)
reverse_ipFind domains on same IP
crt_searchCertificate Transparency log search
cors_checkCORS misconfiguration testing
open_redirectOpen redirect vulnerability testing
graphql_introspectGraphQL introspection endpoint check
jwt_analyzeJWT token decode and security analysis
api_fuzzAPI endpoint fuzzing
smtp_enumSMTP user enumeration (VRFY, EXPN, RCPT)
smb_enumSMB service check (port 445)
snmp_enumSNMP service availability check
ssh_auditSSH server banner + algorithm audit
lfi_detectLocal/Remote File Inclusion testing
ssti_detectServer-Side Template Injection testing
xxe_detectXML External Entity injection testing
ssrf_detectServer-Side Request Forgery testing
sub_takeoverSubdomain takeover detection
origin_ip_discoveryOrigin IP behind CDN discovery
service_fingerprintDeep banner grabbing service fingerprint

PHP2SHELL detection

MCP tools identify CVE-2026-109618 and CVE-2026-109619 without PHP2SHELL exploit/load probes. The current server registers 209 tools.

  • Recommended for PHP2SHELL-only checks: php2shell_scan(target="https://your-authorized-host.example") performs normal GET/HEAD/OPTIONS and optional discovery of five common phpinfo pages. It is not the broad vuln_scan; no credential checks run. Default 8 requests (hard max 12), 200 KB decoded body limit per response, TLS verified, 30-second whole-scan deadline. Redirects must keep the same scheme, host and port (max 2 hops); HTTP 429 stops scanning. Use phpinfo_paths=false to disable diagnostic-page discovery.
  • vuln_scan(target="https://your-authorized-host.example") adds a php2shell assessment from existing response headers. Existing unrelated scan checks still run.
  • cve_search(service="php", version="8.4.26") includes offline version-based PHP2SHELL matches even if the NVD lookup fails.

php2shell.status is potentially_affected (two probable CVE findings), not_affected_by_version (advertised version meets its branch fix), or unknown (insufficient evidence, EOL/future branch, prerelease or conflicting versions). Fixed baselines: 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12. Neither a banner nor a Composer PHP constraint proves the deployed runtime. Check vendor backports and actual serving workers before reporting affectedness or remediation. A hidden version is not evidence of safety.

The dedicated tool also returns coverage, per-request method/URL/status/error, presence_signals, and allowlisted phpinfo configuration with source URLs. It distinguishes access_blocked, php_detected_version_hidden, redirect_out_of_scope, network_error, rate_limited, budget_exhausted, timeout, conflicting_evidence, no_php_evidence and version_identified. version_unclassified means version evidence exists but its branch/build cannot be classified by the advisory table. These are collection outcomes, separate from the CVE version assessment. Query strings, fragments and URL credentials are removed from exported URLs. Requests ask for identity encoding; unexpectedly compressed bodies are skipped and marked in the request record, not decompressed. No raw phpinfo pages, cookie values, environment variables or secrets are exported. session.upload_progress.enabled=Off does not mean either CVE is patched.

The cybersec-vulns and cybersec-verification skills describe these evidence limits. Restart the MCP server/client after updating. If your client uses an installed plugin/cache rather than this checkout, update that installation too; editing this source tree does not update an already-running server or cached skills.

Validation: mcp/.venv/bin/python -m unittest discover -s mcp/tests -p 'test_php2shell*.py' -v. References: PHP advisory, VulnCheck, Ramikan, JoasASantos. The reference source was reviewed for banner/diagnostic/presence techniques; it is not executed or blindly wrapped. Exploit/race/malformed probes, uploads, secrets-file probing, automatic subdomain expansion and origin bypass are excluded.

CLI Wrapper Tools

Require the corresponding CLI binary. Returns install hint if not found:

ToolCLI RequiredDescription
nikto_scanniktoWeb server vulnerability scanner
sqlmap_checksqlmapSQL injection detection
amass_enumamassAttack surface mapping
wpscan_checkwpscanWordPress vulnerability scanner
masscan_scanmasscanUltra-fast TCP port scanner
xsstrike_checkxsstrikeXSS vulnerability detection
gitleaks_checkgitleaksGit secret scanning
cmseek_checkcmseekCMS detection
testssl_checktestsslSSL/TLS server testing
sslyze_checksslyzeFast SSL/TLS scanning
gobuster_dirgobusterDirectory/file brute-forcing
ffuf_fuzzffufFast web fuzzing
nuclei_scannucleiTemplate-based vulnerability scanner
nmap_scannmapFull network scan with service detection
hydra_brutehydraOnline password brute forcing
searchsploitsearchsploitSearch exploit-db

Web Vulnerability Testing

ToolDescription
sqli_detectSQL injection detection (error-based, time-based, UNION)
xss_detectActive XSS injection testing
cmd_injectionCommand injection testing
nosql_injectNoSQL injection testing
csrf_detectCSRF token validation
idor_detectInsecure Direct Object Reference testing
upload_bypassFile upload filter bypass
host_header_injectionHost header injection testing
race_conditionRace condition testing
prototype_pollutionPrototype pollution testing
smuggling_checkHTTP request smuggling
bypass_403403 bypass techniques
log4j_scanLog4j JNDI injection
graphql_injectionGraphQL injection testing
jwt_forgeryJWT forgery testing
cookie_auditCookie security audit
cookie_editorCookie manipulation and forging
csp_analyzeContent-Security-Policy analysis
websocket_testWebSocket endpoint testing

CMS & Framework Scanners

ToolDescription
wordpress_scanWordPress security scan
joomla_scanJoomla CMS scanner
drupal_scanDrupal security scan
magento_scanMagento security scan
laravel_scanLaravel app scan
nextjs_scanNext.js security scan
django_scanDjango security scan
rails_scanRuby on Rails scan
express_scanExpress.js scan
spring_scanSpring Boot actuator scan
sharepoint_scanSharePoint scanner

Deserialization & Injection

ToolDescription
php_deserializePHP deserialization testing
java_deserializeJava deserialization testing

Exploit-DB & GHDB

ToolDescription
exploit_db_searchSearch Exploit-DB for CVEs, types, platforms
exploit_db_detailGet Exploit-DB exploit details with code
exploit_db_downloadDownload exploit code from Exploit-DB
ghdb_searchSearch Google Hacking Database

Reconnaissance & OSINT

ToolDescription
shodan_lookupShodan search for exposed devices
wayback_urlsWayback Machine URL history
vhost_discoveryVirtual host discovery
amass_enumAttack surface mapping
oob_testBlind OOB interaction test

Active Directory

ToolDescription
bloodhound_collectCollect AD data for BloodHound
ldap_enumLDAP anonymous bind enumeration

Cloud Security

ToolDescription
cloud_enumEnumerate cloud storage (S3, Azure, GCP)
s3_scannerCheck S3 bucket public access
cloud_iam_auditAudit cloud IAM policies
cloud_infraEnumerate cloud infra config
k8s_scanKubernetes API scan
docker_scanDocker socket exposure scan

Code Audit

ToolDescription
bandit_scanPython bandit SAST scanner
semgrep_scanSemgrep multi-language SAST
sast_reviewPattern-based code review
secret_scannerRegex + entropy secret scanning
gitleaks_checkGit secret scanning
ci_cd_scanCI/CD config scan
supply_chainDependency vulnerability check

AI & LLM Security

ToolDescription
prompt_injectionLLM prompt injection testing
llm_guardrailsLLM safety guardrails check
llm_model_dosLLM DoS via token generation
llm_data_exposureLLM training data leakage test
llm_agent_hijackLLM agent function call injection
mcp_abuse_testMCP server abuse testing
browser_agent_hijackBrowser AI agent hijack test
captcha_testCAPTCHA bypass testing

Mobile & Desktop

ToolDescription
apk_analyzeAndroid APK analysis
ipa_analyzeiOS IPA analysis
ios_data_storageiOS local data storage check
ios_fridaFrida iOS runtime analysis
ios_objectionObjection iOS exploration
ios_signingiOS app signing check
desktop_electronElectron app analysis
desktop_entitlementsDesktop entitlements check
desktop_configDesktop config file scan
desktop_packagesDesktop package CVE check
desktop_stringsDesktop binary string extraction
binary_checksecBinary security analysis
stego_detectSteganography detection

Other Tools

ToolDescription
hash_analyzeHash type identification
hash_detectHash type detection (20+ types)
redis_enumRedis server enumeration
metrics_checkExposed metrics endpoint check
log_exposureExposed log file scan
exposed_gitExposed .git folder check
exposed_backupExposed backup file scan
misplaced_filesMisplaced sensitive file scan
oauth_scanOAuth/OIDC endpoint scan
ssl_pinning_checkSSL pinning behavior check
oob_testOOB blind interaction test

Enterprise Tools

Inspired by HackerOne and Pentest-Tools.com — workflow orchestration, findings management, continuous monitoring, and risk scoring.

ToolDescription
attack_surface_mapAggregate scan results into an attack surface graph
findings_managerCentralized findings DB — add, list, update status, stats, export, clear. Deduplicates by hash
vuln_validateVerify exploitability, filter false positives with confidence score
pentest_workflowChain tools with conditions. 5 templates: web-audit, recon-full, network-scan, bugbounty, cloud-audit
continuous_monitorTrack target changes over time with snapshot diffing
retest_vulnRe-run heuristic probes; failed/blocked retests are inconclusive, negative probes are not proof of a fix. Supports sqli, xss, lfi, ssrf, open_redirect, ssti, log4j
bulk_scanScan multiple targets at once (port_scan, http_probe, ssl_check, vuln_scan). Max 50
vuln_diffCompare 2 scan results — new, resolved, changed findings + port changes
authenticated_scanScan behind login (form/cookie/header auth). Detects IDOR, sensitive data, missing headers
report_exportExport to HTML, CSV, markdown, JSON. HTML includes styled executive summary
risk_scoreCVSS + business impact + likelihood scoring

Advanced Tools (16 new)

Automated exploitation, workflow management, OSINT, reporting, and integrations.

ToolDescription
auto_exploitAuto-exploit chain: detect → verify → exploit (sqli, xss, lfi, ssrf, open_redirect)
scan_templatePre-defined tool combos: quick-recon, web-full, network-audit, api-security, cloud-audit, ad-pentest, code-audit, ctf
executive_summaryAuto-generate executive summary — risk posture, severity breakdown, top findings, recommendations
compliance_mapMap findings to SOC2, ISO27001, GDPR, PCI-DSS, NIST 800-53 control IDs
notify_webhookSend findings to Slack, Discord, or Microsoft Teams via webhook
jira_createCreate Jira issue from security finding — custom project, labels, priority
people_osintIndividual OSINT — GitHub profile, social media presence, email analysis
password_auditMulti-protocol password audit — SSH, FTP, SMTP, HTTP form, RDP with default wordlist
cloud_auditComprehensive cloud audit — S3 public, K8s API, Docker socket, IAM, infra
sqli_exploitGenerate PoC SQLi exploit payloads (error, union, boolean, time, stacked)
xss_exploitGenerate PoC XSS exploit links (reflected, stored, DOM, WAF bypass, cookie steal)
http_loggerPersistent HTTP request/response logger with search, stats, and export
branded_reportWhite-label pentest reports — custom logo, colors, company name, disclaimer
vuln_databaseLocal vulnerability database — add, search, update, delete, tags, import/export
github_issueCreate GitHub issue from security finding — labels, severity, evidence
custom_wordlistCustom wordlist manager — create, merge, generate, import, upload
auth_macro_runnerMulti-step auth session chain — form login, basic auth, bearer token, cookie persistence, custom step sequences
csrf_extractExtract and analyze anti-CSRF tokens from meta tags, hidden inputs, JS variables, cookies, and headers
idor_access_validationMulti-role IDOR/BOLA validation — sequential enum, cross-user access, negative/array bypass
injection_validatorUnified injection validator — SQLi, XSS, NoSQL, CMD, LDAP, SSTI, XXE with multi-technique payloads
oast_callback_serverOAST callback correlation for blind SSRF/XXE/OOB — generate, poll, status, retry
upload_exploit_chainUpload → Verify → Execute chain — PHP/JSP/ASP/SVG/PY/SH payloads with execution validation
cache_poison_checkWeb cache poisoning detection — header injection, cache deception, scheme bypass, key manipulation
cmd_oast_helperBlind command injection OAST — OOB callback correlation + time-based detection
report_schema_v2Standardized report schema v2 — validate, convert v1→v2, merge, create with evidence chain hash
vuln_validate[UPGRADED] Confidence engine v2 — evidence scoring, FP signal detection, reproducibility check, severity-adjusted recommendations
engagement_gatePre-flight scope validation, authorization check, engagement rules, target verification
approval_artifactDigital approval workflow — request/approve/deny for destructive actions with audit trail
session_verificationValidate session cookies, JWT, bearer tokens, API keys — check expiry, format, security flags
http_ingestImport URLs, cURL commands, raw HTTP, HAR, Burp XML, OpenAPI specs into standardized findings
raw_replayFaithful raw HTTP replay — send exact bytes, capture full response, template preview
evidence_manifestSHA256 hash chain for court-admissible evidence — add, verify, diff, ledger integrity
cleanup_trackingLog modifications/uploads, generate cleanup scripts, track artifact state
vulnerable_fixtureLocal vulnerable app (SQLi, XSS, LFI, CMD, SSRF) for E2E tool validation

Skills Guide

The plugin includes 23 methodology skills that guide the AI through structured security testing:

SkillTriggers When User Says...
cybersec-recon"recon", "enumerate", "find subdomains", "DNS"
cybersec-osint"osint", "shodan", "url history", "wayback"
cybersec-scanning"scan ports", "service detection", "fingerprint"
cybersec-vulns"find vulnerabilities", "CVEs", "weaknesses"
cybersec-web"web app test", "SQLi", "XSS", "CMS"
cybersec-bugbounty"bug bounty", "nuclei", "403 bypass", "smuggling"
cybersec-ad"active directory", "domain", "kerberos", "bloodhound"
cybersec-cloud"cloud", "AWS", "Azure", "GCP", "S3", "bucket"
cybersec-password"password", "hash", "brute force", "hydra"
cybersec-exploit"exploit", "PoC", "get shell", "metasploit"
cybersec-crisis"incident", "breach", "emergency", "compromised"
cybersec-report"report", "remediation", "fix", "document"
cybersec-ai"AI", "LLM", "prompt injection", "guardrails"
cybersec-ai-safety"AI safety", "bug bounty", "OpenAI", "agent hijack"
cybersec-desktop"desktop", "Electron", "binary", "strings"
cybersec-code-audit"code audit", "SAST", "secret scan", "source review"
cybersec-ctf"CTF", "capture the flag", "challenges"
cybersec-verification"verify", "evidence", "confirm", "double-check"
cybersec-parallel"parallel", "multi-target", "batch", "concurrent"
cybersec-review"review feedback", "false positive", "peer review"
cybersec-skill-dev"create skill", "new methodology", "edit skill"
cybersec-ctem"CTEM", "attack surface", "continuous monitoring", "exposure management"
using-cybersec(bootstrap — auto-loaded every session)

Skills load automatically via intent detection. The AI follows the skill's methodology step by step.


Agents (OpenCode + Cursor)

OpenCode agents live in .opencode/agents/. Cursor-compatible mirrors ship in agents/ (declared in .cursor-plugin/plugin.json) with the same roles: pentester, recon, vuln-analyst, report-writer. Cursor also loads rules/cybersec-pipeline.mdc for the default enterprise flow.

Default pipeline: engagement_gate → observe-first / opt-in staging-deep → findings_manager → verification → report_schema_v2 / branded_report → tickets → retest_vuln.

OpenCode-compatible agents are included in .opencode/agents/. These agents have tailored permissions and prompts for different security testing phases.

Pentester (Primary)

File: .opencode/agents/pentester.md Mode: Primary (cycle with Tab: Build → Plan → Pentester) Color: Red (#DC2626) Permissions: Full access (edit, bash, read, all MCP tools)

The default pentesting agent. Load this when you want the AI to act as a security tester. It has access to all 180+ MCP tools, can edit files, run bash commands, and dispatch subagents.

Usage:

  1. Press Tab in OpenCode until you see Pentester (red)
  2. Ask: "audit example.com" or "find vulnerabilities in this codebase"

Flow:

User: "audit example.com"
  → Pentester auto-loads cybersec-recon skill
  → Calls @recon subagent for passive intel
  → Calls @vuln-analyst subagent for active scanning
  → Calls @report-writer subagent for report
  → Output: Full penetration testing report

Recon (Subagent)

File: .opencode/agents/recon.md Mode: Subagent (invoke with @recon) Color: Blue (#3B82F6) Permissions: Read-only (no edit, no bash)

Passive reconnaissance and OSINT specialist. Gathers intelligence without actively probing the target.

Skills: cybersec-recon, cybersec-osint

Tools: subdomain_enum, dns_lookup, whois_lookup, crt_search, shodan_lookup, wayback_urls, dork_search, ghdb_search, reverse_ip, asn_lookup

Usage:

@recon gather intelligence on example.com
@recon find subdomains for target.com
@recon run OSINT on this domain

Vuln Analyst (Subagent)

File: .opencode/agents/vuln-analyst.md Mode: Subagent (invoke with @vuln-analyst) Color: Amber (#F59E0B) Permissions: Bash + read (no file editing)

Active vulnerability analyst. Scans, fingerprints, and tests for vulnerabilities. Can run bash commands and MCP tools but cannot edit project files.

Skills: cybersec-scanning, cybersec-vulns, cybersec-web, cybersec-bugbounty, cybersec-ad, cybersec-cloud, cybersec-password, cybersec-ai, cybersec-ai-safety, cybersec-desktop, cybersec-code-audit, cybersec-ctf, cybersec-exploit

Tools: port_scan, nmap_scan, ssl_check, vuln_scan, sqli_detect, xss_detect, nuclei_scan, nikto_scan, sqlmap_check, exploit_db_search, cloud_enum, s3_scanner, bloodhound_collect, ldap_enum, bandit_scan, semgrep_scan, prompt_injection, apk_analyze, ipa_analyze, and 80+ more

Usage:

@vuln-analyst scan ports on example.com
@vuln-analyst test for SQL injection in this URL
@vuln-analyst run nuclei scan on target
@vuln-analyst audit this codebase for vulnerabilities

Report Writer (Subagent)

File: .opencode/agents/report-writer.md Mode: Subagent (invoke with @report-writer) Color: Green (#10B981) Permissions: Edit + read (no bash)

Security report writer. Verifies findings and generates professional penetration testing reports with remediation plans.

Skills: cybersec-report, cybersec-verification, cybersec-review

Tools: generate_report, plus all read-only MCP tools for verification

Usage:

@report-writer generate a pentest report from these findings
@report-writer verify these vulnerabilities and write a report
@report-writer create a remediation plan for these issues

Report structure:

# Penetration Testing Report
## Executive Summary
## Scope
## Methodology
## Findings (sorted by severity: Critical → High → Medium → Low → Info)
  - Description, Evidence, Reproduction, Impact, Remediation
## Remediation Summary
## References (CVEs, OWASP, etc.)

Agent Workflow Diagram

                    ┌─────────────────────────────────┐
                    │       PENTESTER (primary)       │
                    │   Tab → Build → Plan → Pentester │
                    │     Full access, all skills     │
                    └──────────────┬──────────────────┘
                                   │
                    ┌──────────────┼──────────────┐
                    │              │              │
                    ▼              ▼              ▼
             ┌──────────┐  ┌─────────────┐  ┌──────────────┐
             │  @recon  │  │@vuln-analyst│  │@report-writer│
             │ read-only│  │ bash + read │  │  edit + read │
             │ passive  │  │   active    │  │    report    │
             │ OSINT    │  │  scanning   │  │  verify+write│
             └──────────┘  └─────────────┘  └──────────────┘

Creating Custom Agents

You can create your own agents by adding markdown files to .opencode/agents/:

---
description: Custom security analyst for your workflow
mode: subagent
permission:
  edit: deny
  bash: allow
---
Your custom prompt here.

See the OpenCode Agents documentation for full reference.


Troubleshooting

MCP Server not found

# Verify MCP server works
./mcp/.venv/bin/python3 -m server
# Should start a stdio MCP server — test with:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | ./mcp/.venv/bin/python3 -m server

Expected output: 180+ tools listed.

OpenCode plugin not loading

  1. Check ~/.config/opencode/opencode.json for the plugin line
  2. Restart OpenCode
  3. Check logs: opencode run --print-logs "hello" 2>&1 | grep -i cybersec

Claude Code plugin not loading

  1. Check .mcp.json MCP server config
  2. Restart Claude Code
  3. Verify: /plugin list should show cybersec

Module not found errors

source mcp/.venv/bin/activate
pip install 'fastmcp>=3.4.2,<4' httpx dnspython 'impacket>=0.12.0'

CLI tools not found

CLI wrapper tools (nikto, sqlmap, etc.) return an error with install instructions when the binary is missing. The core 25+ tools work without any external dependencies.


Requirements

  • Python 3.10+
  • Any supported AI coding agent (Claude Code, Cursor, Codex, Gemini CLI, Copilot CLI, Kimi Code, OpenCode, Pi)
  • Python packages: fastmcp>=3.4.2,<4, httpx, dnspython (installed in .venv)
  • Optional CLI tools: nikto, sqlmap, amass, wpscan, masscan, xsstrike, gitleaks, cmseek, testssl, sslyze, gobuster, ffuf, nuclei, nmap, hydra, searchsploit

License

MIT License - see LICENSE file for details.

↑↓ navigate openesc close