source-code-scanning

Scan source code and dependencies for vulnerabilities, secrets, and malicious code.

Updated May 27, 2026
One-click install
npx skills add https://github.com/hoanghn61/.agents --skill source-code-scanning-hoanghn61
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: source-code-scanning
Source: https://github.com/hoanghn61/.agents/tree/main/skills/source-code-scanning
Command: npx skills add https://github.com/hoanghn61/.agents --skill source-code-scanning-hoanghn61

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Security-focused source code scanning eliminates the guesswork behind vulnerable code, exposed credentials, and risky dependency versions before deployment.

Core Features & Use Cases

  • Automated SAST across languages: Detects common security weaknesses using tools like Semgrep, Bandit, gosec, Brakeman, and CodeQL for multi-language projects.
  • Dependency CVE scanning: Identifies known vulnerabilities in third-party packages via ecosystem-native audits plus universal scanners like Trivy/Grype.
  • Secrets and malicious-code detection: Locates hardcoded credentials/tokens and flags suspicious patterns that may indicate backdoors or supply-chain tampering.

Quick Start

Run a multi-language security scan on your repository path to generate findings and an executive summary report.

Frequently Asked Questions about source-code-scanning

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

FAQPage Schema
How do I scan source code for vulnerabilities and hardcoded secrets before deployment?

Security-focused static analysis uncovers vulnerabilities, hardcoded secrets, and malicious code by orchestrating SAST tools like Semgrep, secrets detectors like TruffleHog, and dependency CVE scanners to produce structured findings and an executive summary report.

What is the best way to check dependencies for known CVEs across different package ecosystems?

Checking dependencies for known CVEs across different package ecosystems uses ecosystem-native audits like pip-audit, npm audit, and govulncheck, with Trivy or Grype as fallback to identify vulnerable third-party package versions.

Can I detect malicious code and supply-chain tampering in open-source repositories?

Detecting malicious code and supply-chain tampering in open-source repositories involves flagging suspicious patterns that indicate backdoors or supply-chain tampering, combining secrets detection with manual review mapping to CWE Top 25 during incident or bounty recon.

Does static analysis support multi-language projects for security scanning?

Static analysis supports multi-language projects for security scanning by detecting common security weaknesses using tools like Semgrep, Bandit, gosec, Brakeman, and CodeQL across various programming languages within the same repository.

How are security findings mapped to severity during a local repository audit?

Security findings during a local repository audit are mapped to severity using CVSS scores and the CWE Top 25 list, producing structured findings and evidence artifacts that help prioritize remediation of detected vulnerabilities.