本文へスキップ
TakoAPI
スキル一覧に戻る

audit-code

itsnishi 作

CLI Utilities
1.9kダウンロード数はclawskills.shが公開している値です
2スター
0閲覧数
0件のいいねサインインするとこのスキルにいいねできます
—まだ評価がありません
あなたの評価

概要

Security-focused code review for hardcoded secrets, dangerous calls, and common vulnerabilities.

説明

このスキルでできること

Runs a Python-based static analysis script against a project directory to surface security issues. Checks for hardcoded secrets, dangerous function calls, SQL injection patterns, sensitive committed files, and data exfiltration patterns. Produces a severity-ranked report with file locations and remediation steps.

Combines multiple vulnerability categories (secrets, dangerous calls, SQL injection, exfiltration) into a single automated pass instead of running separate tools for each concern.

使いどころ

  • Scanning a codebase before opening a pull request
  • Reviewing AI-generated code for accidentally embedded secrets
  • Auditing third-party contributions before merging
  • Checking for .env files accidentally committed to git
  • Running a periodic security sweep on a growing codebase

ワークフロー例

入力

User asks: audit the src/ directory for security issues

エージェント
  1. 1

    Resolve the target path to src/ within the project root

  2. 2

    Run audit_code.py against src/

  3. 3

    Parse the structured output for severity-ranked findings

  4. 4

    Report file locations and remediation steps for each finding

出力

A ranked list of findings, such as a hardcoded AWS key in config.js (high severity) and a subprocess shell=True call in deploy.py (medium severity), each with remediation guidance

インストール

clawhub install itsnishi/audit-code

CLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。

リンク