Skip to content
TakoAPI
Back to skills

sev-attestation

by xinyuwang

Coding Agents & IDEs
1.6kDownloads reported by clawskills.sh
1Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

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

Description

What This Skill Does

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.

When to Use It

  • 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

Example Workflow

INPUT

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

AGENT
  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

OUTPUT

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

Requirements

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

Installation

clawhub install xinyuwang/sev-attestation

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links