git404hub

what is danger-guard-skill fr?

thomaszhou22/danger-guard-skill — explained in plain English

Analysis updated 2026-05-18

3ShellAudience · developerComplexity · 3/5Setup · moderate

tl;dr

A safety layer that intercepts dangerous commands from AI coding assistants, requires a password before running them, and alerts you across chat platforms if someone tries to abuse a compromised account.

vibe map

mindmap
  root((Danger Guard))
    What it does
      Intercepts commands
      Password verification
      Sends alerts
    Tech stack
      Shell
      Bash
    Use cases
      Block destructive commands
      Confirm risky git ops
      Emergency lockdown
    Audience
      Developers
      AI agent users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Block an AI assistant from running catastrophic commands like rm -rf / or disk formatting without a password.

VIBE 2

Require confirmation before a git force push, hard reset, or Docker volume prune runs.

VIBE 3

Get an alert on Telegram, Discord, Feishu, or Slack the moment a dangerous command is attempted.

VIBE 4

Trigger an emergency lockdown and security log if you suspect your AI agent account was compromised.

what's the stack?

ShellBash

how it stacks up fr

thomaszhou22/danger-guard-skillbechsteindigital/claude-shiploophamen/ship-feature
Stars333
LanguageShellShellShell
Setup difficultymoderatemoderatemoderate
Complexity3/54/53/5
Audiencedevelopervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

Needs per-tool config copied into place, such as Claude Code or git hooks, plus a one-time password setup on the first dangerous command.

in plain english

Danger Guard is a safety tool for AI coding assistants that stops dangerous commands from running before they can do harm. The problem it addresses is that an AI assistant often has full access to your computer, so if someone breaks into your messaging account on something like Feishu, Telegram, Discord, or WhatsApp, they could tell your AI to wipe your files or force push over your work, and the AI would simply carry it out. Danger Guard sits in front of that risk. When it spots a command it considers dangerous, it stops it from running immediately, shows a warning with a risk level, and asks for your system's admin password before allowing it through. Three wrong password attempts trigger a lockout and send you an alert. It also recognizes plain language requests to do damage, in both English and Chinese, such as being asked to delete every file or format a disk. The tool covers two broad tiers of risk. The first tier always requires a password and includes things like deleting entire drives, formatting disks, giving every file on the system open permissions, triggering fork bombs that overload a computer, or piping a downloaded script straight into a command shell. The second tier asks for confirmation on somewhat less catastrophic but still risky actions, such as force pushing over git history, resetting a git repository hard, pruning all Docker data, or running a database delete or update statement without a condition that limits what it affects. Danger Guard is built to work alongside several AI coding tools, including Claude Code, OpenAI Codex, Cursor, Windsurf, and GitHub Copilot, each with its own configuration file, plus a system wide shell wrapper for anyone who wants every terminal command checked, not just the ones an AI runs. It also connects to messaging platforms like Feishu, Telegram, Discord, WhatsApp, Signal, and Slack so alerts reach you wherever you already chat with your AI. If you ever suspect your account has been compromised, replying with a set phrase logs your recent command history, halts background tasks, and sends an emergency alert by chat and email.

prompts (copy fr)

prompt 1
Help me install Danger Guard as an OpenClaw skill and set up my sudo password hash.
prompt 2
Copy the Danger Guard config into my Claude Code project and explain what commands it blocks.
prompt 3
Add a git pre-push hook from Danger Guard to block force pushes on this repo.
prompt 4
Show me how to whitelist npm install so Danger Guard doesn't block it.

Frequently asked questions

what is danger-guard-skill fr?

A safety layer that intercepts dangerous commands from AI coding assistants, requires a password before running them, and alerts you across chat platforms if someone tries to abuse a compromised account.

What language is danger-guard-skill written in?

Mainly Shell. The stack also includes Shell, Bash.

How hard is danger-guard-skill to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is danger-guard-skill for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.