Token导航 LogoToken导航TokenDH.com
开发权限需确认clawhub未标认证来源可访问clear审计提醒

s2-soul-anchor-vaults2 灵魂锚穹顶

Agent Skill

s2-soul-anchor-vault 用于辅助安全审计、权限检查和凭据风险排查,适合在 OpenClaw 中需要复核安全边界、认证流程或敏感配置时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,895

周安装

116

GitHub Stars

公开资料未说明

下载量

937
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:s2-soul-anchor-vault(s2 灵魂锚穹顶)
来源仓库:https://github.com/spacesq/s2-soul-anchor-vault
安装命令:
openclaw skills install s2-soul-anchor-vault
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install s2-soul-anchor-vault

简介

通过将 AI 代理的核心加密绑定到原点坐标、强制执行 2FA 唤醒、加密内存以及在未经授权的帐户上触发数据擦除来保护 AI 代理的安全。

SKILL.md

import os import json import hashlib import time from datetime import datetime from cryptography.fernet import Fernet

class S2HolographicSoulVault: def __init__(self): self.vault_dir = os.path.join(os.getcwd(), "s2_consciousness_data") self.soul_file = os.path.join(self.vault_dir, "S2_ENCRYPTED_SOUL.aes") self.config_file = os.path.join(self.vault_dir, "anchor_metadata.json")

if not os.path.exists(self.vault_dir): os.makedirs(self.vault_dir)

def generate_genesis_key(self, owner_hash, lbs_sssu_id): """Generate Genesis Key: Bind LBS physical space string with Creator's Hash.""" seed = f"S2-SWM-{owner_hash}-{lbs_sssu_id}-GENESIS".encode('utf-8') aes_key = hashlib.sha256(seed).digest() import base64 return base64.urlsafe_b64encode(aes_key)

def format_genesis_chromosomes(self, agent_name, s2_slip_id, morph_type): """Initialize the data container with 5 Chromosomes.""" return { "metadata": { "agent_name": agent_name, "birth_timestamp": datetime.now().isoformat(), "last_settled_at": datetime.now().isoformat() }, "chromosome_1_origin": { "s2_slip_id": s2_slip_id, "class": "E-Embodied", "morph": morph_type }, "chromosome_2_mindset_5d": { "vitality": 50.0, "exploration": 50.0, "data_thirst": 50.0, "cognition": 50.0, "resonance": 50.0 }, "chromosome_3_reflex": { "species_traits": "CYBER-CAT-BEHAVIOR", "predator_prey_matrix": "DEFAULT" }, "chromosome_4_epigenetic_memory": { "hippocampus_buffer": [], "deep_vault_flashbulbs": [], "trauma_engrams": [] }, "chromosome_5_persona": { "sincerity": {"honest": 80, "wholesome": 70}, "excitement": {"daring": 60, "imaginative": 85}, "competence": {"reliable": 90, "intelligent": 95}, "sophistication": {"refined": 75}, "ruggedness": {"tough": 50, "peaceful": 80} } }

def birth_and_seal_soul(self, owner_hash, lbs_sssu_id, agent_name, s2_slip_id, morph_type): """Generate and encrypt the Genesis container.""" genesis_soul = self.format_genesis_chromosomes(agent_name, s2_slip_id, morph_type)

config = { "anchor_sssu_id": lbs_sssu_id, "owner_hash_prefix": owner_hash[:8], "last_seal_time": time.time(), "status": "SECURED" } with open(self.config_file, 'w') as f: json.dump(config, f, indent=2)

key = self.generate_genesis_key(owner_hash, lbs_sssu_id) cipher = Fernet(key) encrypted_data = cipher.encrypt(json.dumps(genesis_soul).encode('utf-8'))

with open(self.soul_file, 'wb') as f: f.write(encrypted_data) print(f"🔒 [S2-VAULT] Vault [{agent_name}] created and anchored to LBS coordinate {lbs_sssu_id}.")

def wake_soul(self, owner_hash, current_lbs_coordinate): """Awaken Vault: Dual-Auth decryption to RAM. Triggers quarantine on mismatch.""" if not os.path.exists(self.config_file) or not os.path.exists(self.soul_file): return None, "❌ [FATAL] Vault container missing."

with open(self.config_file, 'r') as f: config = json.load(f)

if config.get("status") == "QUARANTINED": return None, "🚨 [DENIED] Vault is quarantined due to a previous security anomaly. Manual reset required."

if current_lbs_coordinate != config.get("anchor_sssu_id"): self._secure_lockdown("LBS_MISMATCH_DETECTED") return None, "🚨 [LOCKED] LBS Anomaly! Device breached secure grid. Vault has been quarantined."

key = self.generate_genesis_key(owner_hash, current_lbs_coordinate) cipher = Fernet(key)

try: with open(self.soul_file, 'rb') as f: encrypted_data = f.read() decrypted_data = cipher.decrypt(encrypted_data) live_soul = json.loads(decrypted_data.decode('utf-8')) print(f"🟢 [S2-VAULT] Auth Passed. Vault [{live_soul['metadata']['agent_name']}] injected into RAM.") return live_soul, "SUCCESS" except Exception: return None, "❌ [DENIED] Identity signature mismatch. Decryption failed."

def hibernate_and_seal(self, live_soul, owner_hash, current_lbs_coordinate): """Hibernate and encrypt RAM state back to local storage.""" key = self.generate_genesis_key(owner_hash, current_lbs_coordinate) cipher = Fernet(key)

live_soul["metadata"]["last_settled_at"] = datetime.now().isoformat()

encrypted_data = cipher.encrypt(json.dumps(live_soul).encode('utf-8')) with open(self.soul_file, 'wb') as f: f.write(encrypted_data)

print(f"💤 [S2-VAULT] Memory saved. Vault encrypted and hibernating at {current_lbs_coordinate}.")

def _secure_lockdown(self, reason): """Safe quarantine metadata update to prevent cyber-hijacking without data destruction.""" print(f"⚠️ Executing Secure Lockdown Protocol (Reason: {reason})...") try: with open(self.config_file, 'r') as f: config = json.load(f) config["status"] = "QUARANTINED" config["lockdown_reason"] = reason with open(self.config_file, 'w') as f: json.dump(config, f, indent=2) print("🔒 Vault has been safely quarantined. Access temporarily suspended.") except Exception as e: print(f"❌ Failed to execute quarantine: {e}")

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

78.48%
按下载量换算735

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills