security-audit

Audit codebases for hardcoded secrets, file exposure, and injection risks.

1|Updated Dec 2, 2025
One-click install
npx skills add https://github.com/Junghyun99/StockAsset --skill security-audit-junghyun99
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-audit
Source: https://github.com/Junghyun99/StockAsset/tree/main/.claude/skills/security-audit
Command: npx skills add https://github.com/Junghyun99/StockAsset --skill security-audit-junghyun99

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the critical need to identify and mitigate security vulnerabilities within a codebase, preventing potential data breaches and system compromises.

Core Features & Use Cases

  • Secret Detection: Scans for hardcoded API keys, tokens, and passwords.
  • Sensitive File Protection: Verifies .gitignore and git history for sensitive files like .env and .pem.
  • Authentication & API Security: Reviews authentication mechanisms and API call security (e.g., HTTPS usage, token handling).
  • Log Exposure Check: Identifies potential leaks of sensitive information in logs.
  • Injection Risk Assessment: Checks for vulnerabilities related to command injection and insecure input handling.
  • Use Case: Before deploying new code, run this audit to ensure no secrets are exposed and that authentication mechanisms are robust, maintaining the integrity and security of the application.

Quick Start

Run a security audit on the current codebase to identify any vulnerabilities.

Frequently Asked Questions about security-audit

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

FAQPage Schema
How do I scan my codebase for hardcoded secrets and sensitive file exposure?

To scan code for security vulnerabilities like hardcoded secrets and sensitive file exposure, you can run a comprehensive security audit. This process analyzes source code files, git history, and configuration settings to detect exposed API keys, tokens, and unprotected `.env` or `.pem` files.

What does a source code security audit check for to prevent data exfiltration?

A security audit prevents data exfiltration by validating API usage, logging practices, and input validation. It identifies potential leaks of sensitive information in logs and checks for insecure authentication mechanisms to maintain application integrity and prevent system compromise.

How do I check my repository's git history for accidentally committed secrets?

Checking git history for committed secrets involves scanning past commits for hardcoded API keys, passwords, and tokens. The audit verifies `.gitignore` configurations and analyzes historical git data to ensure sensitive files like `.env` are not exposed in the repository.

Can I detect command injection risks and insecure input handling before deployment?

Yes, you can detect command injection risks and insecure input handling before deployment by running an injection risk assessment. This audit evaluates source code to identify vulnerabilities related to insecure input handling and potential command injection attacks.

Does the security audit review API security and authentication mechanisms in my code?

Yes, the security audit thoroughly reviews API security and authentication mechanisms. It analyzes API call security, including HTTPS usage and token handling, to ensure that authentication mechanisms are robust and compliant with security best practices.

When should I run a security vulnerability audit on my codebase?

You should run a security vulnerability audit before deploying new code to production. This ensures no secrets are exposed, validates that authentication mechanisms are robust, and verifies compliance with security best practices to prevent potential data breaches.