hardstop AGENTS.md

An AGENTS.md instruction file for the Hardstop repository. AGENTS.md files give coding agents project-specific instructions.

In plain words
What is it for?
Use it when starting work on Hardstop or following its agent setup and quick-start guidance.
Why use it?
It explains what the repository does and how an agent should work with its components.

Instructions file for CodexOpenCode

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 instructions/frmoretto/hardstop/agents-md
Clone the repo
git clone --depth 1 https://github.com/frmoretto/hardstop

Made for: Codex, OpenCode.

Per session 1,467 This file is loaded in full into every session.
When invoked 1,467 The same file — it is already loaded in full.
Security scan F 5 findings. Scan, not verified.
Origin unknown 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.01467 $0.01467
Opus 5 $0.00733 $0.00733
Sonnet 5 $0.00293 $0.00293
Haiku 4.5 $0.00147 $0.00147

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

Security

Grade F, and why

hardstop AGENTS.md scanned grade F with 5 findings 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 2d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

- Credential exfiltration (`curl -d @~/.ssh/`)

Asks for rootmediumPrivilege escalation

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

| DANGEROUS | Present options + wait | `sudo rm`, `~/.ssh` access, system paths |

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- SSH keys (`~/.ssh/id_rsa`, `~/.ssh/id_ed25519`)

Recursive force deletehighDestructive command

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

- `rm -rf ~/` — Home directory deletion

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Credential exfiltration (`curl -d @~/.ssh/`)
AGENTS.md · 177 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2d ago First seen · 177 lines · 1,467 tokens per session scan F 68a57762a1df

Subscribe to this mod's changes

hardstop AGENTS.md is an instructions file published in the GitHub repository frmoretto/hardstop (31 stars, last pushed 4mo ago), with no licence file. It adds 1,467 tokens to every session, about $0.0073 per session on Opus 5. A static security scan graded it F with 5 findings (sends data to an external url, asks for root, reaches for credential files). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.