Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
glasgo — Go static analysis tool that checks for security issues using an AST. | Kitploit
Tools/GitHubGitHub/nccgroup/glasgo
Static Code Analysis (SAST)Vulnerability AnalysisCode Analysis
GitHubnccgroup/glasgo

glasgo

Go static analysis tool that checks for security issues using an AST.

View Repository
29417 years agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Glasgo Static Analysis Tool

This project's official repository has been moved to Github-ttarvis/glasgo.

Project

This is a static analysis tool written in Go for Go code. It will find security and some correctness issues that may have a security implication.

Compiling

To compile the tool, be sure to have the Go compiler first.

  1. Use Go build for a local binary
  2. Use Go install to compile and install in Go Path

Using the tool

For now, all tests are run.

root@kitploit:~
Glasgo directory1, directory2

or

root@kitploit:~
Glasgo file1.go, file2.go

Note: The tool does not run on both directories and individual files

Architecture

tbd

Tests

  • error - errors ignored
  • closer - no file.Close() method called in function with file.Open()
  • insecureCrypto - insecure cryptographic primitives
  • insecureRand - insecurely generated random numbers
  • intToStr - integer to string conversion without calling strconv
  • readAll - ioutil.ReadAll called
  • textTemp - checks if HTTP methods and template/text are in use

Design Choices

see the wiki

Updates

Initial wave of tests have been uploaded and checked on test data

More tests to come

to do

  • add tests
  • document tests
  • document design choices
Download Tool