source-code-scanning
Security-focused source code review and SAST.
Skill by transilienceai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/transilienceai-source-code-scanning
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/source-code-scanning
What's inside
- Skill name
source-code-scanning- Description
- 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".
- License
- MIT
- Instructions
- 111 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: assets/index.android.bundle
Files (7)
- SKILL.md
- dependency-cve-scanning.md · reference/
- language-patterns.md · reference/
- malicious-code.md · reference/
- manual-review.md · reference/
- sast-tools.md · reference/
- secrets-detection.md · reference/
SKILL.md (first lines)
# Source Code Security Review
## Quick Start
1. **Identify** - languages, frameworks, package managers present
2. **Automated SAST** - run tools appropriate to the stack
3. **Dependency CVEs** - scan lockfiles/manifests for known CVEs
4. **Secrets scan** - detect hardcoded credentials/tokens
5. **Manual review** - trace high-risk sinks (exec, eval, query, deserialize)
6. **Malicious code** - check for backdoors, obfuscation, suspicious network calls
7. **Report** - findings with CWE/CVE refs, severity, PoC, remediation
## Workflow
### Phase 1: Enumerate
```
- Languages: ls **/*.{py,js,ts,java,go,rb,php,cs,rs}
- Packages: find package.json, requirements.txt, go.mod, pom.xml, Gemfile, composer.json, Cargo.toml
- Entry points: main(), index.*, app.*, server.*
- Config files: .env*, config.*, settings.*, *.yaml, *.toml
```
### Phase 2: Automated SAST
See [sast-tools.md](reference/sast-tools.md) for commands per language.
Key tools:
- **Multi-language**: Semgrep (`semgrep --config=auto .`)
- **Python**: Bandit (`bandit -r . -f json`)
- **JavaScript/TS**: ESLint security plugin, njsscan
- **Java**: SpotBugs + FindSecBugs
- **Go**: gosec (`gosec ./...`)
- **PHP**: PHPCS Security Audit
- **Ruby**: Brakeman (`brakeman -o report.json`)
- **All**: CodeQL (via `gh codeql`)
### Phase 3: Dependency CVE Scan
See [dependency-cve-scanning.md](reference/dependency-cve-scanning.md) for commands.
| Ecosystem | Command |
|---|---|
| npm/yarn | `npm audit --json` / `yarn audit` |
| Python | `pip-audit -r requirements.txt` |
| Java | `dependency-check --scan .` |
| Go | `govulncheck ./...` |
| Ruby | `bundle audit` |
| Generic | `trivy fs .` / `grype dir:.` |
### Phase 4: Secrets Detection
See [secrets-detection.md](reference/secrets-detection.md).
```bash
trufflehog filesystem . --json
gitleaks detect --source . -v
```
### Phase 5: Manual Review
Focus on high-risk sinks — see [manual-review.md](reference/manual-review.md):
- Injection sinks: `exec`, `eval`, `query`, `system`, `popen`
- Deserialization: `pickle.loads`, `ObjectInputStream`, `unserialize`
- Crypto: hardcoded keys, weak algorithms (MD5, SHA1, DES, ECB)
- Auth: JWT validation, session management, RBAC enforcement
- File ops: path construction with user input
### Phase 6: Malicious Code
See [malicious-code.md](reference/malicious-code.md):
- Obfuscated strings (base64, hex, charCode)
- Unexpected network calls in library code
- Typosquatting indicators
- Postinstall/lifecycle script abuse
- Hidden backdoors in dependencies
## Language-Specific Patterns
See [language-patterns.md](reference/language-patterns.md) for Python, JS, Java, Go, PHP, Ruby.
## Severity Mapping
| Severity | CVSS | Examples |
|---|---|---|
| Critical | 9.0+ | RCE, SQLi with exfil, auth bypass |
| High | 7.0-8.9 | Stored XSS, SSRF, insecure deserialization |
| Medium | 4.0-6.9 | Reflected XSS, info disclosure, IDOR |
| Low | 0.1-3.9 | Missing headers, verbose errors |
## Output Format
```
findings/
<severity>-<vuln-type>-<location>.md # One file per finding
evidence/
<tool>-output.json # Raw tool output
summary-report.md # Executive summary
```
Each finding: CWE/CVE ID | File:Line | Severity | PoC | Remediation
## Mobile App Analysis (APK/IPA)
When given a mobile app binary:
1. **Extract**: `unzip app.apk -d extracted/` (APKs are ZIP archives)
2. **Identify framework**: React Native (`assets/index.android.bundle`), Flutter (`libflutter.so`), Xamarin, or native
3. **React Native**: JS bundle is plaintext — search for secrets, API keys, config objects, hardcoded tokens
4. **Encoded secrets**: Search for base64 prefixes of known flag/secret formats (e.g., `RkxBR` = base64 of `FLAG`). Config objects often store secrets as base64 in `debug`, `secret`, `apiKey` fields
5. **Native**: Use `jadx` for Java/Kotlin decompilation, check `AndroidManifest.xml`, `strings.xml`, `BuildConfig`
6. **Shared libs**: Check `.so` files with `strings` for hardcoded credentials
## Critical Rules
- Never execute untrusted code during review
- Treat all findings as potential until verified
- Always cross-reference CVEs against actual version in use
- Report supply chain issues separately (they affect all users)From transilienceai/communitytools, MIT.
More from transilienceai/communitytools
- 0.764score
mobile-security
transilienceai
Mobile application security testing (Android + iOS) mapped to OWASP MASVS/MASTG — static reversing (Flutter AOT, Unity IL2CPP, React Native/Hermes, native…
SkillBFreshness: B★ 591Claude Code +9 - 0.764score
pentest-engagement
transilienceai
Run a professional penetration engagement OR a network vulnerability scan from a scope.
SkillBFreshness: B★ 591Claude Code +9 - 0.764score
firewall-review
transilienceai
Evidence-safe firewall ruleset audit reference specification — 22 documented detector patterns (17 vendor-agnostic plus 5 FortiGate-specific), a 15-check…
SkillBFreshness: B★ 591Claude Code +9 - 0.761score
coordination
transilienceai
Pentest coordination — orchestrates executor and validator agents with context-controlled spawning.
SkillBFreshness: B★ 591Claude Code +9 - 0.761score
transilience-report-style
transilienceai
Generate a Transilience-branded PDF report (pentest, vuln assessment, compliance, threat intel) from a single findings JSON using the bundled ReportLab…
SkillBFreshness: B★ 591Claude Code +9 - 0.761score
ai-threat-testing
transilienceai
Offensive AI security testing and exploitation framework.
SkillBFreshness: B★ 591Claude Code +9 - 0.760score
skill-update
transilienceai
Skill creation, update and management — generates skill directory structure, validates against best practices, enforces line count limits.
SkillBFreshness: B★ 591Claude Code +9 - 0.757score
hackthebox
transilienceai
HackTheBox platform operations and automations to solve challenges, machines and capture the flags hacking competitions
SkillBFreshness: B★ 591Claude Code +9 - 0.757score
cloud-containers
transilienceai
Cloud and container security testing - AWS, Azure, GCP, Docker, and Kubernetes misconfigurations and exploitation.
SkillBFreshness: B★ 591Claude Code +9 - 0.707score
authenticated-session-acquisition
transilienceai
Acquire an authenticated session THROUGH MFA/OTP on an in-scope target and emit a reusable session artifact (Playwright storageState + Bearer) so executors…
SkillCFreshness: C★ 591Claude Code +9 - 0.707score
pci-secure-software
transilienceai
Automated PCI Secure Software Standard (SSS) v2.0 readiness gap-assessment of an application from its source code and documentation.
SkillCFreshness: C★ 591Claude Code +9 - 0.707score
network-appliance-offensive
transilienceai
Offensive testing of perimeter network appliances and VPN crypto — IKE/IPsec (aggressive-mode, transform/DH enum, NAT-T), Check Point SIC/OPSEC, safe…
SkillCFreshness: C★ 591Claude Code +9
Signals
- Stars
- 591
- Forks
- 83
- Open issues
- 10
- Last commit (this folder)
- Jun 9, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/transilienceai/communitytools
- Website
- www.transilience.ai/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from transilienceai
- 0.764score
mobile-security
transilienceai
Mobile application security testing (Android + iOS) mapped to OWASP MASVS/MASTG — static reversing (Flutter AOT, Unity IL2CPP, React Native/Hermes, native…
SkillBFreshness: B★ 591Claude Code +9 - 0.764score
pentest-engagement
transilienceai
Run a professional penetration engagement OR a network vulnerability scan from a scope.
SkillBFreshness: B★ 591Claude Code +9 - 0.764score
firewall-review
transilienceai
Evidence-safe firewall ruleset audit reference specification — 22 documented detector patterns (17 vendor-agnostic plus 5 FortiGate-specific), a 15-check…
SkillBFreshness: B★ 591Claude Code +9 - 0.761score
coordination
transilienceai
Pentest coordination — orchestrates executor and validator agents with context-controlled spawning.
SkillBFreshness: B★ 591Claude Code +9 - 0.761score
ai-threat-testing
transilienceai
Offensive AI security testing and exploitation framework.
SkillBFreshness: B★ 591Claude Code +9 - 0.761score
transilience-report-style
transilienceai
Generate a Transilience-branded PDF report (pentest, vuln assessment, compliance, threat intel) from a single findings JSON using the bundled ReportLab…
SkillBFreshness: B★ 591Claude Code +9
Cite this page
source-code-scanning skill. Agent Mart. https://agentmart.dev/skills/transilienceai-source-code-scanning (last updated 2026-10-24)