Solutions

Company

Resources

Blog

Contact

Login

    • Assurance

      Smart Contract Assessment

      Securing code integrity, protecting digital assets

      Blockchain Layer 1 Assessment

      Assessing protocols, securing blockchain foundations

      Code Security Audit

      Uncovering flaws, strengthening software integrity

      Web Application Penetration Testing

      Exposing weaknesses, fortifying digital defenses

      Cloud Infrastructure Penetration Testing

      Securing configurations, protecting critical environments

      Red Team Exercise

      Simulating real-world attacks, strengthening defenses

      AI Red Teaming

      Testing AI systems against real threats

      AI Security Assessment

      Securing AI models, data, and pipelines

    • Advisory

      AI Advisory

      Guiding secure, strategic AI adoption forward

      Risk Assessment

      From unknown threats to actionable insights

      Blockchain Architecture Assessment

      Optimizing architecture for tomorrow’s networks

      Compliance Readiness

      Stay ready as regulations evolve

      Custody and Key Management Assessment

      Securing the heart of digital custody

      Technical Due Diligence

      See the risks before you invest

      Technical Training

      Empower your teams to secure what matters

    • Who We Are

      The best security engineers in the world

      Careers

      Work with the elite

      Who Trusts Us

      The trusted security advisor for blockchain and financial services industries

      Brand

      Access official logos, fonts, and guidelines

      Service Commitments

      Committed to Protecting Your Data

    • Audits

      In-depth evaluations of smart contracts and blockchain infrastructures

      BVSS

      Blockchain Vulnerability Scoring System

      Disclosures

      All the latest vulnerabilities discovered by Halborn

      Case Studies

      How Halborn’s solutions have empowered clients to overcome security issues

      Reports

      Comprehensive reports and data

  • Blog

  • Contact

  • Login

THIS WEBSITE USES COOKIES

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you've provided to them or that they've collected from your use of their services. You consent to our cookies if you continue to use our website. Learn More.

STAY CURRENT WITH HALBORN

Subscribe to the monthly Halborn Digest for our top blogs and videos, major company announcements, new whitepapers, webinar and event invites, and one exclusive interview.

ADVISORY SERVICES

AI AdvisoryRisk AssessmentBlockchain Architecture AssessmentCompliance ReadinessCustody and Key Management AssessmentTechnical Due DiligenceTechnical Training

ASSURANCE SERVICES

AI Security AssessmentAI Red TeamingSmart Contract AssessmentBlockchain Layer 1 AssessmentCode Security AuditWeb Application Penetration TestingCloud Infrastructure Penetration TestingRed Team Exercise

COMPANY

Who We AreWho Trusts UsService CommitmentsCareersBrandBlogContact

RESOURCES

AuditsDisclosuresReportsBVSSCase Studies
Halborn Logo
Privacy PolicyTerms of UseVulnerability Disclosure Policy

© Halborn 2026. All rights reserved.

Background

// Security Assessment

10.06.2025 - 10.10.2025

Smart Contract Assessment

Snag Solutions

Halborn logotext
← Back to Audits

Smart Contract Assessment - Snag Solutions


Prepared by:

Halborn Logo

HALBORN

Last Updated 10/23/2025

Date of Engagement: October 6th, 2025 - October 10th, 2025

Summary

100% of all REPORTED Findings have been addressed

All findings

14

Critical

0

High

1

Medium

0

Low

1

Informational

12


Table of Contents

  • 1. Introduction
  • 2. Assessment summary
  • 3. Scope
  • 4. Findings overview

1. Introduction

Snag engaged Halborn to conduct a comprehensive security assessment of the Snag Airdrop V2 smart contracts beginning on October 6th, 2025, and concluding on October 10th, 2025. The scope of this assessment was limited to the smart contracts provided to the Halborn team. Commit hashes, scope boundaries, and additional details are documented in the Scope section of this report.


The Snag Airdrop V2 Protocol serves as an on-chain airdrop distribution and staking framework designed to provide secure, flexible, and auditable token distribution mechanisms for partner projects. It enables protocols to launch claim contracts through a signed factory that leverages EIP-712–based authorization, ensuring only authenticated deployments.

2. Assessment Summary


Halborn assigned a full-time security engineer to review the security of the smart contracts in scope. The engineer is a blockchain and smart contract security expert with advanced penetration testing and smart contract auditing skills, and deep knowledge of multiple blockchain protocols.

The purpose of the assessment is to:

    • Identify potential security issues within the smart contracts.

    • Ensure that smart contract functionality operates as intended.


In summary, Halborn identified several areas for improvement to reduce both the likelihood and impact of potential risks, which were successfully addressed by the Snag team. The main issues addressed include:

    • Solved the unclaimed allocation issue by enforcing a 100% claim distribution validation to prevent permanently locked user funds.

    • Solved unnecessary computation by moving the len declaration inside the else block so it’s only executed when required.

    • Solved potential DoS risks in claimUnlocked() and stakeFor() by adding caller restrictions and upper bounds to limit excessive stake creation.


3. SCOPE

REPOSITORY
(a) Repository: snag-airdrop
(b) Assessed Commit ID: 991b2af
(c) Items in scope:
  • contracts/Claim.sol
  • contracts/Factory.sol
  • contracts/LinearStake.sol
  • contracts/Claim.sol
  • contracts/Factory.sol
  • contracts/LinearStake.sol
Out-of-Scope: contracts/TimelockStake.sol, third party dependencies and economic attacks.
Remediation Commit ID:
  • 21098af
  • 504b452
  • b91cc1e
  • 12e92ad
  • 6a822b3
  • 1cbb261
  • 9e62057
  • aa45bf1
  • 59f66f6
  • 88115a7
  • d5734b7
  • 41931fe
  • 3f0a3cd
Out-of-Scope: New features/implementations after the remediation commit IDs.

4. Findings Overview

Security analysisRisk levelRemediation
Partial claims permanently lock remaining allocationHighSolved - 10/07/2025
Inefficient variable scope for len in claimUnlocked() functionLowSolved - 10/10/2025
Unbounded loop in claimUnlocked() enables DoS via unrestricted caller check in stakeFor() callsInformationalSolved - 10/10/2025
TransferFailed error is declared but never usedInformationalSolved - 10/10/2025
AlreadyClaimed reused as initialization guardInformationalSolved - 10/10/2025
Declared all error imports cleanInformationalSolved - 10/10/2025
__snagFee_init function can be refactored for better structure and readabilityInformationalSolved - 10/10/2025
Missing zero-address check in transferOwnership()InformationalSolved - 10/10/2025
Fee conversion overflow because of large decimals from price feedInformationalSolved - 10/10/2025
Missing zero-address and role-existence validation in role management functionsInformationalSolved - 10/10/2025
Cross-chain signature replay due to factory domain missing chainIdInformationalSolved - 10/10/2025
EIP-712 signature replay possible in claim function due to missing nonceInformationalSolved - 10/10/2025
Missing amountStaked > 0 check allows unnecessary bonus logic executionInformationalSolved - 10/10/2025
Redundant lockup period validationInformationalSolved - 10/10/2025

Halborn strongly recommends conducting a follow-up assessment of the project either within six months or immediately following any material changes to the codebase, whichever comes first. This approach is crucial for maintaining the project’s integrity and addressing potential vulnerabilities introduced by code modifications.

Table of Contents

  • 1. Introduction
  • 2. Assessment summary
  • 3. Scope
  • 4. Findings overview

// Download the full report

Smart Contract Assessment

* Use Google Chrome for best results

** Check "Background Graphics" in the print settings if needed