跳到正文
Skillpedia
网站与界面(前端)42k · #6420

competition-browser-persistence

它能做什么

这个工具可以帮助你了解网站如何在浏览器中保存信息(比如登录状态或偏好设置),以及这些信息如何影响你看到的内容和能做的操作。你可以基于这些已保存的信息,调查并复现网站的行为。

适用场景

  • ✓当网站在加载后表现得与平时不一样时。
  • ✓想看看保存的信息(比如登录状态)如何影响使用体验时。
  • ✓研究网站如何离线工作,或如何在浏览器中存储数据时。

技能链接

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-browser-persistence/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-browser-persistence/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“网站 X 是如何保存我的登录信息的?这又会如何影响我看到的内容?”

每周 5 个新技能,1 分钟读完。

工作原理

它会检查网站把数据保存在哪里(Cookie、本地存储等),以及这些数据如何改变网站的显示内容或你能进行的操作。然后,它会尝试重现导致某个特定结果的完整路径。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Competition Browser Persistence

Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.

Use this skill when the decisive branch lives in browser-held state rather than only in visible HTML or backend source.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Identify the active persistence surface first: cookie jar, localStorage, sessionStorage, IndexedDB, Cache Storage, or service worker.
  2. Record origin, scope, domain, path, expiry, and key names before mutating state.
  3. Tie stored state to one concrete effect: request header, rendered branch, cached response, offline behavior, or hidden route access.
  4. Separate boot-time state from runtime-mutated state.
  5. Reproduce the smallest stateful sequence that reaches the decisive branch.

Workflow

1. Map Browser State Surfaces

  • Inspect cookies, storage buckets, service worker registrations, cache entries, and transient globals exposed during boot.
  • Record which origin, host, route, or feature flag each state item actually applies to.
  • Keep auth tokens, refresh material, CSRF state, cached responses, and feature toggles in separate evidence blocks.

2. Tie State To Runtime Behavior

  • Show how stored state becomes request headers, role derivation, route visibility, cached API data, or offline fallback behavior.
  • Compare clean-state and mutated-state runs with one variable changed at a time.
  • Distinguish UI-only state from backend-accepted state.

3. Reduce To The Decisive Persistence Chain

  • Compress the result to the smallest chain: initial page or login -> state persisted -> subsequent request or render branch -> resulting capability.
  • Keep extracted storage, service worker scripts, and replay steps tied to the same origin and route.
  • If the problem broadens into general web routing or worker behavior outside browser persistence, switch back to the broader web-runtime skill.

Read This Reference

  • Load references/browser-persistence.md for the browser-state checklist, service-worker checklist, and evidence packaging.

What To Preserve

  • Cookie attributes, storage keys, database names, cache keys, service worker scopes, and origin boundaries
  • The exact request or render effect caused by each decisive state item
  • Clean-state vs mutated-state reproduction steps for the smallest working path
常见问题

什么是“持久化存储位置”(persistence surfaces)?

指浏览器为网站保存信息的地方,例如 Cookie、local storage、session storage 和 IndexedDB 数据库。

为什么要把“启动时状态”和“运行时变化的状态”分开?

这样可以更清楚地判断变化的原因:是页面加载时就已经存在的内容,还是你在使用过程中网站改动的内容。

“缩减为关键持久化链路”是什么意思?

指找出能够解释某个网站行为的最小步骤集合和存储信息,从而让分析更简单。

详情

作者的原始描述

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for browser cookies, localStorage, sessionStorage, IndexedDB, Cache Storage, service workers, offline caches, and client-side session persistence. Use when the user asks to inspect browser state, replay cached auth or session behavior, explain why a page behaves differently after load, or trace how stored client state cha

repo: zhaoxuya520/reverse-skill

热度

GitHub 星标
42k
排名
#6420
许可证
MIT
更新时间
2026/9/22

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能