Audit extensions for code execution

Remote code execution (RCE)Discovery

Written with a model's help from “Supply Chain Security Analysis of a 9.5M-Install VS Code Extension” on ProjectDiscovery. Read the writeup before relying on it.

Check extensions for vulnerabilities that allow code execution, such as rendering bugs that can turn a file into executable code. This can be done by auditing the extension's code and testing its rendering functionality with specially crafted files. For example, test a Markdown preview extension with a Markdown file that contains malicious code. If the extension executes the code, it may be vulnerable to arbitrary code execution. Use tools like Neo to automate the auditing process and identify potential vulnerabilities.

Follow #rce, #supply-chain or #vs-code for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.