- Home
- Security Audits
- TrueLayer
Traditional · Smart Contract Audit
TrueLayer Security Audit
softstack completed a smart contract audit of TrueLayer's Stablecoin in October 2022, reporting 5 findings (1 medium, 2 low and 2 informational), of which 5 were resolved or mitigated before the final report. The full report is published in the softstack public audit archive.
Key facts
- Client
- TrueLayer
- Completed
- Chains
- Ethereum
- Languages
- Solidity, JavaScript
- Commit
563386a0e4cf
About the project
TrueLayer is an open banking platform that provides payment and financial data APIs to businesses across Europe. Its products cover bank-to-bank payments, payouts, recurring payments from linked accounts, customer verification and affordability data. Merchants use the network to accept pay-by-bank transfers as an alternative to card payments.
Scope
Components reviewed
4 modules · 4 files- TlStablecoinV010.sol
- truffle-config.js
- hardhat.config.js
- Blacklistable.sol
Findings
5 of 5 findings resolved before the final report.
| ID | Title | Severity | Status |
|---|---|---|---|
6.2.1 | Privileged Roles The ROLES have the privilege to execute pause, mint, blacklist and upgrade. This represents a significant centralization risk where the ROLES have privileged control over the contract. | Medium | fixed |
6.2.2 | Public Functions Could Be External In the current implementation several functions are declared as public where they could be external. For public functions Solidity immediately copies array arguments to memory, while external functions can read directly from calldata. | Low | fixed |
6.2.3 | Missing Value Verification The initialize functions lack a value safety check. Therefore, only values that are consistent with the logic of the contract should be permitted. | Low | fixed |
6.2.4 | Floating 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 | Informational | fixed |
6.2.5 | Missing Natspec Documentation Solidity contracts can use a special form of comments to provide rich documentation for functions, return variables and more. This special form is named the Ethereum Natural Language Specification Format (NatSpec). | Informational | fixed |
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 auditsMethodology
Review process
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.
Automated analysis
Static analysers sweep the full codebase to surface known weakness patterns, unreachable states and deviations from established conventions.
Manual code review
Independent engineers read the code line by line, concentrating on business logic, access control, arithmetic and the handling of external calls.
Adversarial testing
Property-based fuzzing and invariant tests attack the assumptions the protocol relies on, targeting states that ordinary unit tests never reach.
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.
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
TrueLayer 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 TrueLayer in October 2022. The full report is linked on this page and published in the softstack public audit archive.
The review reported 5 findings: 1 medium, 2 low and 2 informational. 5 of 5 were resolved or mitigated before the final report.
4 source files were reviewed at commit 563386a. The published report lists every file covered.
This report covers the code as reviewed in October 2022 at commit 563386a. Any code changed after that point is outside the reviewed scope.
Related audits
Browse all security auditsDisclaimer
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.