Habilidades ton-state-model
📦

ton-state-model

Revisão do conteúdo r1 Risco Médio ⚙️ Comandos externos🌐 Acesso à rede📁 Acesso ao sistema de arquivos

Review TON Contract State and Upgrades

TON contract reviews can miss differences between declared storage and the way a contract encodes or updates it. This skill guides you through mapping storage, checking who can change state, and proposing regression assertions.

Suporta: Claude Codex Code(CC)
Maintain this Skill? Claim it 📊 65 Adequado

Instalar com meu Agente

Copie esta solicitação para o seu Agente. Ela inclui a página canônica do Skill e o manifesto.

Solicitação do agente
Review the Skillstore skill "ton-state-model" from https://skillstore.io/skills/flint-research-ton-state-model.md and its manifest at https://skillstore.io/api/skills/flint-research-ton-state-model/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Seu Agente ainda deve apresentar o plano e solicitar qualquer confirmação exigida pela política de segurança.

Recursos legíveis por agentes

Use estes links quando um agente de IA, crawler ou script precisar de contexto limpo em vez de ler a página completa.

Testar

Usando "ton-state-model". Compare the supplied storage layout with the contract's default state and manual decoder.

Resultado esperado:

  • The default state initializes the replay counter to zero.
  • The manual decoder reads the counter after the owner field, matching the supplied layout.
  • No message tag was supplied, so message encoding remains unverified.

Usando "ton-state-model". Review an upgrade that adds a fee field to persistent storage.

Resultado esperado:

  • The fee field needs an explicit default for records written before the upgrade.
  • Add assertions that migration preserves the owner and replay counter.
  • Add an assertion that an unauthorized migration leaves persistent state unchanged.

Auditoria de segurança

Risco Médio

The backticks mark a subcommand in Markdown, the URL is an attribution link, and the fixed parent path is not input-driven traversal. The workflow still asks users to run a Python CLI outside the audited package. No evidence found of malicious behavior in the reviewed file.

1
Arquivos analisados
19
Linhas analisadas
0
Itens de revisão
0
Falsos positivos ignorados

Preocupações de segurança confirmadas (1)

Médio
Workflow Relies on an Unaudited CLI
The workflow describes its Python CLI as bundled and asks users to run the review subcommand. The CLI is absent from the audited package, so its behavior and access to local project files cannot be verified here.
The instructions explicitly request execution and the audited package contains only the instruction file. This establishes an unverified dependency, not evidence of malicious behavior.

Fatores de risco

⚙️ Comandos externos (1)
🌐 Acesso à rede (1)
📁 Acesso ao sistema de arquivos (1)
Auditado por: codex
Compartilhar e citar este relatório

Compartilhe o relatório de avaliação versionado, o badge neutro, o cartão incorporável e as citações. A Skillstore apresenta evidências sem decidir se este Skill é seguro.

Abrir o relatório versionado
Avaliação de Segurança

Copiar link do relatório

https://skillstore.io/skills/flint-research-ton-state-model/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Badge Markdown

[![Skillstore security assessment](https://skillstore.io/badges/skills/flint-research-ton-state-model/security.svg)](https://skillstore.io/skills/flint-research-ton-state-model?utm_source=security_passport_badge)

Badge HTML

<a href="https://skillstore.io/skills/flint-research-ton-state-model?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/flint-research-ton-state-model/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Cartão incorporável

<iframe src="https://skillstore.io/embed/skills/flint-research-ton-state-model.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Citações acadêmicas (APA · BibTeX · CFF)

Citação APA

flint-research. (2026). ton-state-model security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/flint-research-ton-state-model/audits/1

Citação BibTeX

@techreport{flint-research-flint-research-ton-state-model-2026, author = {flint-research}, title = {ton-state-model security audit report (audit version 1)}, institution = {Skillstore}, year = {2026}, number = {1}, url = {https://skillstore.io/skills/flint-research-ton-state-model/audits/1}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "ton-state-model security audit report (audit version 1)" version: "unspecified" type: report authors: - name: "flint-research" date-released: "2026-11-29" url: "https://skillstore.io/skills/flint-research-ton-state-model/audits/1" identifiers: - type: other value: "skillstore:flint-research-ton-state-model:audit:1" description: "Skillstore immutable audit report identifier"

Pontuação do Skillstore

Por que esta pontuação Confiança das evidências: Médio
55
Arquitetura
65
Manutenibilidade
87
Conteúdo
65
Comunidade
74
Conformidade com a especificação

O que você pode criar

Document Contract Storage

Map persistent fields, default values, and cell layouts from local source and any supplied ABI records.

Review State Update Authority

Identify who can change persistent state and check how the contract accounts for value when message actions fail or bounce.

Prepare Upgrade Regression Checks

Compare the old and proposed storage layouts, then draft assertions for preserved values and denied transitions.

Teste estes prompts

List Persistent Fields
List the contract's persistent fields and default values from the supplied source. Mark any types or defaults you cannot verify.
Compare Layout and ABI
Compare the supplied ABI records with the storage readers and writers. List differences in field types, order, or message tags.
Trace Writes and Value Changes
Trace persistent writes for the supplied message handlers. Identify who can trigger each write and whether the stated balance invariant holds after failure or bounce.
Assess Migration Compatibility
Compare the old and new storage layouts. Review update authority and replay counter preservation, then propose regression assertions for allowed and denied transitions.

Boas práticas

  • Provide local source, expected invariants, and any ABI records or layout descriptions for the revision under review.
  • Use only a verified companion CLI and keep the review within the authorized workspace.
  • Distinguish source-backed conclusions from assumptions about encoding, authorization, and message behavior.

Evitar

  • Treating ABI declarations as proof of how a manual decoder reads storage.
  • Checking successful state updates while ignoring action failure and bounce handling.
  • Using local source to claim a historical account balance.

Perguntas frequentes

What inputs should I provide?
Provide local TON source and expected invariants. Include compiler ABI records or a serialized layout description when available.
Can I use this without ABI records?
Yes. You can review source, but mark any layout or encoding details that lack supporting evidence.
What does the CLI workflow require?
It requires Python 3.11 or later and a verified copy of the companion CLI. The audited skill package does not include the CLI.
What does the review produce?
It produces a state and layout map with authority checks, suggested regression assertions, and known encoding limitations.
Can this review a storage migration?
Yes. It guides checks for serialization compatibility, update authorization, and replay counter handling.
Can this reconstruct historical chain balances?
No. Use a separate blockchain forensics workflow for historical chain state or balance reconstruction.

Detalhes do desenvolvedor

Licença

Desconhecido

Revisão da Skillstore

r1

Aviso de versão

O autor não declarou uma versão.

Referência

d715043e3196bdd213a9eb9e5f78632e50554733

Atualidade da manutenção

29/11/2026

Uso

0 downloads · 0 visualizações

Estrutura de arquivos

📄 SKILL.md