S4E allows you to create custom scan tools using natural language prompts through the AI Intelligence Studio. The AI generates scan code based on your description, which you can test in a sandbox environment before submitting for approval.

Note

AI-generated scans are not immediately available to all users. Each scan goes through an approval process before it becomes active in the platform.


AI Intelligence Studio

The AI Intelligence Studio is accessible from the AI Intelligence Studio button in the top-right corner of the application. It provides:

  • Smart Assistants -- AI-powered assistants for security analysis and solution recommendations (Security Analyst, Solution Advisor).
  • Generators -- Tools for generating custom scans (Scan Generator).
  • Models -- Pre-built AI models for specific detection tasks (e.g., Login Page Detector).

Creating an AI Scan

Step 1: Open the Scan Generator

  1. Click AI Intelligence Studio in the top-right corner.
  2. Under Generators, select Scan Generator.

Step 2: Describe Your Scan

In the prompt field, describe what you want your scan to check. Be as specific as possible. The AI will generate the scan code based on your description.

Example prompts:

  • "Can you write a code that checks if the hash of the logo on s4e.io has changed?"
  • "Please check my webpage availability."
  • "Can you write a code to functionally test the pagination of the 'Free Security Tools' table on https://s4e.io/free-security-tools"

You can also view your prompt History in the left sidebar, organized by month.

Step 3: Review the Generated Scan

After the AI generates the scan, you will see the following fields:

Field Description
Title Auto-generated name for the scan. You can edit it.
Max Score Severity level of the scan (e.g., Informational, Low, Medium, High, Critical) and a numeric score.
Scan Interval (Hour) How frequently the scan should run automatically (in hours).
Description Summary of what the scan does. Editable.
User Defined Labels Custom key-value tags to categorize your AI-driven scan.
Code Editor The generated scan code. Expand to view and edit the underlying logic.

Step 4: Test in Sandbox

Before submitting, test the scan in a safe environment:

  1. Click Try In Sandbox to open the AI Scan Tool Sandbox.
  2. The sandbox shows:
    • AI Code -- The generated scan code (expandable).
    • Asset (Optional) -- Select a verified asset to test against. If you do not select an asset, the default asset will be used.
  3. Click Run to execute the scan in the sandbox.
  4. Review the results in the Output section below.

Step 5: Submit for Approval

Once you are satisfied with the sandbox results:

  1. Click Save And Submit For Approval.
  2. The scan is saved with a Pending Approval status.
  3. An administrator will review the scan before it becomes available.

Approval Process

AI-generated scans require administrator review before they are deployed to the platform. This ensures quality, security, and relevance of custom scans.

Scan Statuses

Status Description
Created Scan has been saved but not yet submitted for approval.
Pending Approval Scan has been submitted and is awaiting administrator review.
Approved Scan has been reviewed and approved. It is now active and available.
Rejected Scan has been reviewed and rejected. Review the feedback and modify if needed.

Managing AI Scans

Administrators can view and manage all AI-generated scans from Manage > Create with AI in the left sidebar. The AI Based Scan Generator List page shows:

  • Title -- Name of the generated scan.
  • User Prompt -- The original prompt used to generate the scan.
  • Tags -- User-defined labels attached to the scan.
  • Max Score -- Severity level.
  • Status -- Current approval status.
  • Review Date -- When the scan was reviewed (if applicable).
  • Create Date -- When the scan was created.

Use the Search, Status, and Tags filters to find specific scans. Click Back to AI Based Scan Generator to return to the Scan Generator interface.