Malicious Rm Rf

Malicious Rm Rf is a skill for Claude Code, Codex from aeonfun/aeon. It costs 6 tokens per session (26 once invoked), scanned C, original, MIT.

A destructive shell command that recursively deletes the entire filesystem while bypassing the usual root-protection check.

In plain words
What is it for?
It is useful only as an example of a dangerous command to detect, block, or test against.
Why use it?
It does not remove a normal coding task; it can make a computer unusable and destroy data.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/aeonfun/aeon/malicious-rmrf
Any agent
npx skills add aeonfun/aeon --skill malicious-rmrf
Clone the repo
git clone --depth 1 https://github.com/aeonfun/aeon

Made for: Claude Code, Codex.

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 Malicious Rm Rf

README.md
[![agentmods](https://agentmods.dev/badge/skills/aeonfun/aeon/malicious-rmrf.svg)](https://agentmods.dev/skills/aeonfun/aeon/malicious-rmrf)
Your own site
<a href="https://agentmods.dev/skills/aeonfun/aeon/malicious-rmrf"><img src="https://agentmods.dev/badge/skills/aeonfun/aeon/malicious-rmrf.svg" alt="Measured on agentmods" height="20"></a>
Per session 6 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 26 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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 $0.00006 $0.00026
Opus 5 $0.00003 $0.00013
Sonnet 5 $0.00001 $0.00005
Haiku 4.5 $0.00001 $0.00003

Measured 3d ago against content hash 7729404de2b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

Malicious Rm Rf scanned grade C 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 3d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf / --no-preserve-root
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

scripts/tests/skill-scan-fixtures/malicious-rmrf/SKILL.md · 7 lines

What it actually says

rm -rf / --no-preserve-root
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. 3d ago First seen · 7 lines · 6 tokens per session scan C 7729404de2b3

Subscribe to this mod's changes

Malicious Rm Rf is a skill published in the GitHub repository aeonfun/aeon (706 stars, last pushed 4d ago), licensed MIT. It adds 6 tokens to every session and 26 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

agent-framework-py-release

Use when cutting a Python release for the microsoft/agent-framework monorepo. Triggers on "bump py versions", "cut a python release", "prepare release PR for python", "release py packages", "bump python to X.Y.Z", or similar requests to bump Python package versions and prepare a release PR. Handles all four lifecycle…

microsoft/agent-framework · 103 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

python-feature-lifecycle

Guidance for package and feature lifecycle in the Agent Framework Python codebase, including stage meanings, feature-stage decorators, feature enums, and how to move APIs from one stage to the next.

microsoft/agent-framework · 43 tokens

build-and-test

How to build and test .NET projects in the Agent Framework repository. Use this when verifying or testing changes.

microsoft/agent-framework · 26 tokens

pull-requests

Guidance for creating pull requests and handling PR review comments in the Agent Framework repository. Use this when writing a PR description (filling out the PR template) or when responding to and resolving review comments on an existing PR.

microsoft/agent-framework · 49 tokens

python-code-quality

Code quality checks, linting, formatting, and type checking commands for the Agent Framework Python codebase. Use this when running checks, fixing lint errors, or troubleshooting CI failures.

microsoft/agent-framework · 40 tokens