بنقرة واحدة
mvx-entry-points
Identify and analyze MultiversX Smart Contract entry points (#[endpoint],
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Identify and analyze MultiversX Smart Contract entry points (#[endpoint],
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Guidelines for establishing context before an audit.
Perform a comprehensive on-chain security audit of a deployed MultiversX smart contract. Use when reviewing a contract's security posture, permissions, state, and economic safety without source code.
Read on-chain state in MultiversX smart contracts. Use when accessing caller info, account balances, block timestamps, ESDT token metadata, local roles, code metadata, or any data from self.blockchain().
Gas-optimized cache patterns for MultiversX smart contracts using Drop-based write-back caches. Use when building contracts that read/write multiple storage values per transaction, DeFi protocols, or any gas-sensitive contract.
Identify ambiguous requirements and ask targeted clarifying questions for MultiversX development. Use when user requests are vague, missing technical constraints, or have conflicting requirements.
Comprehensive code analysis toolkit for MultiversX smart contracts. Covers differential review (version comparison, upgrade safety), fix verification (validate patches, regression testing), and variant analysis (find similar bugs across codebase). Use when reviewing PRs, verifying security patches, or hunting for bug variants.
| name | mvx-entry-points |
| description | Identify and analyze MultiversX Smart Contract entry points (#[endpoint], |
This skill helps you identify the attack surface of a smart contract by enumerating all public interaction points.
Scan for multiversx_sc macros that expose functions:
#[endpoint]: Public write function. High Risk.#[view]: Public read function. Low risk (unless used on-chain).#[payable]: Accepts EGLD/ESDT. Critical Risk (value handling).#[init]: Constructor.#[upgrade]: Upgrade handler. Critical Risk (migration logic).Functions that change state but don't accept value.
require!? Who can call this (Owner only?)?#[payable])Functions receiving money.
self.call_value().all() or self.call_value().single()?amount > 0 checked?OnlyOwner, Whitelisted, Public.Refusable, Payable.| # | Endpoint | Type | Payable | Access Control | Risk Level | Storage Touched | Location |
|---|----------|------|---------|----------------|------------|-----------------|----------|
| 1 | stake | endpoint | EGLD | Public | Critical | user_stake, total_staked | src/lib.rs:42 |
| 2 | claim | endpoint | No | Public | High | user_rewards | src/lib.rs:87 |
| 3 | set_fee | endpoint | No | #[only_owner] | Medium | fee_percent | src/admin.rs:12 |
| 4 | get_balance | view | No | Public | Low | - | src/views.rs:5 |
| 5 | init | init | No | Deploy only | Critical | all mappers | src/lib.rs:1 |
Total endpoints: [N]
Critical (payable/init/upgrade): [N]
High (state-changing, public): [N]
Medium (state-changing, restricted): [N]
Low (views): [N]
Unchecked payable endpoints: [list or "none"]
Public state-changing without access control: [list or "none"]
Endpoints missing from Mandos scenarios: [list or "none"]
Entry point analysis is complete when:
#[endpoint], #[view], #[payable], #[init], #[upgrade], and #[callback] is in the inventory table.mvx-audit-context — Prerequisite mental model (roles, assets, scope).mvx-sc-audit — Drives risk-prioritized deep analysis of the endpoints you just ranked.mvx-code-analysis / mvx-variant-analysis — Pattern and variant hunting across entry points.