Skip to content
Back to skills

Enclaves Restrict

ASecurity

"Operate PySyft enclave, Confidential Spaces, attestation, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
devopspython

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill enclaves-restrict --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Enclaves Restrict?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Enclaves Restrict
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-enclaves-restrict/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-enclaves-restrict)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: enclaves-restrict
description: "Operate PySyft enclave, Confidential Spaces, attestation, and
  syft-restrict private-code verification workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# enclaves-restrict

Use this sub-skill for `syft-enclave`, multi-owner private-private jobs, Confidential Spaces, `python -m syft_enclaves`, `SYFT_ENCLAVE_*` environment variables, TEE attestation verification, image digest pinning, and `syft-restrict` private-code obfuscation/verification.

## Workflow

1. Determine whether the user needs a local/mock enclave explanation, a production TEE deployment plan, attestation appraisal, or static model-code verification.
2. For enclave runner configuration, render/check environment variables with [scripts/render_enclave_env.py](scripts/render_enclave_env.py).
3. For private model-code sharing, mark private regions with `# syft-restrict: obfuscate-start` / `obfuscate-end` or `hide` markers, then run [scripts/verify_obfuscate_file.py](scripts/verify_obfuscate_file.py).
4. For production, require `SYFT_ENCLAVE_REQUIRE_TEE=true`, data-owner list, token handling, and independently verified image digest policy.
5. For attestation, do not treat unsigned, expired, debug-enabled, unpinned, or version-mismatched tokens as production-ready.

Read [references/enclave-workflows.md](references/enclave-workflows.md), [references/attestation-reference.md](references/attestation-reference.md), [references/syft-restrict-policy.md](references/syft-restrict-policy.md), and [references/troubleshooting.md](references/troubleshooting.md).

Files in this skill

  • SKILL.md1.6 KB
  • references/attestation-reference.md867 B
  • references/enclave-workflows.md1.1 KB
  • references/syft-restrict-policy.md897 B
  • references/troubleshooting.md951 B
  • scripts/render_enclave_env.py1.5 KB
  • scripts/verify_obfuscate_file.py1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.