temporal-parameter-staleness

Analyze multi-step Sui operations for stale cached parameters and PTB bypass risks.

276|56|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/PlamenTSV/plamen --skill temporal-parameter-staleness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: temporal-parameter-staleness
Source: https://github.com/PlamenTSV/plamen/tree/main/agents/skills/sui/temporal-parameter-staleness
Command: npx skills add https://github.com/PlamenTSV/plamen --skill temporal-parameter-staleness

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Trigger Pattern TEMPORAL flag (required) - Inject Into Breadth agents, depth-state-trace

Core Features & Use Cases

  • Identifies multi-step Sui operations that cache parameters at initiation and may become stale due to admin changes between steps.
  • Analyzes how clock-based timestamps (clock::timestamp_ms) and epoch-based counters (tx_context::epoch) influence the validity of cached values across steps, and flags PTB bypass risks.
  • Documents caching patterns, staleness vectors, and retroactive considerations with actionable mitigations.

Quick Start

Analyze an in-flight multi-step Sui operation to verify whether cached parameters remain valid when admin changes occur between steps.

Frequently Asked Questions about temporal-parameter-staleness

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

FAQPage Schema
How do I detect stale parameters in multi-step Sui operations?

To detect stale parameters in multi-step Sui operations, identify functions that cache parameters at initiation and assess whether admin changes between steps invalidate those cached values before execution completes.

How do clock timestamps and epoch counters affect cached parameter validity in Sui?

Clock timestamps (clock::timestamp_ms) and epoch counters (tx_context::epoch) influence cached parameter validity by tracking time progression across Sui transaction steps, which helps determine if cached values have expired or become stale.

What is parameter staleness in Sui multi-step transactions?

Parameter staleness in Sui multi-step transactions occurs when an operation caches a parameter at Step 1, but an admin change alters that parameter before Step N executes, causing the operation to use outdated values.

How do I analyze PTB bypass risks for cached parameters on Sui?

Analyzing PTB bypass risks involves examining whether Sui Programmable Transaction Blocks can circumvent multi-step parameter caching safeguards, allowing operations to execute with stale or manipulated parameter values across steps.

Can I mitigate retroactive effects from admin parameter changes during in-flight Sui operations?

Mitigating retroactive effects requires documenting staleness scenarios where admin changes impact in-flight operations and implementing safeguards that validate cached parameters against current values before each subsequent step executes.