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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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