LastHash Logo
Security Guidance

Intelligent Remediation

Actionable fix instructions for every security issue. From problem identification to complete resolution.

Problem → Fix Workflow

Every security issue comes with clear remediation steps

1

Problem Identification

Scan identifies the security issue with detailed context, severity, and impact explanation.

2

Risk Explanation

Clear description of what the vulnerability means, why it's dangerous, and how attackers exploit it.

3

Step-by-Step Fix

Detailed remediation instructions with commands, configuration examples, and screenshots.

4

Verification

Re-scan to verify the fix was successful and the vulnerability is resolved.

Example: Fixing Missing CSP Header

See how we guide you through security fixes

Medium

Missing Content-Security-Policy Header

Your website does not set the Content-Security-Policy (CSP) header.

What This Means

The Content-Security-Policy header helps prevent Cross-Site Scripting (XSS) attacks, clickjacking, and other code injection attacks.

Risk: Without CSP, attackers can inject malicious scripts that steal user data, hijack sessions, or deface your website.

How to Fix

For Apache (.htaccess)

# Add to your .htaccess file
Header set Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'"

For Nginx

# Add to your nginx.conf or server block
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'";

For WordPress (Plugin)

Install the "Security Headers" plugin or add via functions.php:

add_action('send_headers', function() {
  header("Content-Security-Policy: default-src 'self'");
});

Verify the Fix

  1. Save your changes and restart your web server
  2. Open your browser's Developer Tools (F12)
  3. Go to the Network tab and refresh your site
  4. Check the Response Headers for "content-security-policy"
  5. Run another LastHash scan to confirm the issue is resolved

Remediation Features

Comprehensive guidance for every security issue

Code Examples

Copy-paste ready code snippets and configuration examples for quick fixes.

Platform-Specific Guides

Tailored instructions for WordPress, Laravel, Apache, Nginx, and more.

External References

Links to official documentation, CVE details, and security best practices.

Verification Steps

Clear instructions to verify fixes were applied correctly.

Prevention Tips

Recommendations to prevent similar issues from occurring in the future.

Priority Guidance

Recommended fix order based on severity and impact.

Common Security Fixes

Quick reference for frequent security issues

Update WordPress Core

Fix outdated CMS vulnerabilities

Add Security Headers

CSP, X-Frame-Options, HSTS configuration

Remove Malware Files

Clean infected files and backdoors

Secure Admin Panel

IP restrictions and 2FA setup

Update SSL Certificate

Renew expiring certificates

Disable Directory Listing

Prevent file structure exposure

Get Actionable Fix Instructions

Every security issue comes with clear remediation guidance