What problem does it solve?
Perl applications are frequently targeted by security vulnerabilities such as injection attacks, path traversal, and unsafe process execution when handling untrusted user input, particularly in web and CGI contexts. Many developers underutilize Perl's built-in taint mode and secure coding patterns, leaving applications exposed to exploitable flaws.
Core Features & Use Cases
- Comprehensive guidance for enabling and using Perl taint mode, including input validation and untainting patterns.
- Best practices for preventing SQL injection (via DBI parameterized queries), XSS, CSRF, command injection, and ReDoS attacks.
- Secure file operation and system process execution patterns, plus perlcritic security policy configuration for automated code reviews.
- Use Case: Perl developers building web applications with Mojolicious, Dancer2, or Catalyst, or writing scripts that process user input, can use this skill to implement defense-in-depth security controls before deployment.
Quick Start
Use the perl-security skill to audit your Perl web script for taint mode compliance, injection vulnerabilities, and unsafe file or process operations.