Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Insecure Deserialization DetectorNew to Visual Studio Code? Get it now.
Insecure Deserialization Detector

Insecure Deserialization Detector

Noon Developers

|
3 installs
| (1) | Free
Detects insecure deserialization, code injection, and command injection vulnerabilities in Python code (CWE-502, CWE-95, CWE-78) using AST analysis.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Insecure Deserialization Detector

Detects insecure deserialization vulnerabilities in Python code using AST analysis.

What It Detects

  • pickle.loads() / pickle.load() — CWE-502 HIGH
  • marshal.loads() — CWE-502 HIGH
  • yaml.load() — CWE-502 MEDIUM (use yaml.safe_load instead)
  • jsonpickle.decode() — CWE-502 HIGH
  • dill.loads() — CWE-502 HIGH
  • eval() / exec() — CWE-95 HIGH
  • Import aliases: import pickle as pk → pk.loads() still caught
  • From-imports: from pickle import loads → loads() still caught

Requirements

  • Python 3.7+ must be installed
  • Set insecureDeserializationDetector.pythonPath in settings if Python is not on PATH

Usage

  • Open any .py file — scanning happens automatically on open and save
  • Right-click in editor → Scan for Insecure Deserialization
  • Command Palette → Security: Scan Workspace for Insecure Deserialization

Settings

Setting Default Description
pythonPath python Path to Python interpreter
scanOnSave true Scan on file save
scanOnOpen true Scan on file open
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft