skills/jeremylongshore/tons-of-skills-marketplace/performing-penetration-testing/Gen Agent Trust Hub
performing-penetration-testing
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The utility scripts (
code_security_scanner.py,dependency_auditor.py,security_scanner.py) execute external security CLI tools includingbandit,npm,pip, andpip-auditvia thesubprocess.runmodule. These calls use list-based arguments and maintain a default ofshell=False, which prevents command injection vulnerabilities. - [EXTERNAL_DOWNLOADS]: The
dependency_auditor.pyscript includes a fallback mechanism that attempts to install thepip-auditpackage from the official Python Package Index (PyPI) if it is not present in the environment. Additionally,setup_pentest_env.shis provided to install dependencies fromrequirements.txtduring the initial environment setup. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from external scan targets, creating a theoretical attack surface for indirect prompt injection.
- Ingestion points:
security_scanner.pyfetches HTTP response headers and body content;code_security_scanner.pyreads source code files;dependency_auditor.pyingests output from third-party audit tools. - Boundary markers: The skill does not currently implement explicit boundary delimiters or "ignore previous instructions" warnings when processing the data it scans.
- Capability inventory: The orchestrator is configured with broad tool access including file manipulation (
Read,Write,Edit,Glob) and command execution for security tooling (Bash(python3:*),Bash(pip:*),Bash(npm:*),Bash(bandit:*),Bash(pip-audit:*)). - Sanitization: The processing scripts utilize structured JSON parsing and regular expression filtering, which provides a layer of structural validation for the external content.
Audit Metadata