Capslock is a command-line tool for analyzing the capabilities of Go packages to reveal what privileged operations their code and dependencies can perform. Rather than detecting vulnerabilities, Capslock focuses on identifying capabilities — permissions implied by calls to sensitive or privileged standard library functions, such as file system access, networking, or process control. By following transitive call graphs, it classifies which security-sensitive operations each package can reach, giving developers visibility into what their dependencies are capable of doing. This helps apply the Principle of Least Privilege to Go software, guiding audits, supply chain reviews, and trust assessments. Capslock aims to make security posture analysis more proactive by surfacing capability-based risk signals before malicious or overly powerful code is introduced into production.

Features

  • Analyzes Go packages and their transitive dependencies for privileged operations
  • Classifies capabilities such as file access, networking, or system execution
  • Complements traditional vulnerability scanning with permission-based insights
  • Supports auditing and prioritizing high-privilege code for review
  • Useful for enforcing least-privilege principles in Go software supply chains
  • Provides easy integration via a simple CLI for Go projects

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow Capslock

Capslock Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Capslock!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Assembly, Go

Related Categories

Assembly Command Line Tools, Go Command Line Tools

Registered

2025-10-11