CWE-918: Built-in VM functions HTTPRequest() and HTTPPostJSON() in packages/smart/funcs.go pass contract-supplied URLs directly to http.NewRequest() with zero validation. Any contract deployer can scan internal networks of validator nodes. Fix: add URL validation with private IP blocking.
CWE-918: Built-in VM functions HTTPRequest() and HTTPPostJSON() in packages/smart/funcs.go pass contract-supplied URLs directly to http.NewRequest() with zero validation. Any contract deployer can scan internal networks of validator nodes. Fix: add URL validation with private IP blocking.