WP Manifestindependent plugin directory
manifest / security / saman-security

Saman Security

Security without the Fear-Mongering.

by Juan Denis · github.com/samanlabs/saman-security · website

0stars
22release downloads
≈10active sites
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/samanlabs/saman-security/releases/download/v0.0.2/saman-security-0-0-2.zip

Readme

Saman Security

Saman Security

The Open Standard for WordPress Security

Latest Release License Stars Forks Issues

WordPress Version PHP Version Contributors

Discussions

A comprehensive, transparent security solution built for developers who believe security tooling should be open source, not a black box.


Why Open Source Security?

For too long, WordPress security has been dominated by proprietary solutions that operate as black boxes. Each plugin guards its methods as trade secrets, fragmenting the ecosystem and forcing developers to work around opaque systems.

Saman Security takes a different approach: We believe the security industry benefits from transparency, shared standards, and collaborative improvement. By open-sourcing our complete security workflow, we're establishing a foundation that the entire WordPress community can build upon, inspect, and enhance.

This is security without secrets—because better security comes from better collaboration, not better secrecy.


Features

Core Security Management

  • Firewall Rules: Granular control over incoming traffic and malicious requests.
  • File Scanning: Detect changes, malware, and vulnerabilities in your WordPress files.
  • Security Hardening: Implement best practices like disabling XML-RPC, forcing strong passwords, and preventing file editing.
  • REST API Protection: Secure your WordPress REST API endpoints from abuse.

Advanced Capabilities

  • Activity Logging: Comprehensive logging of user actions, failed logins, and security events.
  • Automated Scans: Schedule and run scans for vulnerabilities, malware, and file changes.
  • IP Blacklisting/Whitelisting: Manage access control at the IP level.
  • Notifications: Real-time alerts for critical security events.

Security Auditing

  • Visual Severity Graphs: Understand your site's security posture at a glance.
  • Issue Logging: Detailed logs of detected security issues.
  • Vulnerability Reports: Generate reports on potential weaknesses.
  • Compatibility Checks: Automatic detection and graceful coexistence with other security plugins.

Documentation

Getting Started

Developer Resources

Feature Guides


Quick Start

Installation

  1. Download the latest release or clone this repository
  2. Upload to /wp-content/plugins/saman-security/
  3. Activate through the WordPress admin interface
  4. Navigate to Saman Security → Dashboard to configure site-wide settings and review security status.

Basic Usage

Dashboard Overview: Navigate to Saman Security → Dashboard to see a summary of your site's security status, recent activity, and any pending issues.

Security Hardening: Go to Saman Security → Hardening to enable recommended security measures like disabling XML-RPC or preventing file editing.


Developer Integration

Action Hooks (Example)

// Perform an action after a security event is logged
add_action( 'saman_security_event_logged', function( $event_data ) {
    // Send an email, trigger a webhook, etc.
    error_log( 'Security event detected: ' . print_r( $event_data, true ) );
}, 10, 1 );

Filter Hooks (Example)

// Modify a firewall rule dynamically
add_filter( 'saman_security_firewall_rule', function( $rule, $request ) {
    // Add an exception for a specific IP
    if ( $request['ip'] === '192.168.1.1' ) {
        $rule['action'] = 'allow';
    }
    return $rule;
}, 10, 2 );

// Customize file scan exclusion paths
add_filter( 'saman_security_scan_exclude_paths', function( $excluded_paths ) {
    $excluded_paths[] = ABSPATH . 'wp-content/uploads/custom-safe-folder/';
    return $excluded_paths;
}, 10, 1 );

For comprehensive filter documentation, see docs/FILTERS.md.


WP-CLI Support

# List all detected security issues
wp samansecurity issues list --format=table

# Run a manual file scan
wp samansecurity scan files

# Enable a specific hardening option
wp samansecurity hardening enable xml-rpc-disable

Full WP-CLI documentation: docs/WP_CLI.md


Contributing

We welcome contributions from the community. Whether you're fixing bugs, adding features, improving documentation, or suggesting enhancements, your input helps establish better standards for WordPress security.

See CONTRIBUTING.md for guidelines.


Privacy & Security

  • Activity Logging: Opt-in feature that stores only necessary security event data.
  • Usage Analytics: Anonymous admin-only usage analytics with an opt-out toggle.
  • No External Requests: All core processing happens on your server (except for optional cloud-based threat intelligence if explicitly enabled).

Asset Development

The plugin uses @wordpress/scripts for React development and build processes.

# Install dependencies
npm install

# Build the React app for production
npm run build

# Watch for changes during development
npm run start

Support


See Also

  • Saman SEO - A comprehensive, transparent SEO solution for WordPress.
  • Saman AI - An advanced AI-powered assistant for WordPress.
  • Saman Backup - Reliable backup and restore solution for WordPress.
  • Saman Field - A flexible custom fields solution for WordPress.
  • Saman Cache - A powerful caching solution for WordPress.
  • Saman Forms - An intuitive form builder for WordPress.

Built with transparency. Built for the community. Built to be better.

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v0.0.2 Jan 17, 2026 saman-security-0-0-2.zip 6
v0.0.1-beta.5 Jan 17, 2026 saman-security-0-0-1-beta-5.zip 1
v0.0.1-beta.4 Jan 17, 2026 saman-security-0-0-1-beta-4.zip 1
v0.0.1-beta.3 Jan 17, 2026 saman-security-0-0-1-beta-3.zip 1
v0.0.1-beta.2 Jan 13, 2026 wp-security-pilot-0-0-1-beta-2.zip 6
v0.0.1 Jan 12, 2026 wp-security-pilot-0-0-1.zip 6
v0.0.1-beta.1 Jan 12, 2026 wp-security-pilot-0-0-1-beta-1.zip 1

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.