The test suite includes a function named testPwned()
, which executes arbitrary commands on the user's machine. This presents a significant security risk, as such commands could potentially extract sensitive data, establish a reverse shell for remote control, search for passwords, or install malware.
Malicious has been injected in final test file, it looks inoffensive as it just creates a file but in some case, it can make more dangerous actions without user intention.
More impact, scenario is demonstrated in the following proof of concept, where the user's API key could be compromised:
This issue is categorized as HIGH due to the direct risk it poses to funds and sensitive information.
Foundry & manual review
Always exercise caution before running third-party programs on your system. Ensure you understand the functionality of any command or script to prevent unintended consequences, especially those involving security vulnerabilities.
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.