I am getting a Veracode Information Exposure
via Sent Data
flaw. My code is:
String companyName = System.getProperty(EPMIConstants.COMPANY_NAME);
This System.getProperty(EPMIConstants.COMPANY_NAME)
gets its value from a JVM argument hardcoded in the server itself.
The variable companyName
causes this flaw.
Can someone please tell me how to avoid this flaw?