ton vulnerability scanner

Other Community

Skill notes

1. Purpose

Systematically scan TON blockchain smart contracts written in FunC for platform-specific security vulnerabilities related to boolean logic, Jetton token handling, and gas management. This skill encodes 3 critical vulnerability patterns unique to TON's architecture.

2. When to Use This Skill

Auditing TON smart contracts (FunC language) Reviewing Jetton token implementations Validating token transfer notification handlers Pre-launch security assessment of TON dApps Reviewing gas forwarding logic

File Extensions & Indicators

FunC files: .fc, .func

Project Structure

contracts/*.fc - FunC contract source wrappers/*.ts - TypeScript wrappers tests/*.spec.ts - Contract tests ton.config.ts or wasm.config.ts - TON project config

Tool Support

TON Blueprint: Development framework for TON toncli: CLI tool for TON contracts ton-compiler: FunC compiler Manual review primarily (limited automated tools)

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Other
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@trailofbits · no license declared
Token usage
Lean
Setup complexity
Guided setup
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
No explicit requirements detected
Detected file/system behavior
  • Read-only
  • Write / modify
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

Output preview ton-vulnerability-scanner.preview
# 5. Example Output

=== TON VULNERABILITY SCAN RESULTS ===

Project: my-ton-contract
Files Scanned: 3 (.fc, .tact)
Vulnerabilities Found: 2

---

[CRITICAL] Missing Replay Protection
File: contracts/wallet.fc:45
Pattern: No sequence number or nonce validation

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.