Logo Cloud Cross Boundary Delegation Use

Cloud Cross Boundary Delegation Use

Tổ chức
CDESpace
Cloud Cross Boundary Delegation Use

An identity crossing an account or project boundary by delegation - an assume-role chain deep enough to drop the original human, a signJwt loop onto itself, GetFederationToken turning a programmatic key into a browser session. Reads hop depth and whether this source ever served this destination.

Tổng quan

Nhà phát hànhCDESpace
Kho mãDetection-Skills
Tên kỹ năngCloud Cross Boundary Delegation Use
Sao
57
Bản fork
5
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được CDESpace công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Cloud Cross Boundary Delegation Use trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/CDESpace/Detection-Skills/tree/main/skills/triage/cloud-cross-boundary-delegation-use
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CDESpace/Detection-Skills.git /tmp/Detection-Skills
mkdir -p .claude/skills
cp -r /tmp/Detection-Skills/skills/triage/cloud-cross-boundary-delegation-use .claude/skills/cdespace-cloud-cross-boundary-delegation-use
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Cloud Cross Boundary Delegation Use trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Cloud Cross Boundary Delegation Use ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Cloud Cross Boundary Delegation Use với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Triage Steps

Delegation is how cloud accounts are built. Deploy pipelines assume a role in every environment account, platform services impersonate a per-tenant service account on every request, and vendors assume into your account to do the job you bought from them. So a role being assumed or a token being minted is not the signal. The signal is the shape of the trust path: how many hops it runs, whether the human at the head of it is still visible at the far end, and whether this source has ever served this destination before. The credential doing the hopping may be perfectly legitimate - the path is what decides.

Start from this detection's track record on this source and destination pair - a rule that fires on every deploy hop into the staging account and always closes benign starts the call near dismiss - then read the leads below. None is required on its own; they stack, and a single strong one (a self-impersonation loop, a long-lived key turned into a browser session) can carry the call. This class turns on the use of a delegation - the assume, the impersonation, the federation - distinct from the creation of the trust that makes it possible: a role trust policy widened to a new external account, or a workload-identity pool binding added, is cloud-iam-privilege-persistence's, which already treats a new trust relationship as its own escalate lead. Where the question is whose hands a credential is in - a new ASN or user-agent, a metadata token used off its instance, a first-ever write - that is cloud-stolen-credential-first-use's.

Leads that point to a real threat - what to look for in the data:

  • A chain deep enough to hide the human. AssumeRole called from an already-assumed session, again, so that userIdentity.sessionContext at the far end no longer carries the original principal or its MFA fact, and the RoleSessionName is machine-generated noise rather than a name you recognize. Pipelines hop at a fixed depth with a session name that says which pipeline; a chain that grows an extra hop and loses the person is laundering, and the last session is the one holding the power.
  • A self-impersonation loop, or a token minted with a user-managed key. iam.serviceAccounts.signJwt or iam.serviceAccounts.generateAccessToken where the caller and the target service account are the same identity, or an impersonation token minted using a user-managed service-account key instead of the platform's own metadata credential. The loop is how a principal holding only the signing permission turns it into full impersonation, and a user-managed key means someone is carrying that identity around in a file.
  • actAs attaching a more privileged identity to a workload. iam.serviceAccounts.actAs used to attach a service account with broader roles onto a VM, a Cloud Run or Function deployment, or a job. The caller never gains the permissions itself - the workload it just created holds them, and every later call comes from the machine rather than the person.
  • A programmatic key turned into an interactive session. GetFederationToken or GetSigninToken called by a long-lived IAM user or access key, producing a console session. Programmatic credentials have no use for a browser; that conversion is how a stolen key becomes a pair of hands clicking through the console, and it also breaks the MFA story the console would otherwise enforce.
  • A source and destination pair with no history, or a hop right after the trust widened. The source identity has never assumed into this account or project before, or the destination role's trust policy was widened - a new external account principal, a wildcard subject on a workload-identity pool - shortly before the first assume against it. New trust plus immediate use, in one window, is the two halves of the same move.

Leads that rule it out - benign context you can actually see in the data; if the data doesn't show it, you don't have it:

  • The deploy role's hop by design. The chain runs at its usual depth, the RoleSessionName carries the pipeline's own prefix, and the source address is the runner's own egress - with the same source and destination pair appearing on every deploy across the window. All three should line up; a familiar destination reached at an unfamiliar depth, or with a session name you cannot place, is not this lead.
  • A platform service impersonating per-tenant accounts at its steady cadence. The caller is the platform's own service identity, the targets are the per-tenant service accounts it serves, and the calls arrive at an even machine rhythm with identical parameters across many targets rather than as one burst against one target. Many targets, constant shape, no human judgment between them is what per-request impersonation looks like.
  • A documented vendor integration. The assume comes from the vendor's own account id, carries the agreed ExternalId on the call, and lands on the role provisioned for that vendor, with follow-on calls that stay inside the read-only set that integration does. The account id and ExternalId are in the audit row - a vendor you assume rather than see is not context.
  • Break-glass federation by a named engineer inside a window. The federating identity resolves in the identity directory to a named person, an incident or change window covers the timestamp, and the console session's follow-on calls match that task instead of ranging into unrelated services. The session's own activity is the check that makes this lead hold.

To confirm a lead instead of guessing, pull the thread: what did the final session actually do after the hop, and has this source ever reached this destination in its own history?

Output

Decision

  • escalate: a chain that adds a hop and drops the original human, a signJwt or generateAccessToken self-impersonation loop, an impersonation token minted with a user-managed key, actAs attaching a more privileged service account to a VM or job, a programmatic key converted into a console session, or a source-and-destination pair with no history - especially one assumed straight after that role's trust was widened.
  • dismiss: the deploy role hopped at its usual depth with its own session-name prefix from the runner's egress, a platform service impersonated its per-tenant accounts at its steady cadence, a documented vendor assumed with the agreed ExternalId from its own account, or a named engineer federated inside an incident window and the session's calls match that task. A dismiss is a positive call that the delegation is benign, made with that context in hand - a chain depth and session name you matched, an ExternalId and vendor account you read, a window and follow-on calls you checked; a chain whose head you couldn't recover or a destination this source has never served is not that context, and absence of a bad sign is not proof it's good. Dismiss is logged and reopenable; when the human at the head of the chain is gone, a key became a console session, or you're unsure, escalate.

Evidence

The full hop sequence with the calling identity at each step, the hop depth against this pipeline's usual depth, the RoleSessionName and whether it carries a recognizable prefix, whether sessionContext still carries the original principal and its MFA fact, the source and destination account or project pair and their history together, the ExternalId and source account on a vendor assume, the caller-and-target pair on an impersonation call and whether a user-managed key was used, the source address against the runner's or workload's own egress, what the resulting session did next, and any trust-policy or workload-identity binding change on the destination earlier in the window.

Reasoning

Name the leads that decided it and how they stacked - a service account calling generateAccessToken on itself with a user-managed key, then assuming into a production project it has never served, is escalate on its own, while the deploy role hopping into the staging account at its usual depth with its pipeline session-name prefix from the runner's egress is dismiss.

Câu hỏi thường gặp

Kỹ năng AI Cloud Cross Boundary Delegation Use làm được gì?

An identity crossing an account or project boundary by delegation - an assume-role chain deep enough to drop the original human, a signJwt loop onto itself, GetFederationToken turning a programmatic key into a browser session. Reads hop depth and whether this source ever served this destination.

Vì sao nên dùng Cloud Cross Boundary Delegation Use trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Cloud Cross Boundary Delegation Use là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Cloud Cross Boundary Delegation Use trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/CDESpace/Detection-Skills/tree/main/skills/triage/cloud-cross-boundary-delegation-use. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Cloud Cross Boundary Delegation Use?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Cloud Cross Boundary Delegation Use với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Cloud Cross Boundary Delegation Use với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Cloud Cross Boundary Delegation Use có miễn phí không?

Có. Kỹ năng này được CDESpace phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇