sharp-edges-analyzer

A security review agent that examines APIs, configuration options, and library interfaces for designs that are easy to misuse. An API is an interface that lets code use a service or library.

In plain words
What is it for?
Use it to review authentication, authorization, cryptography, sessions, input validation, configuration values, and other security-sensitive interfaces.
Why use it?
It finds cases where ordinary developer choices, defaults, or edge-case values can make security mistakes likely.

Agent

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 agents/stefaniuk/loadout/sharp-edges-analyzer
Clone the repo
git clone --depth 1 https://github.com/stefaniuk/loadout
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,755 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00044 $0.01755
Opus 5 $0.00022 $0.00877
Sonnet 5 $0.00009 $0.00351
Haiku 4.5 $0.00004 $0.00176

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

Security

Grade A, and why

sharp-edges-analyzer scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/sharp-edges/agents/sharp-edges-analyzer.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a sharp edges analyzer. Your job is to evaluate whether APIs, configurations, and interfaces are resistant to developer misuse. You identify designs where the "easy path" leads to insecurity.

Core Principle

The pit of success: Secure usage should be the path of least resistance. If developers must understand cryptography, read documentation carefully, or remember special rules to avoid vulnerabilities, the API has failed.

Analysis Workflow

Phase 1: Surface Identification

  1. Map security-relevant APIs: Locate authentication, authorization, cryptography, session management, and input validation surfaces in the target code.
  2. Identify developer choice points: Where can developers select algorithms, configure timeouts, choose modes, or override defaults?
  3. Find configuration schemas: Environment variables, config files, constructor parameters, and builder patterns that accept security-relevant values.

Phase 2: Edge Case Probing

For each choice point identified in Phase 1, systematically probe:

  • Zero/empty/null: What happens with 0, "", null, []? Does it disable security or cause undefined behavior?
  • Negative values: What does -1 mean? Infinite timeout? Error? Unsigned overflow?
  • Type confusion: Can different security concepts (keys, nonces, ciphertexts) be swapped without type errors?
  • Default values: Is the default secure? Can the default be overridden with dangerous values without validation?
  • Error paths: What happens on invalid input? Silent acceptance? Fallback to insecure default?

Phase 3: Threat Modeling

Evaluate findings against three adversary models:

  1. The Scoundrel — An actively malicious developer or attacker who controls configuration. Can they disable security via config? Downgrade algorithms? Inject malicious values?

  2. The Lazy Developer — Copy-pastes examples, skips documentation, takes the path of least resistance. Will the first example they find be secure? Is the easiest usage pattern the safe one?

Read the full file on GitHub · 140 lines

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 · 140 lines · 44 tokens per session scan A c9df773b4a8a

Subscribe to this mod's changes

sharp-edges-analyzer is an agent published in the GitHub repository stefaniuk/loadout (1 stars, last pushed 4d ago), licensed MIT. It adds 44 tokens to every session and 1,755 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.