playwright-scraper-skill
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill facilitates the ingestion of untrusted content from external websites via
playwright-simple.jsandplaywright-stealth.js. This creates a surface for indirect prompt injection attacks. - Ingestion points: The scripts extract text using
document.body.innerTextand the full page source usingdocument.documentElement.outerHTMLfrom any provided URL. - Boundary markers: Scraped data is encapsulated in a JSON structure, providing a degree of separation, but the content values are returned raw.
- Capability inventory: The skill has network access to fetch web content and file system access to save screenshots and HTML files (e.g., using
fs.writeFileSync). - Sanitization: No sanitization or filtering of the extracted web content is performed before it is provided to the agent.
- [DYNAMIC_EXECUTION]: The scraping logic utilizes
page.evaluate()to execute JavaScript within the browser context of the target website. This is an inherent part of dynamic web scraping but involves executing code against untrusted external content. - [EXTERNAL_DOWNLOADS]: The skill documentation and
package.jsonrecommend installing theplaywrightpackage and its browser binaries vianpm installandnpx playwright install chromium. These resources are fetched from official package registries and well-known vendor sources.
Audit Metadata