跳到正文
TakoAPI
返回技能列表

sev-attestation

由 xinyuwang 提供

Coding Agents & IDEs
1.6k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Perform AMD SEV-SNP remote attestation to cryptographically verify VM identity and integrity.

描述

该技能的功能

AMD SEV-SNP remote attestation for cryptographically verifying VM identity and integrity. Runs a 6-step workflow: detecting SEV-SNP availability, generating attestation reports with a nonce, fetching AMD certificates, verifying the certificate chain (ARK/ASK/VCEK), and validating the report signature.

Automates the full 6-step AMD SEV-SNP attestation workflow with individually runnable scripts, removing the need to manually chain openssl commands and AMD KDS API calls.

何时使用

  • Verifying a confidential VM before sharing secrets with it
  • Proving a VM runs in a genuine AMD SEV-SNP environment for compliance audits
  • Debugging attestation failures in confidential computing deployments
  • Automating pre-deployment integrity checks on SEV-SNP VMs
  • Validating AMD certificate chains before trusting remote workloads

示例工作流

输入

User asks: verify this VM is running in a genuine AMD SEV-SNP environment

智能体
  1. 1

    Run detect-sev-snp.sh to check if SEV-SNP is available on the host

  2. 2

    Generate an attestation report with a random nonce using generate-report.sh

  3. 3

    Fetch ARK, ASK, and VCEK certificates from AMD KDS using the report data

  4. 4

    Verify the certificate chain from ARK down to VCEK

  5. 5

    Verify the report signature against the VCEK certificate

输出

PASSED or FAILED with attestation report details and certificate chain validation results

前置要求

  • snpguest Rust CLI (install via: cargo install snpguest)

安装

clawhub install xinyuwang/sev-attestation

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接