pentest-toolkit-pro-html
Warn
Audited by Gen Agent Trust Hub on Jun 12, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The code snippets provided for extending the toolkit use unsafe methods for rendering data. Specifically, the
displayVulnerabilitiesPaginatedfunction uses.innerHTMLto render vulnerability titles and details fromlocalStoragewithout sanitization. Similarly, thegenerateCustomReportfunction usesdocument.writeto generate HTML reports from stored data. These patterns are vulnerable to Cross-Site Scripting (XSS) as they can execute arbitrary JavaScript if the stored data is compromised. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process vulnerability reports and checklists, creating an attack surface for indirect injection. If the data being processed (e.g., a vulnerability description from an external website or an imported JSON file) contains malicious payloads, it could be rendered by the toolkit's UI. Ingestion points:
localStoragepopulated by functions liketrackVulnerability,initializeEngagement, orimportData. Boundary markers: No delimiters or warnings are present in the provided code to distinguish between data and instructions. Capability inventory: The skill can generate and download files (JSON exports) and render content in the browser context via the toolkit interface. Sanitization: No sanitization or escaping is performed before rendering data into the DOM using methods likeinnerHTMLordocument.write. - [UNVERIFIABLE_DEPENDENCIES_AND_REMOTE_CODE_EXECUTION]: The installation instructions direct the user to clone a repository from
github.com/Cyber-Autopsie/PenTest-Toolkit-Pro.gitand run a local HTML file. This repository belongs to the project's developer.
Audit Metadata