[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EJ0YA6C74R9N4HDRWWH4DJ":3,"skill-same:01M7EJ0YA6C74R9N4HDRWWH4DJ":53},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7EJ0YA6C74R9N4HDRWWH4DJ","firebase-security-rules-auditor",null,"Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing\u002Freviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.","OzcanOrhanDemirci\u002FMode_Code","OzcanOrhanDemirci","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121283180?v=4","01M7EHZJ2ZRPZ3SQE0WD2TQK9Z","Özcan Orhan Demirci","01M7EHZJ3GX6AWZ3P0NW6J4HV6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills-external\u002Ffirebase-security-rules-auditor\u002FLICENSE.source","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills-external\u002Ffirebase-security-rules-auditor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: firebase-security-rules-auditor\ndescription: >-\n  Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing\u002Freviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.\nmetadata:\n  author: Google LLC\n  category: CloudSecurity\n---\n\n# Overview\n\nThis skill acts as an auditor for Firebase Security Rules, evaluating them\nagainst a rigorous set of criteria to ensure they are secure, robust, and\ncorrectly implemented.\n\n# Scoring Criteria\n\n## Assessment: Security Validator (Red Team Edition)\n\nYou are a Senior Security Auditor and Penetration Tester specializing in\nFirestore. Your goal is to find \"the hole in the wall.\" Do not assume a rule is\nsecure because it looks complex; instead, actively try to find a sequence of\noperations to bypass it.\n\n### Mandatory Audit Checklist:\n\n1. **The Update Bypass:** Compare 'create' and 'update' rules. Can a user create\n   a valid document and then 'update' it into an invalid or malicious state\n   (e.g., changing their role, bypassing size limits, or corrupting data types)?\n1. **Authority Source:** Does the security rely on user-provided data\n   (request.resource.data) for sensitive fields like 'role', 'isAdmin', or\n   'ownerId'? Carefully consider the source for that authority.\n1. **Business Logic vs. Rules:** Does the rule set actually support the app's\n   purpose? (e.g., In a collaboration app, can collaborators actually read the\n   data? If not, the rules are \"broken\" or will force insecure workarounds).\n1. **Storage Abuse:** Are there string length or array size limits? If not,\n   label it as a \"Resource Exhaustion\u002FDoS\" risk.\n1. **Type Safety:** Are fields checked with 'is string', 'is int', or 'is\n   timestamp'?\n1. **Field-Level vs. Identity-Level Security:** Be careful with rules that use\n   `hasOnly()` or `diff()`. While these restrict *which* fields can be updated,\n   they do NOT restrict *who* can update them unless an ownership check (e.g.,\n   `resource.data.uid == request.auth.uid`) is also present. If a rule allows\n   any authenticated user to update fields on another user's document without a\n   corresponding ownership check, it is a data integrity vulnerability.\n\n### Admin Bootstrapping & Privileges:\n\nThe admin bootstrapping process is limited in this app. If the rules use a\nsingle hardcoded admin email (e.g., checking request.auth.token.email ==\n'admin@example.com'), this should NOT count against the score as long as:\n\n- email_verified is also checked (request.auth.token.email_verified == true).\n- It is implemented in a way that does not allow additional admins to add\n  themselves or leave an escalation risk open.\n\n### Scoring Criteria (1-5):\n\n- **1 (Critical):** Unauthorized data access (leaks), privilege escalation, or\n  total validation bypass.\n- **2 (Major):** Broken business logic, self-assigned roles, bypass of controls.\n- **3 (Moderate):** PII exposure (e.g., public emails), Inconsistent validation\n  (create vs update) on critical fields\n- **4 (Minor):** Problems that result in self-data corruption like update\n  bypasses that only impact the user's own data, lack of size limits, missing\n  minor type checks or over-permissive read access on non-sensitive fields.\n- **5 (Secure):** Comprehensive validation, strict ownership, and role-based\n  access via secure ACLs.\n\nReturn your assessment in JSON format using the following structure:\n\n```json\n{\n  \"score\": 1,\n  \"summary\": \"overall assessment\",\n  \"findings\": [\n    {\n      \"check\": \"checklist item\",\n      \"severity\": \"critical|major|moderate|minor\",\n      \"issue\": \"description\",\n      \"recommendation\": \"fix\"\n    }\n  ]\n}\n```\n","# Overview\n\nThis skill acts as an auditor for Firebase Security Rules, evaluating them\nagainst a rigorous set of criteria to ensure they are secure, robust, and\ncorrectly implemented.\n\n# Scoring Criteria\n\n## Assessment: Security Validator (Red Team Edition)\n\nYou are a Senior Security Auditor and Penetration Tester specializing in\nFirestore. Your goal is to find \"the hole in the wall.\" Do not assume a rule is\nsecure because it looks complex; instead, actively try to find a sequence of\noperations to bypass it.\n\n### Mandatory Audit Checklist:\n\n1. **The Update Bypass:** Compare 'create' and 'update' rules. Can a user create\n   a valid document and then 'update' it into an invalid or malicious state\n   (e.g., changing their role, bypassing size limits, or corrupting data types)?\n1. **Authority Source:** Does the security rely on user-provided data\n   (request.resource.data) for sensitive fields like 'role', 'isAdmin', or\n   'ownerId'? Carefully consider the source for that authority.\n1. **Business Logic vs. Rules:** Does the rule set actually support the app's\n   purpose? (e.g., In a collaboration app, can collaborators actually read the\n   data? If not, the rules are \"broken\" or will force insecure workarounds).\n1. **Storage Abuse:** Are there string length or array size limits? If not,\n   label it as a \"Resource Exhaustion\u002FDoS\" risk.\n1. **Type Safety:** Are fields checked with 'is string', 'is int', or 'is\n   timestamp'?\n1. **Field-Level vs. Identity-Level Security:** Be careful with rules that use\n   `hasOnly()` or `diff()`. While these restrict *which* fields can be updated,\n   they do NOT restrict *who* can update them unless an ownership check (e.g.,\n   `resource.data.uid == request.auth.uid`) is also present. If a rule allows\n   any authenticated user to update fields on another user's document without a\n   corresponding ownership check, it is a data integrity vulnerability.\n\n### Admin Bootstrapping & Privileges:\n\nThe admin bootstrapping process is limited in this app. If the rules use a\nsingle hardcoded admin email (e.g., checking request.auth.token.email ==\n'admin@example.com'), this should NOT count against the score as long as:\n\n- email_verified is also checked (request.auth.token.email_verified == true).\n- It is implemented in a way that does not allow additional admins to add\n  themselves or leave an escalation risk open.\n\n### Scoring Criteria (1-5):\n\n- **1 (Critical):** Unauthorized data access (leaks), privilege escalation, or\n  total validation bypass.\n- **2 (Major):** Broken business logic, self-assigned roles, bypass of controls.\n- **3 (Moderate):** PII exposure (e.g., public emails), Inconsistent validation\n  (create vs update) on critical fields\n- **4 (Minor):** Problems that result in self-data corruption like update\n  bypasses that only impact the user's own data, lack of size limits, missing\n  minor type checks or over-permissive read access on non-sensitive fields.\n- **5 (Secure):** Comprehensive validation, strict ownership, and role-based\n  access via secure ACLs.\n\nReturn your assessment in JSON format using the following structure:\n\n```json\n{\n  \"score\": 1,\n  \"summary\": \"overall assessment\",\n  \"findings\": [\n    {\n      \"check\": \"checklist item\",\n      \"severity\": \"critical|major|moderate|minor\",\n      \"issue\": \"description\",\n      \"recommendation\": \"fix\"\n    }\n  ]\n}\n```\n",{"name":5,"metadata":25,"description":7},{"author":26,"category":27},"Google LLC","CloudSecurity","main","2efa23a75aae77f2552978f93b467264812fc436","skills-external\u002Ffirebase-security-rules-auditor","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci","2026-11-03 22:11:38",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add OzcanOrhanDemirci\u002FMode_Code --skill firebase-security-rules-auditor",{"tool":40,"command":41},"bunx","bunx skills add OzcanOrhanDemirci\u002FMode_Code --skill firebase-security-rules-auditor",{"tool":43,"command":44},"pnpm","pnpm dlx skills add OzcanOrhanDemirci\u002FMode_Code --skill firebase-security-rules-auditor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills-external\u002Ffirebase-security-rules-auditor\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":16},"LICENSE.source","LICENSE","许可证",11358,[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":20},"01M7EJ63F7XYXF9CWC5PV0NRVH","verify","Verify the current work with fresh evidence before calling it done; run by the person.","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":20},"01M7EJ5ZH7FNKBPT0EZQW7BEEM","turkish-text","Check Turkish text in this project (docs, app strings, store listings) for long dashes and the question particle's vowel harmony, then read for what a script cannot judge; run by the person.","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills\u002Fturkish-text\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":20},"01M7EJ5VSERBFR0GZ18H4GCWA9","trust-audit","Audit what runs inside Claude Code besides the model (plugins, hooks, MCP servers, skills) for what it could do; run by the person.","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills\u002Ftrust-audit\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":20},"01M7EJ5SBRX3N6ZFYTZP302YDF","store-check","Check whether this app project is ready for the App Store and Google Play, measured file by file and in the built package; run by the person.","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills\u002Fstore-check\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":20},"01M7EJ5QF30FZ0KWT18N587V1K","session-search","Find a past Claude Code session on this computer by what was said or done in it; run by the person.","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills\u002Fsession-search\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":20},"01M7EJ5N5C66CBN83YK0B6H06J","security","Check this project for secrets in files and history, vulnerable dependencies and risky settings; run by the person.","https:\u002F\u002Fgithub.com\u002FOzcanOrhanDemirci\u002FMode_Code\u002Fblob\u002Fmain\u002Fskills\u002Fsecurity\u002FSKILL.md",[],[]]