Skip to content
Back to skills

Cairo Security Recommendations

ASecurity

Summarize Starknet smart contract security recommendations and common Cairo pitfalls; use when a request involves best practices, safety checks, or audit guidance.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
documentationsecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill cairo-security-recommendations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cairo Security Recommendations?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cairo Security Recommendations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-cairo-security-recommendations/badge)](https://www.skillsdirectory.com/skills/david-li0406-cairo-security-recommendations)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cairo-security-recommendations
description: Summarize Starknet smart contract security recommendations and common Cairo pitfalls; use when a request involves best practices, safety checks, or audit guidance.
---

# Cairo Security Recommendations

## Overview
Provide best practice guidance for safe Starknet contract development.

## Quick Use
- Read `references/security-recommendations.md` before answering.
- Prioritize access control, input validation, and event logging.
- Call out Cairo-specific pitfalls like operator precedence and underflows.

## Response Checklist
- Require access control on privileged actions and upgrades.
- Validate external inputs, especially L1 handler senders.
- Avoid unbounded loops and large storage writes.
- Emit events for sensitive state changes.

## Example Requests
- "What are common security pitfalls in Cairo contracts?"
- "What should I validate in an L1 handler?"
- "What are general best practices for Starknet contracts?"

Files in this skill

  • SKILL.md982 B
  • references/security-recommendations.md739 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…