← Back to Tutorials

Security Scan Your Project

Learn how to use the Security agent to find vulnerabilities in your code.

Important

Only scan systems and code you own or have explicit authorization to test. Unauthorized security testing is illegal.

Step 1: Navigate to Your Project

Open your terminal and navigate to the project you want to scan:

$ cd /path/to/your/project

Step 2: Start HackLikeMe

Launch the HackLikeMe TUI:

$ hacklikeme

Step 3: Run a Security Scan

Ask the Security agent to scan your project:

General code review:

> scan this project for security vulnerabilities

Specific vulnerability check:

> check for SQL injection and XSS vulnerabilities in the API routes

Dependency audit:

> audit my npm dependencies for known vulnerabilities

Step 4: Review Results

The Security agent will analyze your code and report findings, including:

  • Vulnerability severity (Critical, High, Medium, Low)
  • Affected files and line numbers
  • Description of the issue
  • Recommended remediation steps

Step 5: Fix Issues

Ask HackLikeMe to help fix the identified issues:

> fix the SQL injection vulnerability in the user login function

Security Tools Available

The Security agent can use any security tool installed on your system:

nmaptsharkniktosqlmapburpowasp-zapmetasploithydra