Логотип Auditing Mobile Backend And Firebase Exposure

Auditing Mobile Backend And Firebase Exposure

Организация
UnboundCompute
auditing-mobile-backend-and-firebase-exposure

Проверяйте серверную часть, с которой взаимодействует мобильное приложение, на случаи, когда авторизация реализована только на клиенте. Это происходит, если сервис для мобильного бэкенда, размещённое хранилище данных, хранилище объектов или облачная функция полагаются на приложение в вопросах контроля доступа и поэтому позволяют любому клиенту читать или изменять данные другого пользователя, вызывать привилегированную операцию или обращаться к недоступным ему записям. Причиной могут быть слишком разрешительные правила сервиса, авторизация операции по значениям, заданным клиентом, или предположение бэкенда, что обращаться к нему может только официальное приложение. Используйте этот навык, если мобильное приложение работает с размещённым бэкендом или хранилищем данных, правила доступа и операции которого можно проверять напрямую. Это касается слишком разрешительных правил хранилища данных, чтения и записи без аутентификации или с чрезмерными правами, открытого доступа к хранилищу объектов и облачных функций, доверяющих клиенту. Источник — прямой запрос клиента в обход приложения, точка назначения — правило или операция бэкенда, которые его обрабатывают, а уязвимость заключается в доступе к данным или действиям, на которые у пользователя нет прав.

Обзор

ИздательUnboundCompute
Репозиторийsecurity-agent-skills
Название навыкаauditing-mobile-backend-and-firebase-exposure
Звёзды
27
Форки
8
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — UnboundCompute. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Auditing Mobile Backend And Firebase Exposure в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mobile-backend-and-firebase-exposure
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Auditing Mobile Backend And Firebase Exposure в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Auditing Mobile Backend And Firebase Exposure, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Auditing Mobile Backend And Firebase Exposure не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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.

Часто задаваемые вопросы

Что делает навык ИИ Auditing Mobile Backend And Firebase Exposure?

Проверяйте серверную часть, с которой взаимодействует мобильное приложение, на случаи, когда авторизация реализована только на клиенте. Это происходит, если сервис для мобильного бэкенда, размещённое хранилище данных, хранилище объектов или облачная функция полагаются на приложение в вопросах контроля доступа и поэтому позволяют любому клиенту читать или изменять данные другого пользователя, вызывать привилегированную операцию или обращаться к недоступным ему записям. Причиной могут быть слишком разрешительные правила сервиса, авторизация операции по значениям, заданным клиентом, или предпо...

Зачем использовать Auditing Mobile Backend And Firebase Exposure в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Auditing Mobile Backend And Firebase Exposure — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Auditing Mobile Backend And Firebase Exposure в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-mobile-backend-and-firebase-exposure. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Auditing Mobile Backend And Firebase Exposure?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Auditing Mobile Backend And Firebase Exposure?

С любым количеством. В TypingMind вы можете использовать Auditing Mobile Backend And Firebase Exposure с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Auditing Mobile Backend And Firebase Exposure?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — UnboundCompute. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип openclaw

Release Openclaw Mac

openclaw
ОрганизацияПопулярный

Запускайте или восстанавливайте процессы подписания релизов OpenClaw для macOS, нотариального заверения, обновления appcast и публикации ресурсов.

82.2K
391K
Инструкции
Открыть
Логотип openclaw

Release Openclaw Maintainer

openclaw
ОрганизацияПопулярный

Готовьте, публикуйте, восстанавливайте или проверяйте бета-, стабильные и расширенные стабильные релизы OpenClaw, включая утверждённые обратные переносы изменений.

82.2K
391K
Файлы: 11
Открыть
Логотип openclaw

Release Openclaw Plugin Testing

openclaw
ОрганизацияПопулярный

Планируйте и проводите проверку плагинов OpenClaw перед релизом: проверяйте встроенные плагины, артефакты пакетов, команды жизненного цикла, doctor/fix, обратное преобразование конфигурации, запуск gateway, совместимость SDK, Docker E2E,…

82.2K
391K
Файлы: 1
Открыть
Логотип openclaw

Solid

openclaw
ОрганизацияПопулярный

Write, port, review, or test Solid 2 UI in OpenClaw (Control UI, plugin views, Canvas hosts), including state ownership, Lit interop during the migration, native overlays, testing, performance, and…

82.4K
391.7K
Файлы: 9
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇