
Source code scanning
Runs security reviews of source code, dependencies, secrets and suspicious code
Source code scanning is an open-source agent skill for security. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 641
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Source code scanning
This skill guides an agent through a security-focused review of a codebase or repository. It walks through identifying languages and package managers, running static analysis tools suited to each stack, checking dependency manifests and lockfiles for known CVEs, and scanning for hardcoded credentials. It also points the agent toward manual review of risky sinks such as exec, eval, query and deserialization calls, and checks for obfuscation, lifecycle script abuse and unexpected network calls.
The workflow is organized into phases with reference files that list commands per language and ecosystem, such as Semgrep, Bandit, gosec, Brakeman, npm audit, pip-audit, govulncheck, Trivy, TruffleHog and Gitleaks. Findings are rated against a CVSS-based severity table and are expected to carry CWE or CVE references, file and line locations, a proof of concept and remediation advice. Output is organized as one file per finding, raw tool output in an evidence folder and an executive summary.
The skill also includes a section for mobile app binaries (APK and IPA), covering extraction, framework detection for React Native, Flutter and Xamarin, and searching bundles and native libraries for secrets. It expects the agent to have shell access to run the referenced scanners, and it instructs the agent never to execute untrusted code during review.
When your agent uses it
Security-focused source code review and SAST. Scans for vulnerabilities (OWASP Top 10, CWE Top 25), CVEs in third-party dependencies/packages, hardcoded secrets, malicious code, and insecure patterns. Use when given source code, a repo path, or asked to "audit", "scan", "review" code security, or "check dependencies for CVEs".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 7 files (32 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/source-code-scanning to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/source-code-scanning &&
cp -R "$tmp/skills/source-code-scanning" ~/.claude/skills/source-code-scanning &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/source-code-scanning inside it instead.
Copy the skill folder to ~/.agents/skills/source-code-scanning to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/source-code-scanning &&
cp -R "$tmp/skills/source-code-scanning" ~/.agents/skills/source-code-scanning &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/source-code-scanning inside it instead.
Copy the skill folder to ~/.cursor/skills/source-code-scanning to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/source-code-scanning &&
cp -R "$tmp/skills/source-code-scanning" ~/.cursor/skills/source-code-scanning &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/source-code-scanning inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/transilienceai/communitytools.git --path skills/source-code-scanningOr copy the folder to ~/.gemini/skills/source-code-scanning yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/source-code-scanning:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/source-code-scanning &&
cp -R "$tmp/skills/source-code-scanning" ~/.copilot/skills/source-code-scanning &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/source-code-scanning inside it instead.
Get the folder:
git clone --depth 1 https://github.com/transilienceai/communitytools.gitThen copy communitytools/skills/source-code-scanning into your agent's skills folder as source-code-scanning. Agents that support SKILL.md read one folder per skill.
What it does
- Multi-language static analysis
- Runs SAST tools matched to the detected stack, including Semgrep, Bandit, gosec, Brakeman and CodeQL.
- Dependency vulnerability scanning
- Checks npm, pip, Maven, Go, Ruby and generic manifests against known CVEs.
- Hardcoded secrets detection
- Uses TruffleHog and Gitleaks to locate credentials and tokens in the file tree.
- Manual sink tracing
- Guides review of injection, deserialization, crypto and auth weak points.
- Malicious code checks
- Looks for obfuscated strings, lifecycle script abuse and suspicious network calls.
- Structured security report
- Produces per-finding files with CWE or CVE IDs, severity, PoC and remediation.
- Mobile binary analysis
- Covers APK and IPA extraction and secret hunting in React Native and native builds.
Good for
- Audit this repository for security vulnerabilities before a release
- Check the project's dependencies for known CVEs
- Scan the codebase for hardcoded API keys and tokens
- Review a Python service for injection and deserialization risks
- Look through a npm package for obfuscated or suspicious code
- Search an extracted APK bundle for leaked secrets
Source code scanning FAQ
Which tools does the skill rely on?
It references Semgrep, Bandit, ESLint security plugin, njsscan, SpotBugs with FindSecBugs, gosec, PHPCS Security Audit, Brakeman, CodeQL, npm audit, pip-audit, dependency-check, govulncheck, bundle audit, Trivy, Grype, TruffleHog and Gitleaks. You need to install whichever apply to your stack.
Does Source code scanning modify the code it reviews?
The skill instructs the agent never to execute untrusted code during review and to treat findings as potential until verified. It describes producing report files rather than patching code.
What output does Source code scanning produce?
It writes one markdown file per finding, raw tool output as JSON in an evidence folder, and a summary-report.md executive summary.
Does Source code scanning cover mobile apps?
Yes, it includes a section for APK and IPA analysis covering extraction, framework identification and searching for secrets.
How do I install Source code scanning in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/source-code-scanning to use it in all your projects, or to .claude/skills/source-code-scanning in one project.
Does Source code scanning run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Source code scanning?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Source code scanning?
The closest alternatives to Source code scanning are Security review, Security review, Security review, Security review edho ferdian and Skill scanner.
Where this comes from
- Description: from the skill's own SKILL.md.
More from transilienceai/communitytools

Guides an agent through authorized OWASP LLM Top 10 security tests of AI applications
- Open source
- 641 GitHub stars
- Security

Guides an agent through security testing of REST, GraphQL, WebSocket and LLM APIs
- Open source
- 641 GitHub stars
- Security

Chains confirmed single-asset findings into multi-hop attack paths across an organization
- Open source
- 641 GitHub stars
- Security

Obtains a logged-in session through MFA/OTP for later authenticated security testing
- Open source
- 641 GitHub stars
- Security

Guides an agent through authentication security testing: JWT, OAuth, 2FA, SAML and CAPTCHA
- Open source
- 641 GitHub stars
- Security

Guides an agent through Solidity smart contract security testing and blockchain CTF
- Open source
- 641 GitHub stars
- Security







