agentleFS
HumSawHumSaw/shipwright-skills/skills/browser-session-audit/SKILL.md

browser-session-audit

Skill0 starsChanged 2 months agoMITView on GitHub

Defensive Browser DevTools review of cookies, web storage, service workers, caches, logout, and client-visible secrets. Use when reviewing an owned or explicitly authorized web target after security scope is approved.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Test logout and session invalidation only for the current test account.

    line 18
  2. Distinctive:

    Search delivered client code and source maps only when allowed.

    line 20
  3. Distinctive:

    Stop if real-user data, unknown privileged access, third-party sessions, instability, or an out-of-scope origin appears.

    line 22

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Browser session audit

Require a completed PROCEED scope record. Use only dedicated test accounts and synthetic data.

Workflow

  1. Record the unauthenticated baseline before login.
  2. In Application, inventory cookie names and attributes without copying values: Secure, HttpOnly, SameSite, domain, path, and expiry.
  3. Inventory local/session storage, IndexedDB, Cache Storage, and service workers. Record key names and data classes; redact values.
  4. Observe authentication and renewal requests in Network. Never export or replay live credentials outside the authorized browser session.
  5. Test logout and session invalidation only for the current test account. Revisit one benign authenticated page and document observed behavior.
  6. Compare roles only when multiple dedicated accounts and cross-role checks are explicitly authorized.
  7. Search delivered client code and source maps only when allowed; use secret-shaped canaries or redacted prefixes, never publish credentials.

Stop if real-user data, unknown privileged access, third-party sessions, instability, or an out-of-scope origin appears. Never steal tokens, fixate another user’s session, perform credential attacks or brute force, bypass rate limits, persist access, attempt denial of service, make destructive changes, or bulk-extract data.

Missing HttpOnly is relevant only to script-readable cookies; storage presence alone does not prove exploitability. Separate observation, risk condition, and verified impact.

Output contract

For each item return: location, redacted observation, expected control, minimal reproduction, evidence, impact boundary, confidence, and remediation. Include negative results and checks skipped by scope.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.