New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

qlscan

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qlscan

A zero-setup CodeQL pre-commit scanner for JavaScript/TypeScript.

latest
Source
npmnpm
Version
0.0.47
Version published
Weekly downloads
28
600%
Maintainers
1
Weekly downloads
 
Created
Source

QLScanner

A cross-platform CLI (Node.js) that bundles and manages CodeQL for pre-commit scanning of JavaScript.

Overview

QLScanner is a zero-setup security scanning tool that integrates CodeQL analysis into your JavaScript/TypeScript development workflow. It automatically manages CodeQL installation, query packages, and provides clear, actionable security reports.

Features

  • Zero-setup required - automatically manages CodeQL installation
  • Pre-configured security scanning for JavaScript/TypeScript
  • Automatic query pack management
  • Clear, readable Markdown reports
  • Pre-commit integration ready
  • Optimized performance with multi-threading
  • Uses official CodeQL security and quality query suite

Installation

npm install -g qlscan

Usage

Run a security scan in your JavaScript/TypeScript project:

qlscan scan

The tool will:

  • Set up CodeQL if not already installed
  • Download and manage required query packages
  • Create and analyze a CodeQL database
  • Generate a detailed security report in your project root

Requirements

  • Node.js 22.x or higher
  • Git installed and available in PATH
  • Read/write permissions for the project directory

How It Works

QLScanner simplifies the CodeQL setup and scanning process by:

  • Managing the CodeQL CLI installation
  • Handling query pack downloads and updates
  • Creating and analyzing CodeQL databases
  • Converting complex results into readable reports
  • Maintaining a clean project structure with .gitignore integration

Output

Scan results are saved in codeql-results.md in your project root, containing:

  • Summary of findings
  • Detailed vulnerability descriptions
  • File locations and line numbers
  • Severity levels
  • Actionable fix suggestions

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

ISC License

Author

Henrique Costa

Keywords

codeql

FAQs

Package last updated on 25 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts