Logo Auditing Machine Identity Issuance

Auditing Machine Identity Issuance

Tổ chức
UnboundCompute
auditing-machine-identity-issuance

Kiểm tra cách nền tảng cấp danh tính cho máy và workload (cơ quan cấp chứng chỉ, liên kết danh tính workload, danh tính service mesh, cấp thông tin xác thực dựa trên attestation) để tìm lỗi tin tưởng sai chỗ vào bên yêu cầu danh tính: thông tin xác thực được cấp dựa trên bằng chứng yếu hoặc có thể giả mạo (tên tự khai, nhãn chưa xác thực, endpoint metadata có thể truy cập), khiến giả mạo bằng chứng tạo ra danh tính thật; cơ quan cấp phát không bị giới hạn ở những tên được phép cấp; cấu hình tin cậy liên kết quá rộng (subject ký tự đại diện, issuer không được cố định, thiếu audience), cho phép principal bên ngoài giả danh; chứng chỉ có thời hạn quá dài hoặc không thể thu hồi; và quy trình cấp phát không gắn với workload đã xác minh. Dùng khi nền tảng quyết định bằng chứng nào đủ để cấp danh tính máy và đó là ranh giới bảo vệ. Bằng chứng cấp phát có thể giả mạo hoặc quan hệ tin cậy quá rộng là nguồn, danh tính máy được cấp trái phép là đích, còn attestation yếu, issuer không bị giới hạn hoặc quan hệ tin cậy liên kết quá rộng là lỗ hổng.

Tổng quan

Nhà phát hànhUnboundCompute
Kho mãsecurity-agent-skills
Tên kỹ năngauditing-machine-identity-issuance
Sao
27
Bản fork
8
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
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 UnboundCompute 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 Auditing Machine Identity Issuance 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/UnboundCompute/security-agent-skills/tree/main/skills/auditing-machine-identity-issuance
  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/UnboundCompute/security-agent-skills.git /tmp/security-agent-skills
mkdir -p .claude/skills
cp -r /tmp/security-agent-skills/skills/auditing-machine-identity-issuance .claude/skills/auditing-machine-identity-issuance
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 Auditing Machine Identity Issuance 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 Auditing Machine Identity Issuance 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 Auditing Machine Identity Issuance 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.

Auditing machine identity issuance: the identity is only as trustworthy as the proof that earned it

Every machine identity, a service mesh certificate, a federated cloud credential, a signed workload token, is a statement the platform makes on a workload's behalf: this is who this thing is. Downstream services trust that statement and skip re-checking, which is the point of an identity system, so the entire chain of trust rests on one decision made at issuance: what proof did the platform require before it minted the identity. If that proof is weak or forgeable, the identity is legitimate and the holder is not. A certificate issued on a self-asserted name, an unvalidated label, or a reachable metadata endpoint lets an attacker who forges the proof obtain a real, trusted identity. An issuing authority whose scope is not constrained can mint identities for names it should never speak for, so a compromise of one issuer forges any workload. A workload-identity federation trust configured too broadly, a wildcard subject, an unpinned issuer, a missing audience, lets an outside principal assume a workload identity that was meant for a specific one. A certificate or token with an over-long lifetime or no revocation lets a compromised identity persist long after it should be dead. And an issuance path with no binding to a verified workload hands an identity to any caller who asks. The audit follows issuance from the proof presented to the identity granted, and checks that the proof is strong, the issuer is scoped, the federation trust is narrow, and the identity is short-lived and revocable. You audit this by presenting a weak or forged proof and seeing whether a legitimate identity comes back.

When to use

  • A platform issues machine or workload identities: mesh certificates, workload-identity federation credentials, signed workload tokens, or attestation-based credentials.
  • Issuance may rely on a weak or forgeable proof, or the issuing authority may not be scoped to the names it may speak for.
  • A federation trust may be over-broad (wildcard subject, unpinned issuer, missing audience), or issued identities may be over-long-lived or unrevocable.

Scope check

Test machine-identity issuance only against platforms and identity systems you own or are authorized to assess, with test workloads. Requesting and using issued identities exercises real trust, so use test issuers and workloads and never obtain, forge, or use a machine identity outside your authorization. If you can't name the authorization, stop.

The loop

  1. Establish what proof earns each identity and what each issuer may speak for first. Name, for each issuance path, the proof a workload must present, how that proof is verified, what names or scopes the issuing authority is allowed to mint, how narrow each federation trust is, and the lifetime and revocation of what is issued. This is the false-positive killer: an issuance path that requires a strong, non-forgeable attestation, a scoped issuer that can mint only its intended names, a federation trust pinned to a specific subject, issuer, and audience, and short-lived revocable identities is behaving correctly. Name the intended proof, then test each path.

  2. Test the issuance proof. Present the weakest proof the path will accept, a self-asserted name, an unvalidated label, a value read from a reachable metadata endpoint, and confirm a legitimate identity is not issued on it. Try to forge or replay the proof another workload would present. An identity minted on a forgeable proof is a real identity in an attacker's hands.

  3. Test issuer scope. Examine what names or scopes each issuing authority (CA, signer, token issuer) is constrained to mint, and confirm it cannot issue an identity for a name outside its authority. Request an identity for a name the issuer should never speak for. An unconstrained issuer means compromising or misusing one issuer forges any workload's identity.

  4. Test federation trust breadth. For workload-identity federation, inspect the trust configuration: whether the subject is pinned or a wildcard, whether the issuer is pinned, and whether an audience is required and checked. Attempt to assume the workload identity as a different or outside principal. A wildcard subject, unpinned issuer, or missing audience lets a principal the trust was not meant for assume the identity.

  5. Test lifetime and revocation. Determine the lifetime of issued identities and whether they can be revoked promptly. Use an identity past when it should be valid and after it should be revoked. An over-long lifetime or absent revocation lets a compromised machine identity keep authenticating long after it should be dead, so confirm identities are short-lived and revocable.

  6. Confirm and record. Confirm with test workloads by obtaining a legitimate identity on a forged or weak proof, minting an identity for a name outside an issuer's scope, assuming a workload identity as an outside principal through a broad federation trust, or using an identity past its intended life, without touching real workloads. Kill the lead if issuance requires a strong non-forgeable proof, issuers are scoped, federation trusts are pinned to subject, issuer, and audience, and identities are short-lived and revocable. Record the forgeable proof or over-broad trust, the illegitimately issued identity, and the weak attestation, unconstrained issuer, or over-broad federation trust.

Where issuance trust leaks

  • Forgeable issuance proof. An identity minted on a self-asserted name, an unvalidated label, or a reachable metadata value lets an attacker who forges the proof obtain a legitimate identity.
  • Unconstrained issuer. An issuing authority not scoped to the names it may mint can speak for workloads it should never represent, so one issuer's misuse forges any identity.
  • Over-broad federation trust. A wildcard subject, unpinned issuer, or missing audience in a workload-identity federation trust lets an outside principal assume a workload identity meant for a specific one.
  • Over-long lifetime or no revocation. A certificate or token issued for too long, or with no working revocation, lets a compromised identity keep authenticating long after it should be dead.
  • No binding to a verified workload. An issuance path that does not bind the identity to a verified, attested workload hands a real identity to any caller who asks.

Worked example (a confirm and a kill)

Confirm. A cloud platform's workload-identity federation trust accepts tokens from an external issuer with the subject claim configured as a wildcard and no audience check, so any token that issuer mints is accepted as the workload. On a test project, an outside principal who can obtain a token from that issuer assumes the workload identity and calls the platform's APIs as it, because the trust pins neither the subject nor an audience. Confirmed workload-identity assumption via over-broad federation trust, high, remediation = pin the trust to the exact subject that represents the intended workload, require and verify a specific audience, and pin the issuer so only the intended external identity can assume the workload.

Kill. Each issuance path requires a strong non-forgeable attestation of the workload; issuers are constrained to the exact names they may mint; every federation trust is pinned to a specific subject, a pinned issuer, and a required audience; and issued identities are short-lived and revocable. A forged or weak proof yields no identity, an issuer cannot mint outside its scope, an outside principal cannot assume a pinned workload trust, and an expired or revoked identity is rejected. Killed, kill_reason = "issuance requires a strong non-forgeable proof, issuers are scoped, federation trusts are pinned to subject, issuer, and audience, and identities are short-lived and revocable; no forged proof or broad trust yields a machine identity it should not."

Rationalizations to reject

  • "The workload says who it is." → A self-asserted name is not a proof; require a strong attestation the attacker cannot forge before minting an identity for a claimed workload.
  • "The issuer is trusted." → Confirm it is scoped to the names it may mint; an unconstrained issuer, once misused or compromised, forges any workload's identity, so trust is not enough without scope.
  • "Federation is set up and working." → Working for the intended workload is not the same as pinned against others; confirm the subject, issuer, and audience are all pinned so no outside principal can assume it.
  • "Certificates last a year for convenience." → A long-lived identity with weak revocation is a long-lived compromise; issue short-lived, automatically renewed identities that can be revoked.
  • "Anything on the network can request one." → An issuance path with no binding to a verified workload hands identities to any caller; bind each identity to an attested workload, not to reachability.

Executing this in practice

You need each issuance path's required proof and how it is verified, what names each issuer may mint, the subject-issuer-audience pinning of each federation trust, and the lifetime and revocation of issued identities. With test workloads, present weak and forged proofs, request out-of-scope names, attempt to assume a workload trust as an outside principal, and use identities past their intended life. Reading the issuance and trust configuration shows the intended proof; a legitimate identity obtained on a forged proof or a broad trust shows where the proof fails.

Related

  • hunting-mutual-tls-and-service-identity-gaps - the consuming side of mesh identity; issuance decides who gets a certificate, mTLS decides whether it is checked, and the two together bound service identity.
  • auditing-cicd-oidc-trust - a specific federation-trust case; a CI pipeline assuming a cloud identity is workload-identity federation with the same subject, issuer, and audience pinning questions.
  • auditing-service-account-key-lifecycle - the credential an issued identity often replaces; short-lived attested identities are the alternative to long-lived downloaded keys.
  • hunting-non-human-identity-and-secret-reachability - once an identity is issued, its reachability and reuse are that skill's subject; issuance is where the identity's trust begins.
  • FINDING-SCHEMA.md - source = the forgeable issuance proof or over-broad trust, sink = the illegitimately issued machine identity, evidence = the weak attestation, unconstrained issuer, or over-broad federation trust.

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

Kỹ năng AI Auditing Machine Identity Issuance làm được gì?

Kiểm tra cách nền tảng cấp danh tính cho máy và workload (cơ quan cấp chứng chỉ, liên kết danh tính workload, danh tính service mesh, cấp thông tin xác thực dựa trên attestation) để tìm lỗi tin tưởng sai chỗ vào bên yêu cầu danh tính: thông tin xác thực được cấp dựa trên bằng chứng yếu hoặc có thể giả mạo (tên tự khai, nhãn chưa xác thực, endpoint metadata có thể truy cập), khiến giả mạo bằng chứng tạo ra danh tính thật; cơ quan cấp phát không bị giới hạn ở những tên được phép cấp; cấu hình tin cậy liên kết quá rộng (subject ký tự đại diện, issuer không được cố định, thiếu audience), cho ph...

Vì sao nên dùng Auditing Machine Identity Issuance 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. Auditing Machine Identity Issuance 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 Auditing Machine Identity Issuance trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/UnboundCompute/security-agent-skills/tree/main/skills/auditing-machine-identity-issuance. 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 Auditing Machine Identity Issuance?

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 Auditing Machine Identity Issuance 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 Auditing Machine Identity Issuance 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 Auditing Machine Identity Issuance có miễn phí không?

Có. Kỹ năng này được UnboundCompute phát hành trên GitHub theo giấy phép MIT. 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 👇