The GivingThanks contract and Charity Register solidity pragma version is wide and not specific which makes it vulnerable to compatibility issues and security risks. The version (^0.8.0) allows the compiler to use any version of solidity.
There is lack of a specific solidity pragma version in the GivingThanks and Charity Register contracts;
The contracts are open to potential security vulnerabilities when a newer compiler version is introduced which may introduce bugs.
Lack of specific pragma version can cause inconsitent audit reports meaning various audidtors can compile the contract with different solidity compiler versions and can also lead to missed vulnerability.
There will be unintended changes in the compiler behaviour when a different solidity version compiler is introduced (such as; bug fixes, patch updates or even new features) during compilation.
The severity is low.
Using a wide solidity pragma version can lead compilation issues and increase unreliablity of audits.
Manual code review.
Aderyn.
Introduce a specific version of Solidity in the following GivingThanks andCharity Register, such as;
src/CharityRegistry.sol
src/GivingThanks.sol
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.