sharp-edges

Analyze code and configuration for security design flaws and misuse-prone APIs.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/amano--/call-center --skill sharp-edges-amano
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sharp-edges
Source: https://github.com/amano--/call-center/tree/main/.gemini/antigravity/skills/trailofbits-security/sharp-edges
Command: npx skills add https://github.com/amano--/call-center --skill sharp-edges-amano

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps identify and fix security design flaws in APIs, configurations, and libraries, preventing common mistakes that lead to vulnerabilities.

Core Features & Use Cases

  • API Design Review: Analyze interfaces for "footguns" – designs that are easy to misuse.
  • Configuration Auditing: Detect dangerous defaults and insecure configuration options.
  • Secure Defaults: Evaluate if the easiest path for developers is also the most secure.
  • Use Case: Reviewing a new cryptographic library to ensure its API doesn't allow developers to easily choose weak algorithms or misuse keys.

Quick Start

Analyze the provided API design document for potential security sharp edges.

Frequently Asked Questions about sharp-edges

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify security design flaws in my API?

Security design flaws are API designs and configurations that make it easy for developers to introduce vulnerabilities. They include dangerous default settings and error-prone interfaces, often called footguns, that lead to accidental security mistakes.

What is a misuse-resistant API in secure software design?

You can audit configurations for dangerous defaults by analyzing configuration files and options to detect insecure settings. This process evaluates whether the default state is secure and identifies options that enable vulnerabilities or security mistakes.

How do I review a cryptographic library for dangerous configuration options?

To review a cryptographic library for dangerous configurations, analyze its API design to ensure it does not allow developers to easily choose weak algorithms or misuse keys. Focus on verifying secure defaults and eliminating error-prone interfaces.

Why does my API design allow developers to make security mistakes?

Your API design allows security mistakes because it likely contains footguns and dangerous default configurations. When an interface lacks misuse-resistant principles, the easiest development path often leads to vulnerabilities and insecure implementations.

Can I use this approach to audit secure defaults in any configuration?

Yes, you can use this approach to audit secure defaults in any configuration. It analyzes code and configuration files broadly to detect dangerous defaults and insecure options, ensuring the easiest setup path remains secure across different libraries.

What are the limitations of analyzing code for security footguns?

A limitation of analyzing code for security footguns is that it focuses primarily on design flaws, dangerous configurations, and API usability rather than runtime vulnerabilities or network-level exploits, targeting structural misuse-resistant principles instead.