perl-validate
Warn
Audited by Gen Agent Trust Hub on Oct 3, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill uses
perl -candperl -wcfor syntax validation in both the instructions and the provided validation script. In Perl, the compile-check flag (-c) executes code contained withinBEGIN,UNITCHECK,CHECK, andINITblocks. If an untrusted or malicious script is processed, these blocks will be executed on the host system, leading to arbitrary code execution during a process intended to be a static check. - [COMMAND_EXECUTION]: The skill utilizes the
Bashtool to run several command-line utilities, includingperl,grep,podchecker, andperlcritic. These tools operate directly on user-provided file paths and content. - [INDIRECT_PROMPT_INJECTION]: The skill creates a surface for indirect injection by ingesting external Perl scripts and processing them with tools that can execute parts of the input.
- Ingestion points: The skill reads Perl scripts provided by the user or identified via
GlobandReadoperations. - Boundary markers: There are no explicit delimiters or warnings to the agent regarding the handling of embedded instructions or the risks of the Perl compilation phase.
- Capability inventory: The agent has access to the
Bashtool to execute compilers and static analysis tools on the ingested content. - Sanitization: The skill does not perform any pre-processing or sanitization of the script content to remove or disable executable blocks before invoking the Perl compiler.
Audit Metadata