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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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