Cyber Risks · Trail of Bits Blog

Read code like a pro with our we Audit VSCode extension

Summary: Trail of Bits released weAudit, a VSCode extension it uses during its own security audits to bookmark, annotate, and track bugs directly in a codebase, installable through the VSCode marketplace with code in its vscode-weaudit repo. The extension supports two bookmark types, findings and notes, marks files containing findings with a "!" annotation, marks reviewed files with a checkmark via the "weAudit: Mark File as Reviewed" command (Cmd + 7), and prefills a GitHub issue template with a finding's title, severity, difficulty, description, exploit scenario, and recommendations.

Bottom line: Trail of Bits built this because off-the-shelf tools like the Bookmarks extension were missing features its engineers considered crucial, and it shares findings by passing .vscode folder files to co-auditors. The same firm has published posts on escaping misconfigured and well-configured VSCode extensions, so the tooling your reviewers install inside the editor is itself part of the attack surface.

Read the original at Trail of Bits Blog ↗