The Solidity source file begins with an SPDX license identifier, a standard practice to declare the contract's licensing terms. The typo "Lincense" (instead of "License") renders the identifier invalid according to the SPDX specification (https://spdx.org/licenses/). While the contract executes normally, tools relying on accurate SPDX tags—such as Etherscan for source verification or automated license scanners—may fail to recognize the intended MIT license. This could require manual verification or delay deployment processes, and in rare cases, create uncertainty regarding intellectual property rights under the MIT terms.
Likelihood:
Low: The typo is easily detectable during code review or deployment preparation and can be quickly fixed.
More likely in automated deployments without pre-verification checks.
Impact:
Low: No runtime or security impact; primarily affects verification workflows and documentation clarity.
Potential for manual effort to resolve verification issues or legal clarification if disputed.
Attempt to verify the contract on Etherscan with the typo present, or use a tool like Hardhat to compile and check for warnings. The following steps demonstrate the issue:
Deploy the contract with the typo using Foundry:
Try to verify on Etherscan with the source code containing the typo.
Observe a parsing error or failure to recognize the license.
Setup: Deploy with the incorrect identifier.
Issue Demonstration: Verification fails or requires manual correction due to the invalid SPDX tag.
Result: The process highlights the need for a corrected identifier, confirming the typo’s impact on tooling.
No runtime test is needed, as the issue is static and tooling-related.
Correct the typo in the SPDX identifier to ensure proper license recognition and compatibility with verification tools.
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.