Cline rules
.clinerules/30-security-and-storage.mdSecurity, permissions, storage, and messaging rules for session-related extension logic
Cline rules
Quality
34/100
Scores the file, not the repository.Length
195 words
0 headings · 0 code blocksRepository
0
— · pushed 4 days agoLast changed
2 days ago
First indexed 2 days ago.1234567This project handles account and session switching, so security is a first-class concern.89Permissions and privacy:10- Follow least-privilege permissions.11- Never add broader permissions, host permissions, or site match patterns unless explicitly requested and justified.12- Prefer optional or narrower permissions when possible.1314Storage rules:15- Minimize persisted sensitive data.16- Assume extension storage is not a secure secret vault.17- Do not store plaintext secrets, passwords, raw session cookies, or long-lived sensitive tokens unless explicitly required and discussed.18- Keep the lifetime of session-related data as short as practical.19- Remove temporary or session-related state on logout, removal, or invalidation paths when applicable.2021Messaging and input safety:22- Validate message payload shape and expected message types.23- Do not trust content-script or UI input without validation.24- Never log tokens, cookies, secrets, or personally identifiable data.25- Avoid unsafe DOM patterns such as injecting untrusted HTML; prefer safe text rendering.2627Review behavior:28- For auth, session, storage, or permission changes, briefly explain:29 1. what data is handled,30 2. where it is stored,31 3. how long it lives,32 4. how it is cleared,33 5. why the approach is safe enough for the current architecture.
Also in ogisetiawan/account-switcher
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| ogisetiawan/account-switcher.cursor/rules/00-project-core.mdc · 0 | Cursor rules | style | 34/100 | 2 days ago | |
| ogisetiawan/account-switcher.cursor/rules/50-testing-and-change-safety.mdc · 0 | Cursor rules | lint-format | 20/100 | 2 days ago | |
| ogisetiawan/account-switcher.cursor/rules/30-security-and-storage.mdc · 0 | Cursor rules | style | 34/100 | 2 days ago | |
| ogisetiawan/account-switcher.clinerules/00-project-core.md · 0 | Cline rules | style | 34/100 | 2 days ago | |
| ogisetiawan/account-switcher.clinerules/10-build-and-manifest.md · 0 | Cline rules | style | 34/100 | 2 days ago | |
| ogisetiawan/account-switcher.clinerules/40-typescript-and-architecture.md · 0 | Cline rules | style | 20/100 | 2 days ago | |
| ogisetiawan/account-switcher.clinerules/50-testing-and-change-safety.md · 0 | Cline rules | lint-format | 20/100 | 2 days ago | |
| ogisetiawan/account-switcher.cursor/rules/10-build-and-manifest.mdc · 0 | Cursor rules | style | 34/100 | 2 days ago | |
| ogisetiawan/account-switcher.cursor/rules/40-typescript-and-architecture.mdc · 0 | Cursor rules | style | 20/100 | 2 days ago | |
| ogisetiawan/account-switcherAGENTS.md · 0 | AGENTS.md | lint-formatdo-notagent-behaviour | 63/100 | 2 days ago |
Diff against .cursor/rules/00-project-core.mdc Diff against .cursor/rules/50-testing-and-change-safety.mdc Diff against .cursor/rules/30-security-and-storage.mdc Diff against .clinerules/00-project-core.md Diff against .clinerules/10-build-and-manifest.md Diff against .clinerules/40-typescript-and-architecture.md Diff against .clinerules/50-testing-and-change-safety.md Diff against .cursor/rules/10-build-and-manifest.mdc Diff against .cursor/rules/40-typescript-and-architecture.mdc Diff against AGENTS.md
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| bashdeban/fastmind.clinerules/.project-consistency-keeper2.md · 5 | Cline rules | setupbuildtestlint-format+11 | 100/100 | 3 days ago | |
| JCodesMore/ai-website-cloner-template.clinerules · 31k | Cline rules | buildlint-formatstylearch+3 | 97/100 | 2 days ago | |
| BryaanF/LiantPortfolio.clinerules/project-guidelines.md · 0 | Cline rules | buildstylearchgit+2 | 96/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| prabhakar267/paper-games.clinerules/git-commit-guidelines.md · 0 | Cline rules | lint-formatstylearchgit+3 | 93/100 | 2 days ago | |
| VaillerTeeter/HoshimiNest.clinerules/project-identity.md · 1 | Cline rules | setuparchtypesdo-not | 93/100 | yesterday | |
| HerringtonDarkholme/megarepo.clinerules/02-development.md · 17 | Cline rules | setupbuildteststyle+3 | 92/100 | 3 days ago |
