code-safety-audit

Scan Node.js and Python codebases for vulnerable dependencies, leaked keys, and OWASP anti-patterns.

12|2|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/haomingz/kimi-skills --skill code-safety-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-safety-audit
Source: https://github.com/haomingz/kimi-skills/tree/main/skills/code-safety-audit
Command: npx skills add https://github.com/haomingz/kimi-skills --skill code-safety-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Codebases often carry security risks from vulnerable dependencies, embedded secrets, and insecure patterns; this Skill automates detection to reduce exposure and audit effort.

Core Features & Use Cases

  • Dependency vulnerability scanning for Node.js and Python projects
  • Secrets detection using regex and entropy analysis
  • OWASP pattern detection for common insecure coding practices
  • Use case: run the scanner before deployment to generate a safety report for a codebase

Quick Start

Run the scanner on a project directory to detect dependencies, secrets, and OWASP patterns.

Frequently Asked Questions about code-safety-audit

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

FAQPage Schema
How do I scan my codebase for leaked secrets and vulnerable dependencies?

To scan a codebase for leaked secrets and vulnerable dependencies, run the scanner on a project directory to detect risky package manifests, embedded keys, and insecure patterns, generating a safety report.

What is entropy analysis used for in secret detection?

Entropy analysis in secret detection identifies high-randomness strings in source files that likely represent leaked API keys or tokens, complementing standard regex pattern matching to uncover hidden secrets.

Does this static analysis tool support Python and Node.js projects?

Yes, the static analysis tool supports Python and Node.js projects by analyzing package manifests and source files, and it can be extended to other languages for comprehensive code security auditing.

Can I output the security audit results to JSON for CI/CD pipelines?

Yes, you can output security audit results to JSON or stdout, enabling seamless integration into CI/CD pipelines to automate code safety checks before deployment.

How does the scanner detect OWASP anti-patterns in source code?

The scanner detects OWASP anti-patterns by analyzing source files and configuration against built-in rules for common insecure coding practices, reducing manual audit effort and exposure risks.

What's the best way to automate code security auditing before deployment?

The best way to automate code security auditing before deployment is running a scanner that checks for vulnerable dependencies, leaked keys, and OWASP anti-patterns, outputting a safety report to stdout or JSON.