Web3 · Smart Contract Audit

20Min.fr Security Audit

softstack completed a smart contract audit of 20Min.fr's Capsule Corp. Labs 20 Mint NFT in April 2022, reporting 5 findings (3 low and 2 informational), of which 4 were resolved or mitigated before the final report. The full report is published in the softstack public audit archive.

Key facts

Client
20Min.fr
Completed
Chains
Ethereum
Languages
Solidity, JavaScript
Commit
e2756b995e82

About the project

20 Minutes is a French free daily newspaper that published 20 Mint, an NFT collection built with Capsule Corp Labs, the studio behind the Ternoa chain. The collection issued augmented NFTs, tokens carrying additional content that the holder can unlock. The audited contracts were deployed on Ethereum.

Scope

Components reviewed

3 modules · 3 files
  1. TwentyMint.sol
  2. truffle-config.js
  3. hardhat.config.js

Findings

0Critical
0High
0Medium
3Low
2Informational

4 of 5 findings resolved before the final report.

IDTitleSeverityStatus
6.2.1Spelling And Grammatical Errors

Spelling and grammatical errors were identified in the codebase. Fixing these mistakes can help improve the end-user experience by providing clear information on errors encountered and improve the maintainability and auditability of the…

Lowfixed
6.2.2Missing Zero Address Checks

In the current implementation, there are several addresses set without checking for the zero address. This can lead to unintended behaviour.

Lowfixed
6.2.3Renounce Ownership

Typically, the contract's owner is the account that deploys the contract. As a result, the owner can perform certain privileged activities. The renounceOwnership function is used in smart contracts to renounce ownership.

Lowfixed
6.2.4Floating Pragma Version Identified

It is recommended to specify a fixed compiler version to ensure that the bytecode produced does not vary between builds. This is especially important if you rely

Informationalfixed
6.2.5Storing Data Via baseURI

In the current implementation the baseURI is not hardcoded or on-chain generated, means the owner/creator is free to choose the way how the metadata file is stored.

Informationalacknowledged

About this engagement

A smart contract audit reviews on-chain code for flaws an attacker could exploit. Engineers trace how assets move through the contracts, check who can call privileged functions, and test the arithmetic, external calls and upgrade paths. Each finding is rated by severity, and fixes are re-checked before the final report.

How softstack runs smart contract audits

Methodology

Review process

  1. Scoping and threat modelling

    The commit hash is frozen and the attack surface is mapped: asset flows, trust assumptions, privileged roles and the external systems the code depends on.

  2. Automated analysis

    Static analysers sweep the full codebase to surface known weakness patterns, unreachable states and deviations from established conventions.

  3. Manual code review

    Independent engineers read the code line by line, concentrating on business logic, access control, arithmetic and the handling of external calls.

  4. Adversarial testing

    Property-based fuzzing and invariant tests attack the assumptions the protocol relies on, targeting states that ordinary unit tests never reach.

  5. Reporting

    Every finding is documented with a severity rating, its impact, the steps to reproduce it and a concrete remediation the team can act on.

  6. Remediation verification

    Submitted fixes are re-reviewed against the original finding, and the final report records the resolved state of each one.

Standards and references

  • SWC RegistrySmart Contract Weakness Classification
  • CWECommon Weakness Enumeration

FAQ

20Min.fr was audited by softstack GmbH, a German Web3 security and software company based in Flensburg and certified to ISO/IEC 27001 by TÜV SÜD. softstack completed a smart contract audit for 20Min.fr in April 2022. The full report is linked on this page and published in the softstack public audit archive.

The review reported 5 findings: 3 low and 2 informational. 4 of 5 were resolved or mitigated before the final report.

3 source files were reviewed at commit e2756b9. The published report lists every file covered.

This report covers the code as reviewed in April 2022 at commit e2756b9. Any code changed after that point is outside the reviewed scope.

Related audits

Browse all security audits

Disclaimer

This audit represents a point-in-time security assessment of the reviewed codebase and is intended for informational purposes only. While Softstack applies industry-standard security review methodologies, no audit can guarantee the absence of vulnerabilities, bugs, or other security risks. This report does not constitute financial, legal, regulatory, or investment advice, nor does it endorse the project, its business model, products, or services. Security is an ongoing process, and we strongly recommend conducting a new assessment following any material code changes or at least every 6 months to address newly emerging threats, vulnerabilities, and ecosystem developments.