Логотип Auditing Presigned Url Scope Abuse

Auditing Presigned Url Scope Abuse

Організація
UnboundCompute
auditing-presigned-url-scope-abuse

Перевірте попередньо підписані URL-адреси сховища об’єктів: чи не надають вони ширші права, ніж передбачав запит. Наприклад, підпис охоплює ширший ключ, префікс або бакет, ніж має бути доступним користувачу; строк дії надто довгий; метод або тип вмісту не обмежений; особа, від імені якої створено підпис, має ширші права, ніж той, хто звернувся. Охоплює попередньо підписані URL-адреси GET і PUT для S3 та сумісних сховищ, де підписана політика є єдиною межею після того, як URL-адреса залишає сервер, і зловмисник може вийти за межі заданої області дії, змінивши ключ, повторно використавши URL-адресу або завантаживши інший об’єкт. Використовуйте цю навичку, коли сервіс створює попередньо підписані URL-адреси, щоб клієнти могли напряму читати дані зі сховища або записувати їх туди. Ключ або вхідні дані політики, на які впливає запитувач, є джерелом; виклик підписання — ціллю; а помилка полягає в тому, що підписана область дії ширша за права запитувача.

Огляд

ВидавецьUnboundCompute
Репозиторійsecurity-agent-skills
Назва навичкиauditing-presigned-url-scope-abuse
Зірки
27
Форки
8
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

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

  • Відкритий вихідний код

    Видавець на GitHub: UnboundCompute. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Auditing Presigned Url Scope Abuse у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-presigned-url-scope-abuse
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
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-presigned-url-scope-abuse .claude/skills/auditing-presigned-url-scope-abuse
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Auditing Presigned Url Scope Abuse в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Auditing Presigned Url Scope Abuse, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Auditing Presigned Url Scope Abuse не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Auditing presigned URL scope abuse: when the signature grants more than the request

A presigned URL turns a server-side permission into a standalone credential: once minted, it grants whatever the signature covers to anyone holding the URL, with no further authorization check at the store. That is convenient and precisely why it leaks. If the service signs a key the caller supplied without confirming the caller owns it, the URL reads or writes another user's object. If the signed policy leaves the key prefix, the HTTP method, the content type, or the expiry looser than the request needed, the holder does more than intended: reads a sibling object, overwrites a path they were only meant to read, or replays the URL long after it should have died. The signer's own identity matters too, because the URL inherits its permissions, not the caller's. You audit these by comparing the signed scope against the caller's actual entitlement.

When to use

  • A service mints presigned object-storage URLs so clients read or write a store directly.
  • The object key, prefix, bucket, or upload parameters in a presign request come from the caller.
  • Presigned URLs are returned to browsers or third parties where they can be inspected, edited, or replayed.

Scope check

Test presigned-URL handling only against storage and applications you own or are authorized to assess, on non-production data. A confirming request reads or writes real objects, so stay inside the authorized bucket and account and never touch another tenant's data outside an owned test fixture. If you can't name the authorization, stop.

The loop

  1. Establish the caller's real entitlement first. Before inspecting any signature, determine what object or prefix this authenticated caller is actually allowed to read or write. This is the false-positive killer: a presigned URL scoped exactly to what the caller owns is correct no matter how powerful presigning looks. Name the entitlement, then compare the signed scope to it.

  2. Trace caller input into the signed key and policy. Follow the key, prefix, bucket, method, and content-type from the request into the signing call. The critical question is whether the service confirms the caller owns the requested key before signing, or signs whatever key it is handed. A signer that trusts a caller-supplied key lets the caller name another user's object and receive a valid URL for it.

  3. Compare the signed scope to the entitlement. Read what the signature actually covers: is it pinned to one exact key, or does it permit a prefix or wildcard that reaches siblings? Is the method constrained to the one operation needed (GET for a read, PUT for an upload), or does it allow both? A URL that grants more keys, more methods, or a different bucket than the caller's entitlement is over-scoped.

  4. Check the expiry and the replay window. A presigned URL is valid for its whole lifetime to anyone holding it. An expiry measured in hours or days when the operation needs seconds turns a one-time action into a durable credential that survives in logs, browser history, and referrer headers. Confirm the expiry matches the operation's real need.

  5. Confirm the signer identity is least-privilege. The URL inherits the signing principal's permissions. If the service signs with a role that can read or write the whole bucket, every presigned URL is a potential whole-bucket credential regardless of the intended object. Determine whether the signer's own permissions are scoped to what presigned URLs should ever grant.

  6. Confirm and record. Confirm by requesting a presign for an object the caller does not own and showing the returned URL succeeds against it, or by editing a signed key or replaying an expired-in-intent URL within scope, without touching data outside an owned fixture. Kill the lead if the service verifies key ownership before signing, pins the signature to the exact key and method needed, sets an expiry matching the operation, and signs with a least-privilege identity. Record the input, the signing call, and the scope beyond entitlement.

Where presigned URL scope abuse leaks

  • A caller-supplied key signed without an ownership check is direct object access. The service becomes a signing oracle for any key the caller names.
  • A prefix or wildcard scope reaches siblings. Signing a prefix instead of the exact key lets the holder enumerate and fetch neighboring objects.
  • An unconstrained method turns a read grant into a write. A signature that permits PUT when the caller needed GET lets the holder overwrite the object.
  • An overlong expiry is a lingering credential. The URL keeps working from logs, history, and shared links long after the operation completed.
  • The URL carries the signer's power, not the caller's. A broadly permissioned signing role makes every URL as strong as that role over the covered scope.

Worked example (a confirm and a kill)

Confirm. An avatar-download endpoint signs a GET URL for a key taken from the request without checking the key belongs to the caller. Requesting a presign for another user's object key returns a valid URL that fetches that object. Confirmed presigned URL scope abuse to cross-user object read, high, remediation = verify the requested key resolves to an object the authenticated caller owns before signing, pin the signature to that exact key and to GET, and sign with a role scoped to the user-content prefix only.

Kill. The service resolves the object from the caller's own identity, never from a caller-supplied key, signs the exact resolved key for the single required method with a two-minute expiry, and signs with a role permitted only on the user-content prefix. A presign request naming another user's key is rejected before signing. Killed, kill_reason = "key derived from the caller's identity, signature pinned to the exact key and method with a short expiry, signer scoped to the user prefix; no URL grants beyond the caller's entitlement."

Rationalizations to reject

  • "The client only sends its own key." → The attacker is not using your client. Verify ownership of the requested key on the server before signing.
  • "The URL expires." → Confirm the expiry matches the operation's seconds-long need; an hours-long window is a durable credential in logs and history.
  • "It is just a read URL." → Check the signed method; a signature that also permits PUT is a write grant, and a prefix scope reaches other objects.
  • "Signing is internal." → The signed URL leaves your boundary the moment it is returned; its scope is the only remaining control.
  • "The signer role is our standard service role." → The URL inherits that role's power; a whole-bucket signer makes every URL a whole-bucket credential.

Executing this in practice

You need each presign endpoint, the caller's real entitlement, which of the key/prefix/bucket/method/ content-type come from the caller, what the signature actually covers, the expiry, and the signer identity's permissions. For each endpoint, compare the signed scope to the entitlement and confirm ownership is checked before signing. Reading the signing call shows the intended scope; requesting a URL for an unowned key shows whether the boundary holds.

Related

  • hunting-broken-object-level-authorization - the same missing ownership check, here expressed through a signed URL rather than a direct object reference.
  • auditing-s3-object-ownership-trust - the bucket-side companion: who owns and can read the objects a presigned URL points at.
  • hunting-non-human-identity-and-secret-reachability - the signer identity is a machine credential; its scope determines how much every presigned URL can grant.
  • adjudicating-taint-paths - use it to confirm a caller-supplied key reaches the signing call without an intervening ownership check.
  • FINDING-SCHEMA.md - source = the caller-influenced key or policy input, sink = the signing call, evidence = the signed scope beyond the caller's entitlement.

Поширені запитання

Що робить навичка ШІ Auditing Presigned Url Scope Abuse?

Перевірте попередньо підписані URL-адреси сховища об’єктів: чи не надають вони ширші права, ніж передбачав запит. Наприклад, підпис охоплює ширший ключ, префікс або бакет, ніж має бути доступним користувачу; строк дії надто довгий; метод або тип вмісту не обмежений; особа, від імені якої створено підпис, має ширші права, ніж той, хто звернувся. Охоплює попередньо підписані URL-адреси GET і PUT для S3 та сумісних сховищ, де підписана політика є єдиною межею після того, як URL-адреса залишає сервер, і зловмисник може вийти за межі заданої області дії, змінивши ключ, повторно використавши URL-...

Навіщо використовувати Auditing Presigned Url Scope Abuse у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Auditing Presigned Url Scope Abuse — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Auditing Presigned Url Scope Abuse у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-presigned-url-scope-abuse. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Auditing Presigned Url Scope Abuse?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Auditing Presigned Url Scope Abuse?

Зі скількома забажаєте. У TypingMind ви можете використовувати Auditing Presigned Url Scope Abuse із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Auditing Presigned Url Scope Abuse?

Так. На GitHub цю навичку публікує UnboundCompute за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип openclaw

Release Openclaw Plugin Testing

openclaw
ОрганізаціяПопулярне

Плануйте та виконуйте передрелізну перевірку плагінів OpenClaw: вбудованих плагінів, артефактів пакетів, команд життєвого циклу, doctor/fix, перевірки конфігурації після повторного перетворення, запуску шлюзу, сумісності 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
Відкрити
Логотип openclaw

Auto Qa

openclaw
ОрганізаціяПопулярне

Запускайте автономні кампанії QA, живого тестування та стрес-тестування для всього OpenClaw у незалежних потоках підсистем, із перевіреними виправленнями та звітом із доказами, який можна доповнювати після перерви.

82.2K
391K
Файлів: 5
Відкрити
Логотип openclaw

Autoreview

openclaw
ОрганізаціяПопулярне

Структурований перегляд коду на прямий запит; перевага надається OpenAI/Codex перед Claude.

82.2K
391K
Файлів: 12
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇