Scan

by AikidoSec02f018ad4da1No license14 starsListed Oct 7, 2026Updated Oct 7, 2026Repository updated 12 days ago

Runs an Aikido security scan on generated, added, or modified code files to detect SAST vulnerabilities and exposed secrets. Use when the user wants to scan code for security issues, after writing or modifying code, or when they mention Aikido, security scan, or SAST. Always run an Aikido scan after generating code to verify the generated code is free of security issues.

Instructions onlySecurity
AI-generated overview

Runs Aikido security scans on generated or modified code to find SAST vulnerabilities and exposed secrets.

What it does
This skill instructs an agent to run Aikido security scans on files that were generated, added, or modified in a session. It directs the agent to use the Aikido MCP scan tools, explain any findings with severity and location, apply remediation, and re-scan to verify fixes. It also defines a stopping rule for the fix-and-rescan loop and asks for a final report to the user.
When to use it
Use it when the user wants code scanned for security issues, after writing or modifying code, or when Aikido, security scan, or SAST is mentioned. It is also intended to be run after generating code to verify it is free of security issues.
Requirements
Requires the Aikido MCP server with its scan tools; if unavailable, the user is told to install it using the setup guide in reference.md. No scripts are shipped; the skill is instructions only.

When scanning the code for security vulnerabilities using the Aikido MCP server:

  1. Identify all files that were generated, added, or modified in this session (or that the user has mentioned).
  2. Prefer aikido-mcp:aikido_scan_paths whenever the files exist on disk (files you just wrote/edited, files reported by git status/git diff, files the user points at). Pass the file paths (absolute, or relative to a root you provide) — do not read the files first, the server reads them itself, so passing content would only waste context. Only fall back to aikido-mcp:aikido_full_scan for code that is not saved to disk yet (a proposed diff, a pasted snippet, freshly generated code you haven't written out) — for that tool, read each file's full content and pass it along.
  3. Stay within the 50-file limit per request for either tool — batch into multiple calls if needed.
  4. If any security issues are found:
    • Explain each issue clearly: title, description, severity, file location, and line numbers.
    • Apply fixes guided by the remediation provided by Aikido.
    • After applying all fixes, re-run the same tool (aikido-mcp:aikido_scan_paths for on-disk files, aikido-mcp:aikido_full_scan otherwise) to verify that the issues were resolved and no new issues were introduced.
    • Stopping the loop: If you can explain why the applied fix is safe (e.g. the fix correctly addresses the finding and the remaining scan output is a false positive or acceptable), you may stop and report to the user. Otherwise, repeat the fix-and-rescan cycle up to 3 attempts; if issues remain after that, report them to the user instead of continuing.
  5. Report the final scan result to the user — confirm all clear or list any unresolved issues with explanation.

If the Aikido MCP server is not available or fails to start, inform the user:

The Aikido MCP server is required for security scanning but is not available. Install it following the setup guide at reference.md [blocked].

Source and attribution

Source:AikidoSec/aikido-claude-plugininskills/scanat commit02f018a

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal