processwire-security

Secure ProcessWire CMS installations with file permissions, admin hardening, and input sanitization.

1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/webmanufaktur/pwaiworkflow --skill processwire-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: processwire-security
Source: https://github.com/webmanufaktur/pwaiworkflow/tree/main/.agents/skills/processwire/security
Command: npx skills add https://github.com/webmanufaktur/pwaiworkflow --skill processwire-security

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides comprehensive guidance and practical steps to secure a ProcessWire CMS installation against common vulnerabilities and threats.

Core Features & Use Cases

  • File Permissions: Recommends and demonstrates secure file and directory permissions.
  • Admin Security: Offers methods to harden the admin panel, enforce strong passwords, and monitor logins.
  • Input Sanitization & CSRF Protection: Details how to use the $sanitizer API and implement CSRF tokens to prevent attacks.
  • Use Case: A developer needs to ensure their new ProcessWire site is protected before going live. They consult this Skill for best practices on file permissions, admin access, and input validation to prevent common web exploits.

Quick Start

Secure your ProcessWire site by following the recommended file permissions and enabling HTTPS for the admin panel.

Frequently Asked Questions about processwire-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I secure my ProcessWire site before going live?

To secure your ProcessWire site before production, you should configure strict file permissions, harden the admin panel, enable HTTPS, and implement input sanitization. This Skill provides configuration advice and code examples to prevent common web exploits.

What is the best way to prevent XSS and selector injection in ProcessWire?

The best way to prevent XSS and selector injection in ProcessWire is by using the `$sanitizer` API for input validation and following secure template coding practices. This Skill details how to implement these sanitization techniques effectively.

How do I implement CSRF protection in ProcessWire?

You can implement CSRF protection in ProcessWire by integrating CSRF tokens into your forms to prevent cross-site request forgery attacks. This Skill provides practical code examples and configuration advice for adding these security tokens.

What file permissions should I set for a ProcessWire installation?

Secure file permissions for a ProcessWire installation involve configuring directories and files with restrictive access levels to prevent unauthorized modifications. This Skill recommends and demonstrates the exact secure file and directory permissions required.

How do I harden the ProcessWire admin panel?

You can harden the ProcessWire admin panel by enabling two-factor authentication, enforcing strong passwords, and monitoring login activity. This Skill offers specific methods to secure admin access and protect against unauthorized entry.

How do I handle insecure file uploads in ProcessWire?

Handling insecure file uploads in ProcessWire requires strict input validation and secure configuration to prevent malicious file execution. This Skill addresses common vulnerabilities like insecure file uploads and offers practical coding defenses.