Information disclosure occurs when applications reveal sensitive information through error messages, debug output, or metadata that attackers can use for reconnaissance.
Scan for This VulnerabilityApplications often leak information that helps attackers understand the system - stack traces revealing framework versions, error messages exposing database structure, headers showing server software, or API responses including internal IDs. This information aids in crafting targeted attacks.
Easier vulnerability discovery for attackers
Database structure revelation
Technology stack identification
Internal path and configuration exposure
Don't expose internal details to users.
// BAD
return res.status(500).json({
error: "PostgreSQL error: column 'user_id' not found in table 'users'"
});
// GOOD
return res.status(500).json({
error: "An error occurred. Please try again."
});Ensure debugging features are off.
// Next.js - check NODE_ENV
if (process.env.NODE_ENV === 'production') {
// Production settings
}Hide technology information from responses.
// Next.js
module.exports = {
poweredByHeader: false,
}VAS automatically scans for information disclosure and provides detailed remediation guidance.
Run Security Scan