skills/skills.volces.com/Concurrency Audit

Concurrency Audit

Installation
SKILL.md

phy-concurrency-audit

Static scanner for race conditions (CWE-362) and TOCTOU vulnerabilities (CWE-367) in Go, Java, Python, and Node.js/TypeScript codebases. Finds shared-state mutations without synchronization, unsafe concurrency patterns, and check-then-act anti-patterns. Zero external API calls, zero dependencies beyond Python 3 stdlib.

Why Concurrency Bugs Are Special

  • Non-deterministic: reproduce only under load, on multi-core machines, or on specific OS schedulers
  • Silent corruption: data races don't crash immediately — they corrupt state silently for hours
  • Security impact: TOCTOU races in file ops enable symlink attacks and privilege escalation (CWE-367)
  • Hard to test: even go test -race only finds races that actually execute during the test run
  • Static analysis catches the ones that never trigger in testing

What It Detects

Installs
3
First Seen
Apr 23, 2026
Concurrency Audit from skills.volces.com