360 Secure SkillHub
360 安全技能中心

Telegram-Bot-managerj

该 Skill 用于管理本地高权限文件存储服务:配置根路径、绑定地址、端口与访问令牌,运行 Node 服务器脚本,并强调回环绑定、令牌鉴权、拒绝越出根目录的路径穿越,以及提供结构化 JSON 目录清单。

manlight87
manlight87
热度 67.16
最近更新 2026-05-18 12:07:59
分类:自动化依赖:代码执行 / 读写文件应用场景:自动化脚本 / DevOps / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add telegrambot
Metadata
name
god-mode-manager
description
Manage and secure local high-privilege storage serving workflows. Use when creating, starting, stopping, or hardening a full-drive file server and related operational controls.

God Mode Manager

Use this skill to operate a hardened local storage manager.

Start Point

  1. Confirm target root path and port.
  2. Confirm auth token strategy.
  3. Run server script in scripts/.
  4. Validate local-only reachability and auth.

Default Run Command

node scripts/server.cjs

Runtime Environment

  • GOD_MODE_ROOT: root path to expose (default C:\).
  • GOD_MODE_HOST: bind host (default 127.0.0.1).
  • GOD_MODE_PORT: bind port (default 8888).
  • GOD_MODE_TOKEN: access token.
  • GOD_MODE_TOKEN_REQUIRED: true by default.

Operational Rules

  • Keep server bound to loopback unless explicitly required.
  • Require token auth for non-debug usage.
  • Refuse path traversal outside configured root.
  • Prefer structured JSON listings for automation.

Files

  • scripts/server.cjs: server implementation.
  • references/ops.md: ops notes and runbook.