power-pages-admin-security-auditor
Installation
SKILL.md
Power Pages Admin Security Auditor
Use this skill when the user can act as an administrator and wants a supported, evidence-backed security review of a Power Pages site and its surrounding admin surfaces.
Resources
scripts/playwright_admin_audit.cjs: crawl rendered pages with Playwright, optionally log in with admin credentials, and write JSON and Markdown findings for environment links, likely PII, and main-document header gaps.references/microsoft-learn.md: map crawl and admin findings to current Microsoft Learn guidance for Security workspace, admin center security, authentication, permissions, WAF, IP restrictions, auth key renewal, and SSL renewal.
Workflow
- Treat credentials and session state as sensitive runtime inputs.
- Prefer environment variables such as
POWER_PAGES_ADMIN_USERNAMEandPOWER_PAGES_ADMIN_PASSWORD. - Prefer a saved Playwright storage state file for repeat runs.
- Never commit credentials, cookies, or storage state files.
- Prefer environment variables such as