Habilidades invariants
📦

invariants

Revisão do conteúdo r1 Seguro 🌐 Acesso à rede📁 Acesso ao sistema de arquivos

Define and Review Solidity Invariants

A passing test does not show which contract properties it covers. Define clear invariants and use supplied test results to distinguish observed coverage from gaps.

Suporta: Claude Codex Code(CC)
Maintain this Skill? Claim it 📊 73 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 "invariants" from https://skillstore.io/skills/flint-research-invariants.md and its manifest at https://skillstore.io/api/skills/flint-research-invariants/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 "invariants". Define a balance property using these deposit results. Standard deposits passed, but no boundary tests were supplied.

Resultado esperado:

  • Property: An accepted deposit increases the recorded balance by the credited amount.
  • Observed result: Standard deposits passed in the supplied results.
  • Coverage gap: No result was supplied for the maximum supported deposit.

Usando "invariants". Review whether role assignments survive this upgrade. The supplied test output does not identify the reviewed revision.

Resultado esperado:

  • Property: Existing role assignments remain unchanged after the upgrade.
  • Evidence status: Inconclusive for the reviewed revision because the output does not identify it.
  • Needed evidence: A role preservation result tied to the revision and configuration under review.

Auditoria de segurança

Seguro

The Flint Research website is a documentation link, not a required network request. The skill directs readers to run a Python CLI outside the reviewed package. No evidence of data transfer or audit manipulation was found in the reviewed file.

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

Estas são capacidades locais reais que podem ser esperadas para esta habilidade, portanto exigem revisão, mas não são contabilizadas como comportamento malicioso confirmado.

Alto
Path traversal sequence
Run the [bundled Python CLI](../../scripts/swarmsec.py) with Python 3.11 or later. Treat local input
Line 10 uses a fixed parent-relative path to direct execution of a Python CLI outside the reviewed skill package. Following it could run unreviewed code with local permissions.

Fatores de risco

🌐 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-invariants/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-invariants/security.svg)](https://skillstore.io/skills/flint-research-invariants?utm_source=security_passport_badge)

Badge HTML

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

Cartão incorporável

<iframe src="https://skillstore.io/embed/skills/flint-research-invariants.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). invariants security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/flint-research-invariants/audits/1

Citação BibTeX

@techreport{flint-research-flint-research-invariants-2026, author = {flint-research}, title = {invariants security audit report (audit version 1)}, institution = {Skillstore}, year = {2026}, number = {1}, url = {https://skillstore.io/skills/flint-research-invariants/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: "invariants 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-invariants/audits/1" identifiers: - type: other value: "skillstore:flint-research-invariants: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

Specify balance rules

Turn intended deposit and withdrawal behavior into explicit balance properties and protective assertions.

Assess access-control coverage

Map role and permission requirements to supplied test results, then identify rejection behavior that remains untested.

Review upgrade regressions

Document which state properties must survive an upgrade and compare them with results for the reviewed revision.

Teste estes prompts

Define one property
Given this Solidity deposit function and its intended behavior, define one balance invariant. List the protected state and assumptions.
Draft protective assertions
Use this contract and role policy to define allowed transitions. Propose assertions for permitted actions, limits, and required rejections.
Review supplied test results
Map these local regression results to the listed invariants. Record the test names, revision, and configuration. Mark missing or incomplete evidence.
Assess upgrade properties
Compare these authorized contract revisions and supplied offline results. Tabulate preserved state properties, assumptions, protective assertions, observed outcomes, and unresolved coverage gaps.

Boas práticas

  • Provide authorized source and describe which behavior the contract must preserve.
  • Include test names, source revision, configuration, and exact results.
  • Keep assumptions, observed coverage, and proof claims separate.

Evitar

  • Treating a passing regression test as a mathematical proof.
  • Reporting an invariant as covered without a matching test result.
  • Reviewing contracts or test artifacts outside the authorized scope.

Perguntas frequentes

What is an invariant?
An invariant is a property that must hold across the allowed states or transitions of a contract.
Which contract properties can I review?
The skill covers accounting, access control, state transitions, and upgrades in authorized Solidity code.
Can I start without test results?
Yes. The skill can define properties and propose assertions. It marks properties without evidence as untested.
What should I include with test results?
Provide the test name, source revision, configuration, and exact result from an authorized offline environment.
Does the skill prove an invariant?
No. It separates observed test coverage from proof. Use Formal Verification for mathematical proof requests.
What does the output look like?
The output is a property table with predicates, assumptions, proposed assertions, observed outcomes, and coverage gaps.

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

Mais de flint-research

Ver tudo
Ver tudo