Earn 5.87% APY staking with Solana Compass + help grow Solana's ecosystem

Stake natively or with our LST compassSOL to earn a market leading APY

Conference Talk Breakpoint 23

Breakpoint 2023: Back to The Future: What Bugs You Can Expect in Your Project

Director of Security at Halborne, Piotr Cielas, discusses recurring bugs in projects and proposes a blockchain-specific vulnerability scoring system.

The notes below are AI generated and may not be 100% accurate. Watch the video to be sure!
Note: these notes were generated by AI to help surface more Solana content

Summary

At Breakpoint 2023, Piotr Cielas, the Director of Security at Halborne, offered a comprehensive look at common vulnerabilities that appear in projects across various industries. He explained the universality of certain bugs irrespective of the particular market or industry and emphasized the importance of probability when predicting the future occurrence of these issues. Focusing on blockchain technology, he critiqued current security metrics for their lack of sophistication and offered Halborne's more nuanced approach, which adapts the Common Vulnerability Scoring System. He elaborated on the necessity to understand the nature of bugs, their likelihood, and potential impact, breaking down some Solana-specific examples of what could go wrong and how to prevent such occurrences.

Key Points:

The Prevalence of Reoccurring Bugs

Piotr Cielas shed light on how bugs tend to reoccur across various projects despite industry or product specificity. He suggests that an analysis of past bugs is critical in preventing future ones. He draws from Bayesian probability to argue that understanding existing data helps in projecting future occurrences with greater accuracy.

Critique of Current Security Metrics

Cielas discusses the inadequacy of current two-dimensional security metrics in capturing the complex nature of vulnerabilities. These metrics fall short when it comes to multidimensional evaluation, consequently offering limited information. They typically combine variables that should be independent, such as probability and impact, which can result in an oversimplified assessment.

Halborne's Blockchain Vulnerability Scoring System

Halborne's approach enriches the Common Vulnerability Scoring System (CVSS) with blockchain-specific metrics. The new system adds categories like deposit effect, yield effect, reversibility, and whether the issue is isolated or systemic. This nuanced breakdown fosters a better understanding of how vulnerabilities function in the blockchain environment.

Common Solana Vulnerabilities

Cielas explains the common vulnerabilities found in programs running on Solana and the importance of proper checks and validations to avoid them. He points out that bug prevention is essential—even for well-known issues—to maintain integrity and security in blockchain projects.

Facts + Figures

  • Piotr Cielas is the Director of Security at Halborne, responsible for enterprise security and serving as a security engineer and advisor for blockchain projects.
  • The talk focuses on using historical data to predict and prevent future security issues in projects.
  • The Bayesian probability concept is highlighted as a mathematical approach to forecasting potential project vulnerabilities.
  • Cielas critiques commonly used two-dimensional risk matrices for their oversimplified representation of risks.
  • Halborne developed a Blockchain Vulnerability Scoring System, improving upon the CVSS by adding blockchain-specific metrics.
  • One in five vulnerabilities has some impact on a project's deposit funds.
  • If a vulnerability does affect the yield, 40% of the time, it can be devastating to the project.
  • Integrity appears to be the most affected attribute by vulnerabilities in projects.
  • Most attacks are simple to execute and predominantly involve local issues rather than systemic ones.
  • Piotr Cielas discussed specific types of vulnerabilities related to Solana, such as account owner check missing and signer check missing.

Top quotes

  • "We see, time and time again, there are similarities across projects."
  • "The bugs that we see do seem to occur in projects regardless even of the industry and the product's fit in the market."
  • "Convenience matters more, it's easier to convey the message to people that are not so fixed on mathematics."
  • "We sort of took the best of both worlds and came up with a blockchain vulnerability scoring system."
  • "Most of the attacks are rather simple to exploit."
  • "Unfortunately, most of the attacks are irreversible, and there's nothing you can do to recover the funds."
  • "Every single auditor that I've talked to, the very first advice that they give is never to forget the common Solana vulnerabilities."

Questions Answered

What is the main focus of Piotr Cielas's talk at Breakpoint 2023?

The main focus of Piotr Cielas's talk is to provide insight into common vulnerabilities across projects and industries and introduce a more sophisticated, blockchain-specific vulnerability scoring system to predict and prevent future security issues more effectively.

Why are current security metrics considered inadequate by Piotr Cielas?

Current two-dimensional security metrics are considered inadequate because they fail to capture the multifaceted nature of vulnerabilities and often mix independent variables, leading to oversimplified risk assessments. Piotr Cielas proposes a more comprehensive approach that takes into account various dimensions of blockchain-specific vulnerabilities.

How does Halborne's Blockchain Vulnerability Scoring System differ from CVSS?

Halborne's Blockchain Vulnerability Scoring System builds upon the Common Vulnerability Scoring System but includes additional categories tailored to blockchain-specific concerns, including deposit effect, yield effect, reversibility, and systemic impact, allowing for a deeper understanding and analysis of vulnerabilities in blockchain projects.

Why is it essential to understand common vulnerabilities in Solana-based programs?

Understanding common vulnerabilities in Solana-based programs is crucial because these bugs, if unchecked, can severely compromise the security of a blockchain project. Proper validation and checks can prevent these vulnerabilities and protect the integrity and funds within the ecosystem.

What practical advice does Piotr Cielas offer to prevent security breaches in blockchain projects?

Piotr Cielas advises that developers should not assume common vulnerabilities are universally addressed. Instead, they should actively include necessary validations and checks, such as signer verification and avoiding account type confusion, as part of their code to ensure the security and stability of blockchain projects.


Comments

Please login to leave a comment.

Related Content

Solana Program Security Audits and Bounties with David from MadShield - Solfate Podcast #27

Learn about Solana program security from MadShield's David, covering audit processes, common vulnerabilities, and the future of blockchain adoption.

Jump Crypto: How To Improve Solana?

Jump Crypto's Michael McGee reveals where Solana's biggest performance wins are hiding, how Firedancer achieves hundreds of thousands of TPS, and why most blockchain problems are just bugs waiting to be fixed.

Breakpoint 2023: Riverguard - Fishing for Loss of Funds in the Stream of Solana Transactions

An insight into the NEODYME team's proactive approach to enhancing Solana's blockchain security through their tool Riverguard.

The Solana End Game | Anatoly Yakovenko & Lucas Bruder

Anatoly Yakovenko and Lucas Bruder discuss Solana's scaling solutions, upcoming features like async execution, and the future of MEV on the network.

Breakpoint 2025: Security Block: Asymmetric Research

Discover the biggest security risks facing Solana in 2025, from oracle compromises to CU optimization dangers, and learn how developers can protect their protocols.

Scale or Die at Accelerate 2025: Kompass: Navigating Formal Verification for SPL Token at Scale

Discover how Compass is revolutionizing Solana smart contract security through scalable formal verification

Breakpoint 2025: Security Block: Almanax (Francesco Piccoli)

AlmondX unveils AI security engineer for Solana developers with free one-year audit program backed by Solana Foundation

Breakpoint 2025: Security Block: Certora (Pamina Georgiev)

Learn how Certora's formal verification technology mathematically proves Solana smart contract security, with up to $1M in subsidized security funding available

The Director of the Bloomberg Film RUIN Talks FTX, Bitboy, and Su Zhu | ep. 3

Director Shern Sharma discusses the creation of Bloomberg's FTX documentary RUIN, offering insights into crypto's most controversial figures and the industry's complex dynamics.

Breakpoint 2023: An Inside Look into the Past and Future of Solana Security

An exploration into the evolution and strengthening of security on the Solana blockchain as presented by Neodyme's co-founder.

Breakpoint 2023: Securing FireDancer

FireDancer's security enhancements and strategies presented at Breakpoint 2023

What's Behind the Move Movement? w/ Rushi Manche (Movement Labs)

Discover how the Move programming language is transforming blockchain development with built-in security features and improved developer experience. Learn about Movement Labs' efforts to bring Move to multiple blockchains, including Solana and Ethere

BP 2024: Technical Talk: Open Source X-Ray: Solana Smart Contract Static Analysis

Solana's X-ray tool for smart contract analysis goes open-source, empowering developers to enhance security

Anchor: Today and Tomorrow

Anchor 1.0 launches with major security improvements, better tooling, and a roadmap featuring Pinocchio integration, native fuzzing, and security linting

Alpenglow: Solana's 100x Improvement

Solana's Alpenglow proposal promises 100x faster finality at 150ms. Deep dive into what this means for validators, Firedancer, and the future of blockchain performance.

Solana tokens

Solana Token Markets

Explore all tokens →