Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: high

Private Key Leakage

Summary

Private Key Leakage in Makefile.

Vulnerability Details

The apparent and glaring error of private key exposure in the Makefile has resulted in the unauthorized transfer of funds from the account. If this account serves as the deployer or administrator of a contract, it signifies a catastrophic blow.

DEFAULT_ANVIL_KEY := 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80

Impact

Resulting in financial losses or a devastating impact on the contract.

Tools Used

vscode

Recommendations

Recommend using a test account or concealing the private key.

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.