power-pages-security-auditor
Installation
SKILL.md
Power Pages Security Auditor
Use this skill to produce a repeatable security review for a Power Pages site.
Resources
scripts/audit_power_pages_site.py: crawl one or more public URLs, inventory cross-environment links, flag likely PII, and check common security headers. The script writes both JSON and Markdown.references/microsoft-learn.md: map technical findings to current Microsoft Learn guidance for Security workspace, security scan, site visibility, headers, WAF, and IP restrictions.
Workflow
-
Classify the target before doing anything else.
- If the request is mostly anonymous or server-rendered content, run the bundled script first.
- If the request requires sign-in, multi-step navigation, or JavaScript-rendered content, use Context7 with
/microsoft/playwrightto build the shortest possible Playwright flow, capture the rendered URLs and page content, and keep the same report structure. - If the user has maker or admin access, supplement local findings with Microsoft Learn-backed checks from
references/microsoft-learn.md.
-
Run the automated crawl for anonymous or mostly static pages.