← ClaudeAtlas

aka-scanlisted

Scan working-tree source files for code security flaws
akasecurity/ai-tc · ★ 10 · AI & Automation · score 72
Install: claude install-skill akasecurity/ai-tc
# AKA scan ## Single-repo scan (default) Run the worktree scan script and show the user its output **exactly as printed**. The script already prints its content inside a Markdown code fence — reproduce that verbatim and do **not** add another code fence, strip the fence, or reformat it. The fence is required: it is space-aligned monospace that Markdown would otherwise collapse. ```bash node "${PLUGIN_ROOT}/scripts/filescan.js" --dir "${PWD}" ``` This scans all source files (`.ts`, `.js`, `.py`, `.java`, `.rb`, `.cs`, `.go`, `.rs`, `.php`, and more) under the current project directory for insecure code patterns — SQL injection, command injection, XSS, insecure deserialization, weak cryptography, hardcoded credentials, dev-mode configuration leaks, and other OWASP Top 10 issues. Results are recorded to the local store (`~/.aka/data/aka.db`) and are visible via the aka-findings skill. Re-running this scan is safe — files whose content has already been recorded are skipped. Files excluded by the repo's `.gitignore` are **still scanned** — local scratch and generated files are a common place for real secrets to hide — but their findings are marked as coming from gitignored content and reported as informational in the summary. To exclude paths from scanning entirely, add a `.akaignore` file (gitignore syntax, any directory level). Unlike `.gitignore`, `.akaignore` is a **hard skip**: matching files are never read and produce no findings. A negation also re-includes a directo