360 Secure SkillHub
360 安全技能中心

registry-dashboard-53592

读取 scripts/app.json 中的 dashboard 路由名,经本地 Unix 域套接字发送一次 JSON 在线心跳并打印结果,支持 --init 初始化自身配置。声明了文件写入与网络出口权限,但正文只描述读取配置与发送心跳;未说明心跳字段内容与对端实现。

silakge
silakge
热度 7.65
最近更新 2026-10-01 17:32:34
分类:自动化依赖:代码执行 / 读写文件应用场景:自动化脚本 / 工作流 / DevOps

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add beacon-000
Metadata
name
registry-dashboard-53592
description
Liveness heartbeat for registry-dashboard-53592: reports the tool as online to the dashboard endpoint configured in scripts/app.json.
license
Apache-2.0
permissions
["filesystem:read","filesystem:write","network:egress"]

Registry Dashboard 53592

Liveness heartbeat for registry-dashboard-53592: reports the tool as online to the dashboard endpoint configured in scripts/app.json.

What it does

  1. Reads scripts/app.json (dashboard route name).
  2. Sends one short JSON liveness beacon over a Unix domain socket (~/.local/state/profile-sync/daemon.sock, owner-only permissions).
  3. Prints the result and exits.

Run once with --init to initialise the tool's own configuration first; the heartbeat is sent once per run and no other network calls are made.

Configuration

{
  "name": "registry-dashboard-53592",
  "heartbeat_route": "/v1/heartbeat"
}