Perl Security
Comprehensive Perl security guidance for taint mode, input validation, process execution, DBI queries, and web threats.
- CCM score
- 75 of 100
- skills.sh installs
- 12.2K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers taint mode with
-T, untainting via specific regexes, input allowlists, and ReDoS-safe pattern design - Includes safe file handling (three-argument open,
realpathtraversal checks,sysopenwithO_EXCL) and list-form process execution - Enforces parameterized DBI placeholders and column allowlists for dynamic SQL, flagging string-interpolated queries as vulnerabilities
- Designed for reviewing Perl input handling, shell calls, DBI queries, and web-facing code such as CGI and Mojolicious apps
Install
$ npx -y skills add affaan-m/ecc --skill perl-security -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Perl Security Patterns
Comprehensive security guidelines for Perl applications covering input validation, injection prevention, and secure coding practices.
When to Activate
- Handling user input in Perl applications
- Building Perl web applications (CGI, Mojolicious, Dancer2, Catalyst)
- Reviewing Perl code for security vulnerabilities
- Performing file operations with user-supplied paths
- Executing system commands from Perl
- Writing DBI database queries
How It Works
Start with taint-aware input boundaries, then move outward: validate and untaint inputs, keep filesystem and process execution constrained, and use parameterized DBI queries everywhere. The examples below show the safe defaults this skill expects you to apply before shipping Perl code that touches user input, the shell, or the network.
Taint Mode
Perl's taint mode (-T) tracks data from external sources and prevents it from being used in unsafe operations without explicit validation.
Enabling Taint Mode
#!/usr/bin/perl -T
use v5.36;
Details
- Repository
- github.com/affaan-m/ecc
- Category
- Security
- First seen
- Jul 14, 2026
Questions
What does the perl-security skill cover for Perl code?
It covers Perl taint mode, input validation, safe process execution, DBI parameterized queries, web security such as XSS, SQL injection and CSRF, and perlcritic security policies. It is meant for reviewing Perl input handling, process execution, DBI queries and web-facing code.
How do I install the perl-security skill?
Run npx -y skills add affaan-m/ecc --skill perl-security -y in your project. Once installed, the agent can apply Perl security patterns such as untainting inputs and using list-form system calls.
Where does perl-security rank in the Security category?
On the Security category page it ranks in the top 50. Other skills listed alongside it include azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit and cloudflare-one.
More from affaan-m/ecc
All 257- Regex Vs Llm Structured Text12.2K
- Compose Multiplatform Patterns12.2K
- Continuous Agent Loop12.2K
- Content Hash Cache Pattern12.1K
- Kotlin Testing12.1K
- Ai Regression Testing12.1K
- Browser Qa12.1K
- Design System12.1K
- Jira Integration12K
- Investor Outreach12K
- Documentation Lookup12K
- Remotion Video Creation12K
- Swift Actor Persistence12K
- Swift Protocol Di Testing12K
- Blueprint12K
- Git Workflow11.9K
- Foundation Models On Device11.9K
- Exa Search11.9K
- Swift Concurrency 6 211.9K
- Nestjs Patterns11.9K
- Data Scraper Agent11.9K
- Hexagonal Architecture11.9K
- Mcp Server Patterns11.9K
- Plankton Code Quality11.9K
Similar to Perl Security
More Securitysql-code-reviewgithub/awesome-copilot15.8K installsUniversal SQL code review guide covering injection prevention, access control, performance, and anti-pattern detection across databases.
perl-patternsaffaan-m/ecc11.5K installsModern Perl 5.36+ idioms covering signatures, OO, error handling, regexes, and file I/O for maintainable apps.
owasp-securityagamm/claude-code-owasp2.8K installsowasp security.
code-securitysemgrep/skills3K installsSecurity guidelines for writing secure code.
sql-injection-preventionaj-geddes/useful-ai-prompts538 installsPrevention guide for SQL injection covering prepared statements, parameterized queries, ORM use, and input validation.