mvx_semgrep_creator

Official

Write custom Semgrep rules for MultiversX.

Authormultiversx
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps developers automatically enforce MultiversX-specific coding best practices and identify potential vulnerabilities by creating custom Semgrep rules.

Core Features & Use Cases

  • Pattern Identification: Guides users to identify common MultiversX anti-patterns like unsafe math operations or missing payment checks.
  • Rule Generation: Provides a template to construct Semgrep rules tailored for Rust smart contracts on MultiversX.
  • Testing & Refinement: Outlines the process for testing generated rules against codebases and iterating to reduce false positives.
  • Use Case: A developer wants to ensure all #[payable] functions in their MultiversX smart contract include a call_value() check to prevent accidental unpayable endpoints. This skill helps them write a Semgrep rule to automate this check.

Quick Start

Use the mvx_semgrep_creator skill to write a Semgrep rule that flags potential arithmetic overflow issues in Rust code.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mvx_semgrep_creator
Download link: https://github.com/multiversx/mx-ai-skills/archive/main.zip#mvx-semgrep-creator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.