---
title: "TON vulnerability scanner: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/skills/trailofbits-ton-vulnerability-scanner/
description: "Pins the TON scanner's refusal to omit a coverage row, and its requirement to cite the stored address a Jetton sender is compared against."
---

# TON vulnerability scanner: review, setup & limitations · Undominated.ai

> Pins the TON scanner's refusal to omit a coverage row, and its requirement to cite the stored address a Jetton sender is compared against.

[← Explore all skills](/skills/)

TON CONTRACT AUDIT / Trail of Bits

# TON vulnerability scanner

Pins the TON scanner's refusal to omit a coverage row, and its requirement to cite the stored address a Jetton sender is compared against.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/trailofbits/skills/tree/8e54050ae63c2f62224c35b1616efe71865b4777/plugins/building-secure-contracts/skills/ton-vulnerability-scanner)

SOURCE REVIEW

 Reviewed 2026-10-14
 Evidence 4 linked sources
 Publisher Trail of Bits
 Licence [CC-BY-SA-4.0 ↗](https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/LICENSE)
 Revision 8e54050ae63c
 [Read what was—and wasn’t—checked ↓](#review)

“Refuses a partial TON scan, requires every pattern verdict, and says a Jetton sender must be compared to a stored address.”

 [Trail of Bits · upstream description ↗](https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/plugins/building-secure-contracts/skills/ton-vulnerability-scanner/SKILL.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - An empty verdict or a missing pattern row is an incomplete scan, and not having looked is not an n/a.
- The file rejects treating the sender as obviously the Jetton wallet and tells the reviewer to cite the stored address used in the comparison, and to name the reserve before dismissing gas.

### A good fit for

 - Auditing a FunC contract when every pattern row needs a verdict and a Jetton sender check has to name the stored address

### Weigh up before choosing

 - The resource was not executed.
- `/plugin install trailofbits/skills/plugins/building-secure-contracts` installs the building-secure-contracts plugin, not this file alone.
- `/plugin marketplace add trailofbits/skills` adds the marketplace, not this skill.
- resources/VULNERABILITY_PATTERNS.md was not opened.
- The reporting template contains an attack walkthrough. This review does not reproduce that procedure, and this record is not a source for it.
- The workflow sentence also names Tact, while the extension list names only FunC suffixes. That mismatch was not treated as two scanning procedures.
- The heading calls the set critical, while the priority section ranks two patterns high rather than critical. The priority section is the ranking.
- The shape example leaves two verdict cells empty and then says an empty verdict is incomplete. The file says the filled row shows the shape. That was not treated as a contradiction.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - plugins/building-secure-contracts/skills/ton-vulnerability-scanner/SKILL.md
- plugins/building-secure-contracts/README.md
- README.md
- LICENSE

### Our findings

 - A report that is silent on any of the patterns is treated as looking like a clean contract, so every row has to be emitted even when the verdict is clear.
- An empty verdict cell is incomplete in the same way as a missing row, and not having looked is not an n/a.
- Silence is rejected because a reader cannot tell it apart from not having checked.
- Calling the sender obviously the Jetton wallet is rejected; the file requires the stored address used in the comparison.
- Dismissing gas because a message is non-bounceable is rejected; the file says to name the reserve.
- The checklist will not accept a finished audit without the coverage table and a verdict on every row.

### Not established by this review

 - The resource was not executed.
- No FunC contract was scanned and no local sandbox test was run.
- resources/VULNERABILITY_PATTERNS.md was not opened.
- The attack walkthrough in the reporting template was not copied into this record.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Add a skill to your workflow.

[Upstream setup instructions ↗](https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/plugins/building-secure-contracts/README.md)

DOCUMENTED COMMAND

 /plugin install trailofbits/skills/plugins/building-secure-contracts Copy command ↗

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

 - The building-secure-contracts README shows `/plugin install trailofbits/skills/plugins/building-secure-contracts`. That installs the plugin, not this skill alone.
- The repository README shows `/plugin marketplace add trailofbits/skills`. That adds the marketplace, not this skill.
- No fetched line installs only ton-vulnerability-scanner.

### Before you start

 - Claude Code, because both install lines are Claude plugin commands
- A FunC contract tree to review; this review did not supply one

### Compatibility

Claude Code · Codex

### Implementation

FunC

### Local skill text; this record does not include the reporting template's attack walkthrough

 - Read the skill text
- Do not treat a partial coverage table as a finished scan
- Do not use this record as the attack walkthrough that appears in the template

### Cost model

CC-BY-SA-4.0; no install or scan was run. Share-alike applies to a redistributed adaptation.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [ton-vulnerability-scanner SKILL.md ↗](https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/plugins/building-secure-contracts/skills/ton-vulnerability-scanner/SKILL.md) Checked 2026-10-14 https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/plugins/building-secure-contracts/skills/ton-vulnerability-scanner/SKILL.md Supports: Coverage-table refusal, stored-address comparison, and the reserve requirement
- [building-secure-contracts README ↗](https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/plugins/building-secure-contracts/README.md) Checked 2026-10-14 https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/plugins/building-secure-contracts/README.md Supports: Plugin install line for the building-secure-contracts plugin
- [Repository README ↗](https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/README.md) Checked 2026-10-14 https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/README.md Supports: Marketplace install line and the CC-BY-SA-4.0 statement
- [Repository LICENSE ↗](https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/LICENSE) Checked 2026-10-14 https://github.com/trailofbits/skills/blob/8e54050ae63c2f62224c35b1616efe71865b4777/LICENSE Supports: Attribution-ShareAlike 4.0 International Public License

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Solana vulnerability scanner ↗ Pins Trail of Bits' Solana scanner, which refuses a short coverage table, keeps the version-scoped row, and does not treat passing lints or an Anchor attribute as a full check.](/skills/trailofbits-solana-vulnerability-scanner/)[### Algorand vulnerability scanner ↗ Pins Trail of Bits' Algorand scanner, which treats a short or empty coverage table as an unfinished scan and does not let a clean Tealer run stand in for patterns it never examined.](/skills/trailofbits-algorand-vulnerability-scanner/)[### CLAUDE.md improver ↗ Pins the CLAUDE.md skill that must print a quality report and wait for approval before it edits those files.](/skills/anthropic-claude-md-improver/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Choose a toolkit](/tools/)
- [Inspect execution hosts](/agents/)
- [Check tool access](/mcp-servers/)
- [Check project dependencies](/check-repo/)
