dayasinghchauhan

Serverless Soc — Security skill for Claude Code

Security community

Claude Code skill: a complete serverless SOC for Cloudflare Pages/Workers + D1 + R2. Storage watchdog, outside sentinel, 5-min security monitor (detect, tamper, posture, script integrity, self-test) w.

How to install Serverless Soc

This entry records only its repository, not the path inside it, so there is no exact command to give. Open dayasinghchauhan/serverless-soc and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Serverless Soc does

Claude Code skill: a complete serverless SOC for Cloudflare Pages/Workers + D1 + R2. Storage watchdog, outside sentinel, 5-min security monitor (detect, tamper, posture, script integrity, self-test) with cases and auto-block, plus honeytokens. Zero deps, tested.

Alternatives in Security

README

serverless-soc

[![tests](https://github.com/dayasinghchauhan/serverless-soc/actions/workflows/test.yml/badge.svg)](https://github.com/dayasinghchauhan/serverless-soc/actions/workflows/test.yml) ![license](https://img.shields.io/badge/license-MIT-blue) ![deps](https://img.shields.io/badge/dependencies-0-brightgreen)

**A complete monitoring and security operations setup (a small SOC) for a Cloudflare Pages / Workers + D1 + R2 app. No servers, no paid tools, no dependencies. Packaged as a Claude Code skill.**

Built around the failures a small online shop on Cloudflare can face: storage switched off without anyone noticing, key-guessing on the admin API, card-skimming scripts on the checkout page. It's what one person needs to sleep at night without a security team.

Layer Runs Catches
Watchdog (in your app) every minute D1 off or read-only · R2 off · nightly backup late
Sentinel (separate Worker) every minute site / API down · slow · domain expiring · the watchdog itself unreachable
Dead-man switch (Healthchecks.io) every run the sentinel, or Cloudflare itself, stopped
SOC: detect every 5 min admin key guessed · admin from abroad / a script · brute force · injection on login/checkout · OTP/SMS pumping · forged webhooks · error spikes
SOC: tamper every 5 min new admin / device / coupon · price crash · rows deleted · orders at an impossible price (held before courier)
SOC: posture hourly new Cloudflare token or member · 2FA turned off · DNS / SSL changes · backup bucket made public · changes by anyone not on your list
SOC: integrity hourly new script host on the payment page (Magecart skimming) · your scripts changed with no deploy · a repo turned public
SOC: self-test daily a protection that stopped working (admin API open, .env served)
Honeytokens on use decoy key / session / phone / email from your database used = *