ai-code-review

Scan code repositories for AI security issues and return severity-grouped findings.

7|2|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/kkmookhey/shasta --skill ai-code-review-kkmookhey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-code-review
Source: https://github.com/kkmookhey/shasta/tree/main/.claude/skills/ai-code-review
Command: npx skills add https://github.com/kkmookhey/shasta --skill ai-code-review-kkmookhey

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Performs a deep AI security review of a code repository to identify prompt injection risks, PII leakage in prompts, hardcoded credentials, and unguarded agent behavior, delivering prioritized, actionable findings.

Core Features & Use Cases

  • Plain-English explanations of Whitney findings and risk impact, with severity grouping.
  • Structured output that categorizes findings by criticality and provides concrete remediation steps.
  • Workflow integration: works with Whitney CLI (whitney scan --json) or the Python module fallback, for end-to-end scans across codebases.

Quick Start

Run Whitney to scan your repository and review the findings with this skill for prioritized, actionable remediation guidance.

Frequently Asked Questions about ai-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan my repository for prompt injection risks and PII leakage in AI prompts?

To scan for prompt injection risks and PII leakage, run Whitney via the CLI or Python module fallback against your codebase. The scan identifies AI security issues, returning severity-grouped findings with CWE and OWASP mappings for actionable remediation planning.

What is the best way to review code for hardcoded credentials and unguarded agent behavior?

The best way to review code for hardcoded credentials and unguarded agent behavior is to analyze your repository using an AI security scanner like Whitney. It generates structured findings categorized by criticality, providing plain-English explanations of risk impact and concrete remediation steps.

Can I use this AI security review tool if Whitney is not installed on my system?

Yes, you can use this AI security review tool if Whitney is not installed because it provides a Python module fallback path. This ensures you can still execute end-to-end scans across your codebase to detect AI security vulnerabilities without needing the Whitney CLI.

How does the code review tool map AI security findings to standard vulnerability frameworks?

The code review tool maps AI security findings to standard vulnerability frameworks by categorizing detected issues like prompt injection and hardcoded keys using CWE and OWASP mappings. This structured output groups findings by severity to prioritize your remediation workflow.

Does the Whitney scanner support analyzing single repositories or entire directories for AI risks?

Yes, the Whitney scanner supports analyzing both single repositories and entire directories for AI risks. You can run it using the command line or Python fallback to perform deep security scans and return severity-grouped findings for your remediation planning.