
Join 1500+ leaders who secured themselves from losing Billion Dollars



Puffpaw operates as a cross-chain token infrastructure built on LayerZero’s Omnichain Fungible Token (OFT) standard, designed to enable seamless token interoperability across multiple blockchain networks. By leveraging smart contracts such as PPOFTAdapter for wrapping existing ERC-20 tokens and MyOFT for native token deployment on destination chains, Puffpaw ensures efficient and unified token movement.
Through LayerZero’s messaging protocol, the system facilitates secure cross-chain transfers, maintaining consistency in token supply and state while enabling scalable, interoperable asset management across diverse blockchain ecosystems.
Puffpaw envisions expanding its decentralised infrastructure to create a global, data-driven ecosystem for healthier lifestyle habits, starting with nicotine reduction. By combining smart hardware, blockchain technology, and gamified incentives, the platform aims to transform real-world behaviour into verifiable, on-chain activity that rewards positive change.
This vision extends beyond vaping, positioning Puffpaw as a next-generation DePIN network where connected devices generate reliable behavioural data and enable transparent, incentive-driven systems. Through secure on-chain tracking and tokenised rewards, Puffpaw seeks to ensure data integrity, user ownership, and fair participation across its ecosystem.
By bridging physical habits with digital incentives, Puffpaw aims to redefine how blockchain technology can be applied beyond finance—empowering users to improve their health while participating in a scalable, interoperable Web3 ecosystem.
Our audit of Puffpaw uncovered key vulnerabilities that required attention, including a lack of input validation for critical parameters, the use of floating pragma leading to inconsistent compiler behaviour, and reliance on single-step ownership transfer mechanisms.
To address these issues, we implemented strict input validation to prevent misconfiguration during deployment, enforced fixed compiler versions to ensure consistent and predictable builds, and introduced a secure two-step ownership transfer process to eliminate risks associated with accidental ownership loss.
These enhancements significantly strengthened Puffpaw’s security posture, improving contract reliability, deployment safety, and overall protocol trust.
Our comprehensive audit was executed through the following steps:
Our approach to auditing PuffPaw involved a combination of threat modelling, a security-first mindset, and extensive testing. We used both white-box and black-box testing methods to ensure a thorough assessment, maintaining transparency and clear communication with the Puffpaw team throughout the process.
Our comprehensive audit of these contracts revealed a total of 3 issues, categorised by severity:
Here is a breakdown of the critical vulnerabilities in audit discoveries and remediation strategies:
1. Lack of Input Validation
Description: The constructors of the MyOFT and PPOFTAdapter contracts do not verify whether critical input addresses are non-zero.
In MyOFT, the _lzEndpoint and _delegate addresses are passed directly to the OFT and Ownable constructors without explicit zero-address validation.
Similarly, in PPOFTAdapter, the _token, _lzEndpoint, and _delegate addresses are not validated before being forwarded to the OFTAdapter and Ownable constructors.
While some LayerZero base contracts may perform internal checks, relying on upstream validation reduces clarity and increases the risk of misconfiguration during deployment. Initialising any of these addresses to address(0) could result in loss of ownership, broken cross-chain functionality, or a non-functional adapter.
2. Floating Pragma
Description: Floating pragmas allow the contract to be compiled with multiple compiler versions. This can lead to unexpected behaviour, as different compiler versions may introduce breaking changes, bug fixes, or different optimisations.
Impact: Low
Using a floating pragma can result in:
Likelihood: Low
Description: Both contracts inherit from OpenZeppelin's Ownable contract which implements a single-step ownership transfer mechanism. This design pattern is dangerous because if the owner accidentally transfers ownership to an incorrect address (due to a typo, wrong address copied, or any other human error), the contract becomes permanently inaccessible. There is no way to recover from this mistake, and all owner-restricted functions become permanently locked.
Impact: If ownership is transferred to an incorrect address (typo, wrong network address, non-existent address, or address without private key access), all admin functions become permanently inaccessible
Likelihood: Low
3.Use Two-Step Ownership Transfer Instead of Standard Ownable
Implement Two-Step Ownership Transfer using OpenZeppelin's Ownable2Step contract instead of Ownable
The PuffPaw smart contracts security audit identified and addressed critical vulnerabilities, protecting user funds and ensuring platform stability. This case study demonstrates the importance of proactive security measures for blockchain-based projects, especially those dealing with financial assets. By conducting audits and addressing identified issues, the PuffPaw Team has taken a significant step towards securing its platform and safeguarding user trust.

From day-zero risk mapping to exchange-ready audits — QuillAudits helps projects grow with confidence. Smart contracts, dApps, infrastructure, compliance — secured end-to-end.