Skip to main content

playwright-scraper

Enables efficient web scraping with Playwright, handling dynamic content, authentication, pagination, and data extraction.

Install this skill

or
61/100

Security score

The playwright-scraper skill was audited on Mar 1, 2026 and we found 7 security issues across 3 threat categories, including 1 critical. Review the findings below before installing.

Categories Tested

Security Issues

critical line 53

Eval function call - arbitrary code execution

SourceSKILL.md
532. **Handling pagination on a search site:** Script: `const browser = await playwright.chromium.launch(); const page = await browser.newPage(); await page.goto('https://search.com?q=query'); let items
medium line 39

Access to .env file

SourceSKILL.md
39- Handle auth: `await page.fill('#username', process.env.USERNAME); await page.fill('#password', process.env.PASSWORD); await page.click('#login');`
medium line 52

Access to .env file

SourceSKILL.md
521. **Scraping a logged-in dashboard:** First, set env vars: `export PLAYWRIGHT_USERNAME='[email protected]'` and `export PLAYWRIGHT_PASSWORD='securepass'`. Then, run: `const browser = await playwright.
low line 38

External URL reference

SourceSKILL.md
38- Navigate page: `const page = await browser.newPage(); await page.goto('https://example.com');`
low line 46

External URL reference

SourceSKILL.md
46Integrate by importing Playwright in Node.js projects. For auth, use environment variables like `$PLAYWRIGHT_USERNAME` and `$PLAYWRIGHT_PASSWORD` to avoid hardcoding. Configuration format: Use a JSON
low line 52

External URL reference

SourceSKILL.md
521. **Scraping a logged-in dashboard:** First, set env vars: `export PLAYWRIGHT_USERNAME='[email protected]'` and `export PLAYWRIGHT_PASSWORD='securepass'`. Then, run: `const browser = await playwright.
low line 53

External URL reference

SourceSKILL.md
532. **Handling pagination on a search site:** Script: `const browser = await playwright.chromium.launch(); const page = await browser.newPage(); await page.goto('https://search.com?q=query'); let items
Scanned on Mar 1, 2026
View Security Dashboard