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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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