1. Home
  2. audit

audit

World’s Largest NFT Marketplace Opensea Reveals Drop Improvements, Arbitrum L2 Support

World’s Largest NFT Marketplace Opensea Reveals Drop Improvements, Arbitrum L2 SupportThe largest non-fungible token (NFT) marketplace by sales volume, Opensea, has announced a new “immersive and secure minting experience” by giving NFT creators the ability to showcase “collections with dedicated drop pages and greater discoverability” on Opensea’s new homepage. Moreover, the company also announced on Tuesday that the NFT marketplace will soon support the layer […]

Bitcoin ATH sooner than expected? XRP may drop 40%, and more: Hodler’s Digest, March 23 – 29

Solana and Ethereum smart contract audits, explained

What are smart contract audits, how do they work, and how do they benefit the crypto projects who get their code scrutinized? Let's find out.

Do smart contract audits improve crypto's image?

Blockchain technology is becoming a bigger part of all our lives — and auditors like Hacken are ensuring that crypto projects put their best foot forward.

Improving the quality of smart contracts helps reduce those unpleasant headlines about major hacks in the press, and boosts the reputation of crypto projects in the public's eyes.

Once an investigation has taken place, Hacken offers labels to ensure verified projects can declare they're audited by Hacken on an official website. 

Reports are also attached to a crypto project's official presence on major websites such as CoinMarketCap and CoinGecko. 

The most common types of contracts that the company interacts with include token, token sale, exchange, ERC-721, swap farming, staking, ERC-20, BEP-20 and reward pool. 

Already a member of the Enterprise Ethereum Alliance and Solana Foundation, Hacken has its sights set on winning a 20% share of the Web3 cybersecurity market by 2024.

Learn more about Hacken

Disclaimer. Cointelegraph does not endorse any content or product on this page. While we aim at providing you with all important information that we could obtain, readers should do their own research before taking any actions related to the company and carry full responsibility for their decisions, nor can this article be considered as investment advice.

And how long do smart contract audits take?

It's a process that takes several weeks — depending on how quickly a crypto project works.

Hacken says initial audits typically take 2 to 14 days depending on a smart contract's complexity and size… and if it's urgent, these investigations can be expedited. Again, for larger protocols, it might take longer — 30 days in some cases.

At this point, a project will be given recommendations on what needs to be fixed — and how quickly these changes are made will depend on them. Auditors like Hacken then offer a remediation check to ensure all of the vulnerabilities have been patched over to a high standard.

How much do smart contract audits cost?

As you might expect, this depends on how complex a smart contract is.

According to Hacken, this can extend to $500,000 for larger projects where there are more lines of code — not least because of the additional engineering hours it'll take.

The company argues these costs pale into comparison with the economic damage that a smart contract vulnerability can bring.

Hacken cites data showing that, in 2021, 80% of the incidents affecting decentralized applications related to smart contracts — with losses hitting $6.9 billion.

Breaking this down even further, and we can see that the average cost per project stands at $47 million. Somehow, $500,000 looks a lot less expensive now. 

Overall, 60% of its clients have been based on Ethereum so far in 2022.

And here's the difference it can make — after an audit, at least one critical bug was uncovered in 80% of projects. But Hacken says just 75% have fully acted on an audit report in the past — with the remainder ignoring the conclusions, or only taking a small number of recommendations into account. As a result, they had a lower security score.

How do smart contract audits benefit crypto projects?

Audits are vital for ironing out any kinks in a crypto project, and ensuring code is ready to be used by the masses.

Hackers were responsible for stealing $1.3 billion in 78 incidents across the first quarter of 2022 alone, and two-thirds of these attacks were on the Ethereum and Solana blockchains.

But what causes certain projects to be targeted… and how could a smart contract audit have helped them? 

Well, common reasons include crypto projects prioritizing speed — and failing to factor in time for a comprehensive audit from a dependable provider. 

They may also rely on their own in-house teams to perform security checks. And although this looks financially sensible, there's a danger that internal staff may not be up to date on the latest hacking techniques used by malicious actors.

Inevitably, some will also believe that they are too good to fail. But complacency is enemy number one in the crypto space, and even the finest projects can fall victim to a hack.

Are Solana smart contract audits different?

Smart contract audits will vary slightly depending on the blockchain code is based on.

Common security vulnerabilities on Solana can include missed ownership checks, meaning attackers can use fake configurations to bypass access controls.

And while smart contracts can call functions from external smart contracts, validation failures could mean black hat hackers get an opportunity to supply malicious inputs that affect how the code operates.

Top auditing firms will access a Solana smart contract based on documentation quality, security, architecture quality and code quality. Vulnerabilities are assigned a severity level too, meaning business-critical issues can be tackled first.

How does an Ethereum smart contract audit work?

The best security firms will put code through stress tests to see how they perform in a range of scenarios.

Experts say it's important for a project to provide a complete and clear technical specification — and ideally, offer documentation of the deployment process.

These audits aren't just about uncovering issues that black hat hackers could take advantage of, but flaws that could stop an Ethereum smart contract from working correctly.

The attack vectors being scrutinized can get rather technical — but they include replay attacks, where valid data transmissions are repeatedly made by malicious actors in order to execute fraudulent activities. Others include reentrancy attacks, reordering attacks and short address attacks.

Once an investigation has been completed, crypto projects receive a detailed report of the vulnerabilities within their code — alongside recommendations on how to mitigate their impact, or eliminate them altogether. 

As a result, the resources saved through an effective audit can far outweigh the cost… and it can avoid reputational damage, too.

What is a smart contract audit?

Smart contract audits involve scrutinizing the code of crypto projects — highlighting security vulnerabilities.

Smart contracts are a crucial cog of the crypto ecosystem — and they've unlocked a plethora of use cases for blockchain technology.

But for developers who are furiously writing code, safety needs to be a number one priority. Smart contract exploits can put user funds at risk, and we've all seen headlines of high-profile hacks where eye-watering sums of money were lost.

An audit allows an independent organization to kick the tires of a smart contract, and detect vulnerabilities before they're spotted by malicious actors. This can help crypto projects to achieve credibility, all while giving users peace of mind. Audits are typically done before smart contracts are deployed, as they can be difficult to fix once uploaded to a network.

Smart contracts are commonly found on blockchains including Ethereum and Solana.

Bitcoin ATH sooner than expected? XRP may drop 40%, and more: Hodler’s Digest, March 23 – 29

NFT Marketplace Opensea Migrates to Seaport Protocol, Transition to Cut Network Fees by 35%

NFT Marketplace Opensea Migrates to Seaport Protocol, Transition to Cut Network Fees by 35%On Tuesday, the leading non-fungible token (NFT) marketplace in terms of all-time sales, Opensea, announced it is migrating to Seaport, an open source Web3 marketplace protocol. Opensea says the Seaport protocol migration from the Wyvern protocol will cut network fees by 35%, and users will no longer have to pay an account initialization fee. Opensea […]

Bitcoin ATH sooner than expected? XRP may drop 40%, and more: Hodler’s Digest, March 23 – 29

Kazakhstan Auditors Go After Crypto Miners Accused of Exploiting Tax Benefits

Kazakhstan Auditors Go After Crypto Miners Accused of Exploiting Tax BenefitsAuthorities in Kazakhstan have found several businesses minting digital currencies that took advantage of tax cuts they were allegedly not supposed to benefit from. Auditors said the crypto firms registered as “innovative companies,” to receive millions of dollars in tax preferences. 5 Mining Entities in Kazakhstan Get $18 Million in Tax Exemptions Auditors in Kazakhstan […]

Bitcoin ATH sooner than expected? XRP may drop 40%, and more: Hodler’s Digest, March 23 – 29

Former ConsenSys employees file for audit claiming ‘serious irregularities’

“Joseph Lubin is the majority shareholder of both companies. The transaction was to the detriment of the minority shareholders of CAG and to the benefit of Joseph Lubin personally,” the group alleged.

A group claiming to represent 35 former ConsenSys AG (CAG) employees has requested an audit under the Swiss Code of Obligations to investigate “serious irregularities” they allege occurred at the company during mid-2020.

CAG, also known as Mesh, is the company behind top Ethereum-based wallet provider MetaMask and was founded by Joseph Lubin, who is also the co-founder of Ethereum.

According to a press release, the group of employees who claim to represent around 50% of all known shareholders submitted the request to a Swiss Court on March 1.

The group alleged that “fundamental intellectual property and subsidiaries were illegally transferred” from CosenSys AG (which it refers to as CAG) into a new entity called “ConsenSys Software Incorporated” (CSI) on Aug. 14, 2020.

The former employees also assert that they and other minority shareholders had no idea that the IP transfer had taken place, and claim that the deal was only conducted to benefit major shareholders and Lubin:

“Joseph Lubin is the majority shareholder of both companies. The transaction was to the detriment of the minority shareholders of CAG and to the benefit of Joseph Lubin personally.”

The Washington-based company hit back in a statement suggesting the release was the work of one employee.

“Mesh refutes the allegations underlying the legal action as well as those contained in the factually inaccurate press release that was self-authored by one of the former employees. Mesh looks forward to formally refuting the allegations and accusations in Swiss courts.”

According to the claims, the deal saw IP and subsidiaries transferred to “ConsenSys Software Incorporated (CSI), in exchange for 10% ownership of CSI and an offset of a $39 million loan by founder Joseph Lubin.”

The deal was said to have resulted in top traditional financial institutions such as JP Morgan Chase acquiring stakes in MetaMask and Ethereum developer platform Ifura, while the intellectual property was used as a key drawcard to raise funding for CSI at a $3 billion valuation in 2021.

ConsenSys said the property transfer was valued fairly at the time, and that the landscape had changed dramatically since mid 2020 which is why the assets increased in value so much

The group of employees is seeking for the “IP and subsidiaries to be returned to CAG” and is willing to battle out the matter in court to find a resolution:

“We will push to seek justice through the Swiss court system. We are not interested in settling for less and we are ready for the upcoming court battles.”

Related: New ConsenSys Mesh NFT marketplace pays royalties to creators and collectors

The latest action against ConsenSys and Lubin comes just a few months after former general partner (GP) Kavita Gupta filed a lawsuit against the firm in New York alleging that it had failed to pay out the agreed carry percentage related to a fund she managed between 2017 and 2019.

The dispute has since become embroiled in claim and counterclaim, with Consensys hitting back by filing a complaint in mid-January alleging that Gupta “fraudulently induced ConsenSys to hire her” via fake university degrees and work credentials.

Gupta Gupta then filed an additional complaint alleging that ConsenSys had engaged in “fraud, negligent misrepresentation and unjust enrichment” relating to the accusations against her.

Posting the court documents via Twitter on Feb. 3, Compass Mining content director and cryptocurrency journalist Will Foxley likened the back and forth to a “National Enquirer piece.”

Bitcoin ATH sooner than expected? XRP may drop 40%, and more: Hodler’s Digest, March 23 – 29

Salvadoran President Nayib Bukele Announces Construction of Vet Hospital With Bitcoin Trust Funds

Salvadoran President Nayib Bukele Announces Construction of Vet Hospital With Bitcoin Trust FundsNayib Bukele, president of El Salvador, announced yesterday he will start using surplus funds from the country’s bitcoin trust. Part of the $4 million excedent will be invested in a vet hospital that will offer different services for the pets of Salvadoran citizens. Bukele explained this is possible due to the bitcoin price increase in […]

Bitcoin ATH sooner than expected? XRP may drop 40%, and more: Hodler’s Digest, March 23 – 29

Crypto Exchange Bitbay Passes Audit Under Estonia’s Tougher New Regulations

Crypto Exchange Bitbay Passes Audit Under Estonia’s Tougher New RegulationsBitbay has become a fully licensed cryptocurrency exchange in Estonia which introduced stricter rules for the industry last year. The European trading platform has recently passed an independent audit that confirmed its “solvency, security and fiscal responsibility.” Audit Examines AML and KYC Procedures at Bitbay Bitbay, a leading crypto trading platform in Europe, is now […]

Bitcoin ATH sooner than expected? XRP may drop 40%, and more: Hodler’s Digest, March 23 – 29

Huobi Stablecoin Issuer Publishes Attestation Reports Tied to HUSD Reserve Backing

Huobi Stablecoin Issuer Publishes Attestation Reports Tied to HUSD Reserve BackingThe crypto financial services company Huobi and the firm’s stablecoin issuer Stable Universal have published monthly HUSD attestation reports. The audits indicate the funds that back Huobi’s stablecoin are kept in cash in U.S. money market accounts in order to ensure the 1:1 ratio with USD. HUSD Monthly Attestations On Thursday, more than $117 billion […]

Bitcoin ATH sooner than expected? XRP may drop 40%, and more: Hodler’s Digest, March 23 – 29

Regulators scrutinizing Tether’s commercial paper reserves: Comptroller of the Currency

Tether is still under regulatory pressure with eyes now cast towards its commercial paper reserves.

The firm behind the world’s leading stablecoin, Tether, is facing more regulatory pressure this week with U.S. financial watchdogs scrutinizing the composition of its reserves.

According to a July 27 Bloomberg report the Acting Comptroller of the Currency Michael Hsu said regulators are looking into Tether’s stockpile of commercial paper to see whether each USDT token really is backed by the equivalent of one U.S. dollar.

A team of regulators led by Treasury Secretary Janet Yellen has held a high-level, closed-door talk on the risks posed by stablecoins and particularly Tether. Citing “people familiar with the matter”, the report stated the President’s Working Group on Financial Markets was concerned about Tether’s claims that it holds massive amounts of commercial paper. This investment type relates to debts that companies issue to meet their short-term funding needs.

The group compared the situation to an unregulated money market mutual fund that could be susceptible to an exodus of investors. The current circulating supply of USDT is 62 billion according to its transparency report.

In mid-May, Tether revealed a loose breakdown of its reserves stating that it had invested in instruments beyond cash and cash equivalents, including Bitcoin, bonds, secured loans, and a large proportion of commercial paper. In an interview with CNBC on July 21, Tether general counsel Stuart Hoegner promised that a full financial audit of its reserves would be coming within months, not years.

Related: Stablecoins under scrutiny: USDT stands by ‘commercial paper’ tether

On July 19, Yellen urged agency lawmakers to “act quickly” to ensure stablecoins face appropriate rules, and a regulatory framework for them is formulated.

Shadowy super-coders

On July 27, crypto cynic Senator Elizabeth Warren sent a letter to Janet Yellen asking for greater regulation of the crypto industry. At a hearing of the Senate Banking Committee, Warren again expressed her opposition to crypto:

“Instead of leaving our financial system at the whims of giant banks, crypto puts the system at the whims of some shadowy, faceless group of super-coders and miners, which doesn’t sound better to me.”

Partner at Anderson Kill Law, Preston Byrne, commented that “the far more frightening reality here is that the financial system is in the hands of Elizabeth Warren.”

Bitcoin ATH sooner than expected? XRP may drop 40%, and more: Hodler’s Digest, March 23 – 29