技能 solana-diff
📦

solana-diff

内容修订 r1 安全 ⚙️ 外部命令🌐 网络访问📁 文件系统访问

Compare Solana Program Revisions

Anchor interface changes can affect existing clients and account data. This skill compares two local revisions and separates documented compatibility impacts from questions that need more evidence.

支持: Claude Codex Code(CC)
你是维护者?认领此 Skill 📊 72 合格

使用我的智能体安装

将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。

智能体请求
Review the Skillstore skill "solana-diff" from https://skillstore.io/skills/flint-research-solana-diff.md and its manifest at https://skillstore.io/api/skills/flint-research-solana-diff/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

你的智能体仍应展示其计划,并按安全策略请求必要确认。

Agent 可读资源

当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。

测试它

正在使用“solana-diff”。 Compare the account order for the update instruction in two local IDLs.

预期结果:

  • The authority account moved from position two to position three in the proposed IDL.
  • Clients that still send the old account order need an update.
  • Evidence: The account list for the update instruction in each IDL.

正在使用“solana-diff”。 Review a proposed change to the serialized settings account layout.

预期结果:

  • The proposed layout inserts a field before the balance field.
  • The balance offset changes, so readers using the old layout may misread it.
  • The supplied revisions do not establish how existing accounts will be migrated.

安全审计

安全
v1 • 2026/11/29 打开版本化报告

The Markdown backticks are formatting, and the website link does not request network access. The instructions direct agents to execute a Python helper outside the submitted package. No evidence found of malicious helper behavior; the helper was not included for review.

1
已扫描文件
19
分析行数
1
复核项
0
已忽略误报
能力复核项 (1)

这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。

高
Path traversal sequence
Use the [bundled Python CLI](../../scripts/solana_audit.py) with Python 3.11 or later. Keep analysis
Line 10 directs agents to execute a Python helper outside the submitted skill directory, where it was not available for review. The path may work in the upstream repository, but a standalone install could resolve it to an unrelated local script.

风险因素

⚙️ 外部命令 (1)
🌐 网络访问 (1)
📁 文件系统访问 (1)
审计者: codex
分享与引用此报告

分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。

打开版本化报告
安全评估

复制报告链接

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

Markdown 徽章

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

HTML 徽章

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

嵌入卡片

<iframe src="https://skillstore.io/embed/skills/flint-research-solana-diff.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
学术引用 (APA · BibTeX · CFF)

APA 引用

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

BibTeX 引用

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

Skillstore 评分

评分依据 证据置信度: 中
55
架构
65
可维护性
87
内容
65
社区
65
规范符合性

你能构建什么

Review an Anchor Interface Change

Compare the previous and proposed IDLs to identify account or instruction changes before merging.

Check Client Compatibility

Identify existing client calls that may need updates after account order, signer requirements, or writable permissions change.

Prepare an Upgrade Decision

Review layout changes and record the evidence needed to assess deployment or migration readiness.

试试这些提示

List Interface Differences
Compare these two local Anchor IDLs. List changed instructions and accounts, and cite both versions for each change.
Check Client Requirements
Compare account order, signer requirements, and writable permissions for the selected instruction. Explain which existing client calls may need changes.
Review Address and Layout Changes
Compare the IDLs and corresponding Rust source for address declarations and account layout changes. Flag effects on existing account data and cite the evidence.
Assess Upgrade Compatibility
Review both local revisions and the supplied deployment and migration records. Separate confirmed compatibility impacts from harmless changes and unresolved questions. Cite evidence for each conclusion.

最佳实践

  • Label the baseline and proposed revisions and provide the matching Anchor IDL for each.
  • Include matching Rust source and relevant client code when assessing impact beyond the interface.
  • Provide deployment and migration records when asking for conclusions about upgrade readiness.

避免

  • Comparing IDLs from different programs or IDLs that do not match the selected revisions.
  • Treating an unchanged IDL as proof that program behavior did not change.
  • Assuming existing accounts have migrated without reviewing migration evidence.

常见问题

What inputs do I need?
Provide two authorized local Solana revisions and a matching Anchor IDL for each. Rust source is optional.
Does the comparison require network access?
No. The documented workflow uses local artifacts and directs the agent to work offline.
What runtime does the workflow require?
The documented CLI requires Python 3.11 or later. The standalone skill does not include the helper, so use only a reviewed copy from a trusted source.
What can the comparison say about existing accounts?
It can identify changes to serialized layouts and explain possible compatibility effects. It cannot establish whether deployed accounts have been migrated without evidence.
Does this replace a full Solana security review?
No. This workflow compares selected revisions and assesses upgrade compatibility. Use a separate review for broader program security.
Can I use this for an EVM contract upgrade?
No. This skill is for Solana programs with Anchor IDLs. EVM contracts require a separate review workflow.

开发者详情

许可证

未知

Skillstore 修订

r1

版本提示

作者未声明版本。

引用

d715043e3196bdd213a9eb9e5f78632e50554733

维护新鲜度

2026/11/29

使用量

0 次下载 · 0 次浏览

文件结构

📄 SKILL.md