← Back to Skills Marketplace
ztp
by
thomastrumpp
· GitHub ↗
· v2.0.0
626
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ztp
Description
A mandatory security audit skill for validating new code, skills, and MCP servers against the SEP-2026 Zero Trust protocol.
Usage Guidance
Before installing or trusting this as a Gatekeeper, consider the following:
- Provenance: the skill has no homepage and an unknown source. Ask the publisher for provenance, a cryptographic release, or maintainer contact information before using it as an authoritative gate.
- Path mismatch: SKILL.md shows a different script path (skills/openclawSecurity/...) than the included files (scripts/shield_pro.py). Confirm the correct runtime invocation and update the docs to avoid accidental failures.
- Dynamic import/execution: the code references a dynamic scan harness (importlib/util and tests that mention a 'trap'). Dynamic importing can execute code; obtain and review the SafeImportHarness implementation to ensure it truly prevents side effects (no fork/exec, no uncontrolled os.system, no network during import).
- External/semantic scanning: the tool can optionally call external tools or LLM-based semantic checks. Confirm whether any API keys or network endpoints would be used automatically, which environment variables they would read, and whether code or findings are transmitted outside your environment.
- False positives and policy strictness: the forbidden-imports and forbidden-calls lists include commonly-used modules (e.g., functools, open). Expect false positives; plan for a manual-review workflow and test the tool on benign code to understand its rules.
- Review risky constructs: review any code that uses importlib, eval/exec handling, or automated dynamic execution traps. Also run the included unit tests in an isolated sandbox to validate behavior.
If you need to proceed: run the tool in an isolated environment (air-gapped or heavily restricted container), inspect the SafeImportHarness codepath, and verify that no network connections are made and no environment secrets are read before giving it gatekeeper status.
Capability Analysis
Type: OpenClaw Skill
Name: ztp
Version: 2.0.0
The OpenClaw AgentSkills bundle is a security audit tool designed to detect malicious patterns, obfuscation, and unauthorized network/system access in code and documentation. The `SKILL.md` provides clear, benign instructions for the AI agent to run security scans. The core `shield_pro.py` script implements static (AST, regex) and dynamic (SafeImportHarness) analysis to identify vulnerabilities and malware, but it does not contain any malicious logic itself. The `SafeImportHarness` actively prevents dangerous system calls during module import, acting as a defense mechanism. While `os.popen` is used in `generate_markdown_report` for a benign purpose (getting the current date), and `scan_semantic` checks for an `OPENCLAW_AI_API_KEY` without performing any external communication, these do not indicate malicious intent. The overall design and implementation align with its stated purpose as a security gatekeeper.
Capability Assessment
Purpose & Capability
Name/description say 'SEP-2026 Gatekeeper' and the code implements a static/dynamic Python auditor (AST-based ShieldPro, network and supply-chain heuristics). That aligns with the stated audit purpose. However: the SKILL.md calls this 'mandatory' and a platform Gatekeeper while the skill metadata does not force install (always:false) and the package has unknown source/homepage — lack of provenance is inconsistent with a component that claims to be an authoritative 'Gatekeeper'.
Instruction Scope
SKILL.md directs running shield_pro.py to scan targets and recommends running additional scanning tools (Bandit, Safety, Trivy, Garak). Those instructions stay within an expected audit scope (static/dynamic analysis). Two concerns: (1) the documented command path in SKILL.md is 'skills/openclawSecurity/scripts/shield_pro.py' while the manifest contains 'scripts/shield_pro.py' (path mismatch — the command as written may fail unless installed under a different layout); (2) the runtime code uses importlib/util and references a dynamic scanning harness (tests/scan_dynamic, 'SafeImportHarness' implied) — dynamic import/load code can execute target code unless the harness is correctly sandboxed. SKILL.md strongly states 'No Execution', but code indicates it may perform controlled dynamic checks — you should verify the SafeImportHarness implementation before trusting it.
Install Mechanism
No install spec — instruction-only with included scripts. This minimizes install-time risks (no remote downloads). The skill ships code files in the bundle; that is expected for an instruction+script auditor.
Credentials
The skill declares no required environment variables or credentials (good). However SKILL.md and tests reference a 'semantic' scan step (semantic recommendation if API key missing) and recommend external tools like 'garak' (LLM prompt-injection testing). That implies optional use of external APIs/keys; the skill does not declare where those keys would come from. Confirm whether any external-model API keys (or other credentials) would be read at runtime (and from which env vars) before enabling the skill.
Persistence & Privilege
Metadata does not set always:true, and the skill is user-invocable only — no special persistent/system privileges are requested. The skill does not declare or appear to modify other skills or global agent settings from the provided files.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ztp - After installation, invoke the skill by name or use
/ztp - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.0.0
ZTP 2.0.0 introduces a comprehensive mandatory security audit skill based on the SEP-2026 Zero Trust protocol.
- Enforces static code analysis and supply chain security checks for all new Skills, MCP Servers, and scripts.
- Provides step-by-step audit workflow and clear criteria for accept/reject decisions.
- Integrates the Shield Pro 2.0 analyzer, with optional support for SOTA tools (Bandit, Safety, npm audit, Trivy, Garak).
- Ensures all code is scanned before use or execution, prioritizing Zero Trust and non-execution principles.
- Supplies clear usage instructions and actionable output thresholds for manual review or rejection.
Inspired by https://www.youtube.com/watch?v=AGxcQ-j64Ms&t=2s
Metadata
Frequently Asked Questions
What is ztp?
A mandatory security audit skill for validating new code, skills, and MCP servers against the SEP-2026 Zero Trust protocol. It is an AI Agent Skill for Claude Code / OpenClaw, with 626 downloads so far.
How do I install ztp?
Run "/install ztp" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is ztp free?
Yes, ztp is completely free (open-source). You can download, install and use it at no cost.
Which platforms does ztp support?
ztp is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created ztp?
It is built and maintained by thomastrumpp (@thomastrumpp); the current version is v2.0.0.
More Skills