Logo de Auditing Mobile Backend And Firebase Exposure

Auditing Mobile Backend And Firebase Exposure

Organização
UnboundCompute
auditing-mobile-backend-and-firebase-exposure

Audite o backend com o qual um app móvel se comunica para identificar autorizações que existem apenas no cliente, quando um serviço de backend móvel, um armazenamento de dados hospedado, um bucket de armazenamento ou uma função na nuvem confia que o app aplique o controle de acesso. Isso permite que qualquer cliente leia ou altere os dados de outra pessoa, execute uma operação privilegiada ou acesse registros que não deveria, porque as regras do serviço são permissivas, a operação autoriza com base em valores definidos pelo cliente ou o backend presume que apenas o app legítimo fará chamadas. Use quando um app móvel utiliza um backend ou armazenamento de dados hospedado cujas regras de acesso e operações podem ser testadas diretamente. Abrange regras permissivas de armazenamento de dados, leituras e gravações sem autenticação ou com escopo amplo demais, exposição de buckets de armazenamento e funções na nuvem que confiam no cliente. A solicitação direta do cliente que contorna o app é a origem; a regra ou operação do backend que a atende é o destino; e o problema é acessar dados ou executar ações sem a devida autorização.

Visão geral

Publicado porUnboundCompute
Repositóriosecurity-agent-skills
Nome da habilidadeauditing-mobile-backend-and-firebase-exposure
Estrelas
27
Forks
8
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por UnboundCompute no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Auditing Mobile Backend And Firebase Exposure no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mobile-backend-and-firebase-exposure
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-mobile-backend-and-firebase-exposure .claude/skills/auditing-mobile-backend-and-firebase-exposure
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Auditing Mobile Backend And Firebase Exposure em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Auditing Mobile Backend And Firebase Exposure automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Auditing Mobile Backend And Firebase Exposure não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Auditing mobile backend and Firebase exposure: when the server trusts the app to say no

A mobile app usually talks to a hosted backend, a mobile-backend service, a cloud datastore, a storage bucket, or a set of cloud functions, and it is easy to build that backend as though the app were the only client. The app checks what the user may see and calls the backend accordingly, so the backend rules are left permissive because the app is trusted to enforce access. But the app is not the only client: anyone can take the app's credentials and endpoints and call the backend directly, skipping every check the app performs. When the backend authorizes by rules that are too broad, by values the client sets, or by the assumption that only the genuine app calls it, a direct request reads or writes another user's data, invokes a privileged operation, or reaches records the user should never see. The bug is authorization that lives in the client while the backend serves whoever asks. You audit these by calling the backend directly and checking whether the server, not the app, enforces access.

When to use

  • A mobile app uses a hosted backend, datastore, storage bucket, or cloud functions you can call directly.
  • The backend's access rules or operations may authorize by client-set values or assume only the app calls.
  • Datastore rules or storage permissions may be permissive enough to serve another user's data.

Scope check

Audit backend exposure only on services you own or are authorized to assess, on non-production or test projects with test accounts, reading and writing only your own test data when you exercise a rule directly. A confirmed gap reaches other users' data or privileged actions, so keep every probe within scope and prefer an isolated project. If you can't name the authorization, stop.

The loop

  1. Establish whether the backend enforces authorization itself or trusts the app first. For each backend operation and datastore path, determine whether the server authorizes the request against the authenticated caller and its own rules, or whether it relies on the app to have checked and serves any direct request. This is the false-positive killer: a backend whose rules restrict every read and write to the entitled caller cannot be bypassed by calling it directly, whatever the app does. Name where authorization is enforced before crafting a direct request.

  2. Enumerate the backend surface. List the datastore paths, storage locations, and cloud functions the app uses, with the credentials and endpoints it presents. These, recovered from the app or its traffic, are what a direct client will use to call the backend without the app.

  3. Check the datastore and storage rules. Determine whether the datastore rules and storage permissions restrict each read and write to the entitled caller, or are permissive, world-readable paths, writes not scoped to the owner, or a bucket that lists or serves objects to any client. A permissive rule serves data directly.

  4. Check the operation authorization. Determine whether each cloud function or backend operation authorizes by the authenticated caller and server-side state, or by values the client supplies, an identifier, a role, or an amount the client sets, so a direct caller sets them freely and reaches a privileged action.

  5. Check the only-the-app assumption. Determine whether any part of the backend assumes the request comes from the genuine app, treating the app's credential or a client-set marker as authorization, when any client presenting the same values is served identically.

  6. Confirm and record. Confirm by calling the backend directly, without the app, and reading or writing test data, or invoking a privileged operation, that the caller should not be entitled to, on an isolated project with test accounts. Kill the lead if the backend authorizes every read, write, and operation against the authenticated caller and its own rules, and if no operation trusts client-set authorization or the app's mere presence. Record the operation or path, the permissive rule or trusted value, and the direct access observed, or set a kill_reason.

Where backend exposure leaks

  • Server-side enforcement is the finding. A backend that authorizes each request itself is safe from a direct caller; the bug is authorization left in the app while the server serves whoever asks. Name where the check is missing.
  • Permissive datastore rules serve data directly. A world-readable path or a write not scoped to the owner lets any client read or alter another user's records without the app.
  • Storage buckets list and serve to anyone. A bucket that lists objects or serves them to any client exposes files the app would have gated, reachable by a direct request.
  • Client-set values are not authorization. An operation that authorizes by an identifier, role, or amount the client supplies is driven by a direct caller who sets those values freely.
  • The only-the-app assumption is false. Any client can present the app's credential and endpoints, so treating the app's presence as authorization serves every direct caller identically.

Worked example (a confirm and a kill)

Confirm. A cloud datastore path holding user records is readable by any authenticated client because the rule checks only that the caller is signed in, not that the record belongs to them. Calling the backend directly with a test account reads another test user's records without the app, on an isolated project. Confirmed broken authorization exposing other users' data through a permissive datastore rule, high, remediation = restrict each read and write to the record's owner in the server-side rules, authorize every operation against the authenticated caller, and never rely on the app to enforce access.

Kill. The same datastore restricts each path to the owning caller in its server-side rules, storage objects are served only to their owner, and every cloud function authorizes by the authenticated caller and server-side state rather than client-set values. A direct request with a test account reaches only that account's own data. Killed, kill_reason = "the backend rules restrict every read, write, and operation to the entitled caller server-side; a direct request reaches nothing the caller is not entitled to."

Rationalizations to reject

  • "Only our app calls the backend." -> Anyone can extract the app's credentials and endpoints and call the backend directly; the app is not the only client, so the server must enforce access.
  • "The user is authenticated." -> Authentication is not authorization; confirm the rule checks the caller is entitled to the specific record or operation, not merely signed in.
  • "The rules are the defaults." -> Default rules are frequently permissive; read the actual rules and test a direct read and write, since defaults are exactly what this audit catches.
  • "The client sends its user id." -> A direct caller sets any user id it likes; authorize by the authenticated identity the server establishes, not by a client-supplied value.
  • "The bucket is not linked anywhere." -> An unlinked bucket that lists or serves objects to any client is still reachable by a direct request; confirm the permissions, not the obscurity.

Executing this in practice

You need the backend surface the app uses, datastore paths, storage locations, and cloud functions, with its credentials and endpoints, and the server-side rule or authorization for each. For each, call the backend directly with a test account and decide whether it authorizes against the caller or serves the request on client trust. Reading the rules settles some leads; calling the backend directly and reading or writing test data the caller should not reach, on an isolated project, settles the rest.

Related

  • hunting-broken-object-level-authorization - the general direct-object authorization flaw, of which a permissive mobile-backend rule is the hosted-datastore case.
  • hunting-hybrid-app-bundle-and-config-exposure - the backend keys and endpoints a direct caller uses are recovered from the bundle that skill unpacks, feeding this audit.
  • auditing-datastore-exposure-and-abuse - the broader datastore exposure audit, sharing the permissive-rule and direct-access reasoning with this mobile-backend case.
  • hunting-mobile-tls-pinning-and-trust-gaps - the backend credentials and endpoints are also recoverable from traffic when transport trust fails, the gap that skill covers.
  • FINDING-SCHEMA.md - source = the direct client request bypassing the app, sink = the backend rule or operation serving it, evidence = reaching test data or an action the caller is not entitled to by calling the backend directly on an isolated project.

Perguntas frequentes

O que a habilidade de IA Auditing Mobile Backend And Firebase Exposure faz?

Audite o backend com o qual um app móvel se comunica para identificar autorizações que existem apenas no cliente, quando um serviço de backend móvel, um armazenamento de dados hospedado, um bucket de armazenamento ou uma função na nuvem confia que o app aplique o controle de acesso. Isso permite que qualquer cliente leia ou altere os dados de outra pessoa, execute uma operação privilegiada ou acesse registros que não deveria, porque as regras do serviço são permissivas, a operação autoriza com base em valores definidos pelo cliente ou o backend presume que apenas o app legítimo fará chamada...

Por que usar Auditing Mobile Backend And Firebase Exposure no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Auditing Mobile Backend And Firebase Exposure é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Auditing Mobile Backend And Firebase Exposure no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mobile-backend-and-firebase-exposure. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Auditing Mobile Backend And Firebase Exposure?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Auditing Mobile Backend And Firebase Exposure?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Auditing Mobile Backend And Firebase Exposure com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Auditing Mobile Backend And Firebase Exposure é gratuita?

Sim. A habilidade é publicada no GitHub por UnboundCompute sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇