Visual Basic code security

Visual Basic 6 and VBA static code analysis

Find security flaws in Visual Basic 6 and VBA code: SQL and command injection, path manipulation, hardcoded passwords and keys, weak cryptography, information leaks and backdoors. Visual Basic findings land in the same platform and report as the rest of your applications.

Fix advice
Every finding with severity, fix recommendation and code location
43
languages in one platform, from Visual Basic 6 and VBA to VB.NET
On-premise
or air-gapped: source and findings stay on internal servers

In short

DerScanner is a static application security testing (SAST) tool that scans Visual Basic 6 and VBA code. Each dialect has its own rules in the DerScanner vulnerability database, and most of them map to CWE, OWASP Top 10 and PCI DSS 4.0.

The rules cover SQL and command injection, path and resource manipulation, hardcoded and empty passwords and keys, weak cryptography, information leaks and undocumented features such as special accounts and time bombs. Each finding comes with a severity, a description, a fix recommendation and the code location.

DerScanner runs on-premise, in air-gapped networks or in the cloud. VBScript and VB.NET are also supported; SCA covers VB.NET only.

What the Visual Basic rules check

Visual Basic 6 and VBA share most rule names, so each check below links to the rule page for each dialect that has it, with its own severity.

Injection and input handling

SQL and command injection, path and resource manipulation, header and setting manipulation, cross-site scripting and unsafe file upload.

Secrets and cryptography

Passwords and keys written into the code, empty or short keys, unsafe padding, and weak encryption, hashing and random numbers.

Backdoors and undocumented features

Special accounts, hidden functionality, time bombs and unexpected network activity.

Information leaks, web and data access

External and internal information leaks, plain HTTP, cookie scope and transport, cross-origin policy and database access control.

Other checks

See all rules in the vulnerability database for Visual Basic 6

See all rules in the vulnerability database for VBA

Where Visual Basic code runs

Visual Basic 6 and VBA code often outlives its authors: desktop line-of-business systems in one case, office documents and spreadsheets used for reporting, pricing and data exchange in the other.

Both often connect to databases and file shares with credentials kept in the code, so injection and hardcoded secrets lead the rule list.

Rare and legacy language support in DerScanner

One scan with the rest of your code

Visual Basic 6 and VBA, as well as VBScript and VB.NET, are among the 43 languages in DerScanner. Legacy Visual Basic code and newer services can be scanned in the same platform, with one severity scale and one report format.

Scans run from the web interface, the CLI or a CI/CD integration, and the reports cover standards such as OWASP Top 10, PCI DSS and CWE.

How SAST works in DerScanner

Questions buyers ask about Visual Basic 6 and VBA static code analysis

Try DerScanner on your own code, free

Scan your own Visual Basic 6 and VBA code and see what DerScanner finds in it.

Request a free pilot. We give you access and help with the first scan. It works in the cloud and on-premise.

Want to describe your project first? Take the 2-minute PoC survey

Get Started

Make Your Applications
Secure Today

Sign up for a personalized demo to see
how DerScanner can meet your Application Security needs

dashboard