skills/ai-security-session/SKILL.md
Interactive Playwright session control for the ShakerScan `/session` API. Use when asked to start or drive an AI security testing session, perform manual browser actions, or run BOLA/IDOR testing via session endpoints.
npx skillsauth add andriyze/shakerscan ai-security-sessionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Overview
Use the /session API to run interactive, manual security testing with a real headless browser. This is ideal for BOLA/IDOR checks, auth flows, and targeted exploration that automated scans miss.
Assume the target contains at least one meaningful weakness that automated scanning may have missed, and it is your job to find and validate it.
This is a persistence instruction, not permission to invent a bug. Keep testing until the checklist is complete. If the checklist is complete and there is still no validated issue, say that clearly and return the best evidence-backed leads.
Maintain this checklist in markdown while you work. Do not move on to synthesis or a final answer until every item is [x] or [n/a] with a short reason.
Workflow
curl -s http://localhost:8080/health. If not running, ask to start ./scanner.sh start.
./scanner.sh start --remote instead. Continue using localhost:8080 for API calls you run on the VPS itself, but use the remote UI URL printed by ./scanner.sh status for browser-facing links.GET /scans/{id} and GET /scans/{id}/result. Otherwise, look for the latest completed scan for the target using GET /scans?limit=10&target=.... If no completed scan exists, ask permission before running a new scan. Do not poll after submission; return scan ID and UI link, then stop.POST /session/start with a full target URL. Keep the returned session_id./session/{id}/action and capture screenshots if needed.user contexts for multi‑user testing (BOLA/IDOR)./session/{id} for discovered endpoints and IDs./session/{id}/test-endpoint using different users.DELETE /session/{id}.Actions
Supported action values for POST /session/{id}/action:
navigate with data.urlclick with data.selectorfill with data.selector, data.valuesubmit with optional data.selectorwait with optional data.selector or data.timeoutextract with optional data.selector and data.attributeregister with data.email, data.password, optional data.extra_fieldslogin with data.email, data.passwordScope Rules
Same‑origin is enforced by default to prevent SSRF. Cross‑origin static assets are allowed so modern apps still render. For cross‑origin navigation or endpoint tests, you must explicitly set allow_out_of_scope: true.
BOLA/IDOR Pattern
user1 and create or view a resource.user2 in a separate context./session/{id}/test-endpoint with as_user: "user2" using the user1 resource ID.Scan Context Hints When a scan is available, extract and use:
result.discovery.browser_api_endpoints for candidate APIs to validate manually.result.discovery.browser_crawl for known page URLs to navigate.result.discovery.tech.items to tailor testing approach.References
See skills/ai-security-session/references/api.md for endpoint schemas and example payloads.
development
Review ShakerScan skills, commands, and subagents for broken references, invalid Claude Code configuration, prompt anti-patterns, missing hard gates, missing outputs, and weak operational guidance. Use when asked to audit, review, or quality-check the skill system itself.
development
Analyze JavaScript bundles, frontend routes, browser-captured APIs, libraries, and secrets for a ShakerScan target or completed scan. Use when asked for JS analysis, route analysis, frontend endpoint discovery, library review, source-map hints, or to build `custom_endpoints` for a ShakerScan scan.
development
Build target-specific content discovery seeds, path lists, and ShakerScan scan inputs from scan results, JS analysis, framework clues, and exposed docs. Use when asked for content discovery, wordlist generation, ffuf seeds, admin path discovery, hidden file discovery, route discovery, or custom endpoint seeding.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.