Repository navigation
Community Signatures
Varun Dubey edited this page Sep 13, 2026
·
2 revisions
The threat intelligence database can sync with community-contributed malware signatures hosted on GitHub. This extends your detection capabilities beyond what you've personally encountered.
wp_threat_db_sync()This downloads:
- community-signatures.json - Malware detection patterns (regex and string patterns)
- community-hashes.json - Known malicious file hashes (MD5/SHA256)
New signatures are merged into your local database without overwriting your custom additions.
Sync with external vulnerability databases:
# Patchstack vulnerability feed
wp_threat_sync_patchstack()
# WPScan vulnerability feed
wp_threat_sync_wpscan()# View database statistics
wp_threat_db_stats()
# See most frequently triggered signatures
wp_threat_top_signatures()
# Generate a threat intelligence report
wp_threat_report()After cleaning malware, your local database contains unique threat intelligence. Share it:
wp_threat_export()This generates a JSON file with your locally-added signatures and hashes.
- Fork vapvarun/wp-malware-cleanup-mcp
- Add your signatures to
community-signatures.jsonorcommunity-hashes.json - Include a description of what malware each signature detects
- Submit the PR
- Only submit confirmed malware signatures (no unverified patterns)
- Include clear descriptions of what the signature detects
- Test for false positives before submitting
- Do not include sensitive information (hostnames, IPs, client names)
- Anonymized case studies are welcome in
docs/case-studies/
Add a custom signature to your local database:
wp_threat_add_signature(
name="my-custom-backdoor-pattern",
pattern="specific_function_name.*suspicious_arg",
pattern_type="regex",
severity="high",
category="backdoor",
description="Detects the XYZ backdoor variant"
)Test a file against the full threat database:
wp_threat_check_file("site-name", "/path/to/suspicious/file.php")This checks:
- File hash against
known_malicious_files - File content against all active signatures
- Returns match details if found
Getting Started
Running as a Service
Threat Intelligence
Reference
Project
- GitHub Repo
- WP Vanguard (threat research)
- Wbcom Designs
- License: GPL-2.0-or-later