
APrieto034095 (Community Member) asked a question.
The dynamic scan has detected many CWE-209 (Information Exposure Through an Error Message) on JS lib files like common.min.js.
What should I do to prevent those?

APrieto034095 (Community Member) asked a question.
The dynamic scan has detected many CWE-209 (Information Exposure Through an Error Message) on JS lib files like common.min.js.
What should I do to prevent those?
Ask the Community
Get answers, share a use case, discuss your favorite features, or get input from the community.
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.
.png)
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Hi @APrieto034095 (Community Member) ,
From our Packaging Instructions for JavaScript or TypeScript:
> Veracode requires that you submit JavaScript as source code in a format readable by developers. Build steps that minify, obfuscate, bundle, or otherwise compress JavaScript significantly affect the quality of analysis results.
* https://help.veracode.com/reader/4EKhlLSMHm5jC8P8j3XccQ/AM8PAkQKwsHbNYXy2VeX5Q
I would recommend making sure that common.min.js is not present in the upload for Veracode Static Analysis.
Please let me know if you have any remaining questions or concerns.
Thank you,
Boy Baukema
Thanks for the responds @Boy, Security Consultant (Veracode) . I got those flaws from a dynamic analysis, so not sure how I could fix that issue
Sorry @APrieto034095 (Community Member) , I missed that this was on Veracode Dynamic Analysis results.
Veracode Dynamic Analysis will report any mention it finds of possible error or exception messages by looking through the page for values like "Exception".
We recommend reviewing the flaw within the Veracode Platform and using the flaw details there (particularly the "Original Value") to determining if this is indeed an Exception message or not.
If this is an exception or error message, we recommend that you disable Exception and/or detailed technical error messages for production environments.
If not, we recommend you mitigate the flaw as a Potential False Positive and have this mitigation proposal reviewed by your security team. You can find more on how to propose mitigations here: https://help.veracode.com/reader/DGHxSJy3Gn3gtuSIN2jkRQ/~p4MSKOS8F8X8h0KwFTKoQ .
Thank you,
Boy Baukema