competition-browser-persistence
它能做什么
这个工具可以帮助你了解网站如何在浏览器中保存信息(比如登录状态或偏好设置),以及这些信息如何影响你看到的内容和能做的操作。你可以基于这些已保存的信息,调查并复现网站的行为。
适用场景
- ✓当网站在加载后表现得与平时不一样时。
- ✓想看看保存的信息(比如登录状态)如何影响使用体验时。
- ✓研究网站如何离线工作,或如何在浏览器中存储数据时。
技能链接
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-browser-persistence/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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
- Identify the active persistence surface first: cookie jar, localStorage, sessionStorage, IndexedDB, Cache Storage, or service worker.
- Record origin, scope, domain, path, expiry, and key names before mutating state.
- Tie stored state to one concrete effect: request header, rendered branch, cached response, offline behavior, or hidden route access.
- Separate boot-time state from runtime-mutated state.
- 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.mdfor 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
热度
- GitHub 星标
- 42k
- 排名
- #6420
- 许可证
- MIT
- 更新时间
- 2026/9/22
评论
- …
同一仓库的更多技能
competition-ad-certificate-abuse
42k帮你的智能体分析针对数字证书系统的攻击。它会研究证书可能如何被滥用来获取访问权限。
competition-agent-cloud
42k帮你的智能体分析 AI 和云系统中的安全问题。它会研究提示词、工具和云端可能如何被利用。
competition-android-hooking
42k帮你的智能体研究 Android 应用。它会分析应用的内部运行方式,以及可能如何被修改或利用。
competition-bundle-sourcemap-recovery
42k帮你的智能体还原网站代码。它会分析文件和代码映射,以了解网站是如何构建的,以及如何运行。