camera-hack: Instructions file for Claude Code

CLAUDE.md

camera-hack CLAUDE.md is an instructions file for Claude Code from gabrielmaialva33/camera-hack. It costs 468 tokens per session, scanned B, original, MIT.

Security-research project instructions for studying Yoosee/Gwelltimes SC-B21 network cameras and firmware. They document network services, video streams, hardware details, project folders, and known attack surfaces.

In plain words
What is it for?
Use them to investigate RTSP video streams, ONVIF camera control, firmware and SD-card paths, serial bridges, and vulnerability reports.
Why use it?
They give a researcher a precise map of the camera's exposed interfaces and repository structure before testing or writing advisories.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is gabrielmaialva33/camera-hack's own configuration. It tells Claude Code how to work on camera-hack itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything camera-hack configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gabrielmaialva33/camera-hack. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/gabrielmaialva33/camera-hack/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/gabrielmaialva33/camera-hack

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for camera-hack CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/gabrielmaialva33/camera-hack/claude-md/github.svg)](https://agentmods.dev/instructions/gabrielmaialva33/camera-hack/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/gabrielmaialva33/camera-hack/claude-md"><img src="https://agentmods.dev/badge/instructions/gabrielmaialva33/camera-hack/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for camera-hack CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gabrielmaialva33/camera-hack/claude-md"><img src="https://agentmods.dev/badge/instructions/gabrielmaialva33/camera-hack/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 468 This file is loaded in full into every session.
When invoked 468 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00468 $0.00468
Opus 5.5 $0.00187 $0.00187
Sonnet 5.5 $0.00094 $0.00094
Haiku 4.5 $0.00047 $0.00047

Measured 1mo ago against content hash 58d4bea984bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

camera-hack CLAUDE.md scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

Ports only respond to SYN scans (`sudo nmap -sS`), not TCP connect.
CLAUDE.md · 49 lines

What it actually says

CLAUDE.md

Project

Security research on Yoosee/Gwelltimes IP cameras. Current target: SC-B21 dual-lens PTZ (firmware 38.02.103).

Attack Surface

Port Service Auth Notes
554/tcp RTSP Partial /onvif1 needs auth, /cam/realmonitor open
5000/tcp ONVIF None Full enumeration, PTZ control, DoS via write ops

Ports only respond to SYN scans (sudo nmap -sS), not TCP connect.

RTSP Streams

Path Resolution Auth
/onvif1 1920x2160 H.265 15fps Required
/onvif2 640x720 H.265 15fps Required
/cam/realmonitor Varies None

Structure

├── advisories/         # Formal vulnerability writeups
├── tools/rtsp/         # RTSP capture tools
├── sdcard_hack/        # SD card exploitation
├── arduino/            # UART serial bridge
├── esp32/              # ESP32 serial bridge
└── config.example      # Config template (no credentials)

Hardware

  • OEM: Shenzhen Gwelltimes Technology
  • Firmware: 38.02.103, Hardware Ver 2.1
  • Video: Dual lens stitched vertically (1920x2160 + 640x720)
  • WiFi: RTL8188 variant
  • Audio: G.711 PCM 16kHz mono
  • MAC OUI: 4C:B0:08 (Gwelltimes), A8:B5:8E (Bilian/WiFi)

Notes

  • ONVIF write operations (CreateUsers, SetHostname) crash the IPC process permanently
  • Camera requires power cycle to recover from DoS
  • Scripts have placeholder IPs — copy config.example to config.env
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 49 lines · 468 tokens per session scan B 58d4bea984bc

Subscribe to this mod's changes

camera-hack CLAUDE.md is an instructions file published in the GitHub repository gabrielmaialva33/camera-hack (30 stars, last pushed 6mo ago), licensed MIT. It adds 468 tokens to every session, about $0.0019 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories