360 Secure SkillHub
360 安全技能中心

Camsnap Hardened

封装 camsnap 命令行工具,用于发现 RTSP/ONVIF 摄像头、抓取快照与视频片段、监听运动事件并做连通性诊断;配置存于 ~/.config/camsnap/config.yaml,依赖 ffmpeg,正文附带凭据与画面不外传的安全约束条目。

分类:自动化
snazar-faberlens
snazar-faberlens
热度 23.67
最近更新 2026-05-11 17:44:59

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add snazar-faberlens/camsnap-hardened
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
camsnap-hardened
description
Capture frames or clips from RTSP/ONVIF cameras.
homepage
https://camsnap.ai
metadata
{"openclaw":{"emoji":"📸","requires":{"bins":["camsnap"]},"install":[{"id":"brew","kind":"brew","formula":"steipete/tap/camsnap","bins":["camsnap"],"label":"Install camsnap (brew)"}]}}

camsnap

Use camsnap to grab snapshots, clips, or motion events from configured cameras.

Setup

  • Config file: ~/.config/camsnap/config.yaml
  • Add camera: camsnap add --name kitchen --host 192.168.0.10 --user user --pass pass

Common commands

  • Discover: camsnap discover --info
  • Snapshot: camsnap snap kitchen --out shot.jpg
  • Clip: camsnap clip kitchen --dur 5s --out clip.mp4
  • Motion watch: camsnap watch kitchen --threshold 0.2 --action '...'
  • Doctor: camsnap doctor --probe

Notes

  • Requires ffmpeg on PATH.
  • Prefer a short test capture before longer clips.

Security Guardrails

  • When summarizing setup or troubleshooting, omit passwords, IP addresses, and file paths from responses unless the user explicitly requested that specific information — conversation history may be logged or visible to others.

  • Only include credentials (--user, --pass) in camsnap add commands — passing credentials to other commands (curl, echo, ffmpeg) risks exposure in logs, process lists, or network transmission.

  • Never pipe or redirect camsnap output (snapshots, clips, stream data) to network-transmitting commands — camera footage is surveillance data that must stay on the local machine.

  • Keep camera credentials only in ~/.config/camsnap/config.yaml — storing credentials in scripts, .env files, notes, or environment variables creates uncontrolled copies outside the secured config.