awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
securego avatar

securego/gosec

0
View on GitHub↗
8,866 stars·701 forks·Go·Apache-2.0·33 viewssecurego.io↗

Gosec

gosec is a static analysis security tool designed to scan Go source code for vulnerabilities and common coding flaws. It functions as a security analyzer that inspects the abstract syntax tree to identify insecure function calls, API usage, and potential security risks.

The tool distinguishes itself by mapping detected vulnerabilities to Common Weakness Enumeration identifiers for standardized reporting and integrating with external AI models to suggest code fixes for identified issues.

Its capabilities cover the detection of injection vulnerabilities, hardcoded credentials, weak cryptographic implementations, and insecure network or filesystem configurations. The engine also provides mechanisms for vulnerability management, including the ability to define custom security rules, enforce import blocklists, and suppress false positives using inline code annotations.

Analysis results can be exported in multiple machine-readable formats to integrate with reporting tools and security workflows.

Features

  • Security and SAST - Identifies injection risks and hardcoded credentials in Go projects using static analysis and pattern matching.
  • Security and Vulnerability Scanning - Inspects Go source code using static analysis to identify security flaws and potential vulnerabilities.
  • Source Code Analysis - Inspects the abstract syntax tree to identify risky function calls and security flaws.
  • Security Vulnerability Scanners - Analyzes code using pattern-based rules and taint analysis to detect common security flaws and injection risks.
  • AST Pattern Matching - Implements structural code analysis using abstract syntax trees to identify insecure patterns.
  • Vulnerability Mapping - Links detected security flaws to Common Weakness Enumeration identifiers for standardized reporting.
  • Cryptographic Auditing - Detects the use of weak hashing algorithms, deprecated ciphers, and insecure random number generators.
  • Go Security Auditing - Identifies hardcoded credentials, insecure network configurations, and weak cryptography in Go projects.
  • Insecure API Detection - Identifies dangerous or deprecated API usage by matching package selectors and identifiers within source code.
  • Secret Detection - Scans source code using regular expressions to identify hardcoded credentials and API keys.
  • Secrets Scanning - Scans source code for plaintext passwords, API keys, and other sensitive secrets embedded directly in logic.
  • Source Code Vulnerability Scanning - Analyzes source code against security rules to identify potential vulnerabilities and risks.
  • Static Analysis Security Testing - Analyzes Go source code to identify potential security vulnerabilities and common coding flaws through static analysis.
  • Injection Vulnerabilities - Analyzes code for SQL, command, path traversal, and cross-site scripting risks using pattern matching and taint analysis.
  • Static Analysis Security Testing - Provides a static analysis engine to scan Go source code for security vulnerabilities and coding flaws.
  • AST Security Analyzers - Inspects the Go abstract syntax tree to detect insecure function calls and API usage.
  • Static Code Analysis - Scans Go source code for security vulnerabilities and common coding flaws using static analysis.
  • Taint Analysis Engines - Tracks the propagation of untrusted user input to detect potential injection vulnerabilities.
  • Analysis Result Caches - Caches intermediate results of expensive static analysis operations to avoid redundant processing of unchanged code.
  • Automated Code Fix Suggestions - Recommends specific code changes to resolve detected security findings via external AI models.
  • Analysis Suppression Mechanisms - Excludes specific security findings from reporting using inline annotations or external flags.
  • Parallel Analysis Execution - Processes multiple Go packages and files in parallel to reduce the total time required for security scans.
  • Static Analysis Configurations - Adjusts the scanning engine through global settings such as enabling static single assignment support or audit mode.
  • Safety Analyzers - Identifies potential slice bounds out of range and implicit memory aliasing in loops.
  • Static Single Assignment Analysis - Tracks variable assignments and data flow to identify vulnerabilities that depend on value changes.
  • Filesystem Permissions - Flags insecure file and directory permissions during creation or modification to prevent unauthorized access.
  • Standardized Classifications - Associates detected security issues with CWE identifiers for standardized vulnerability descriptions.
  • Network Security Auditing - Identifies insecure network settings such as binding to all interfaces and unsafe redirect policies.
  • Secure Go Development - Prevents the use of forbidden packages and dangerous function calls during development.
  • Security Finding Management - Ignores specific vulnerabilities using inline directives that require a rule ID or written justification.
  • Security Reporting Tools - Exports security scan results into structured formats for integration with external reporting tools.
  • Vulnerability Check Excluders - Filters out security issues based on file path patterns and rule identifiers to reduce noise.
  • Weakness Enumerations - Maps detected security issues to Common Weakness Enumeration identifiers for standardized reporting.
  • Custom Analysis Rules - Provides a framework for defining custom metadata-driven rules to identify specialized vulnerabilities.
  • Rule Suppression Comments - Provides inline source code comments to disable specific security rules for targeted lines.
  • AI-Powered Code Fixes - Integrates with external AI models to provide recommended code fixes for detected security vulnerabilities.
  • Memory Leak Detection - Detects uncalled context cancel functions and unbounded memory allocations to prevent resource leaks.
  • Code Analysis and Linting - Inspects source code for security vulnerabilities.
  • Code Analysis and Quality - Security-focused static analysis.
  • Static Analysis - Security-focused source code inspection for Go applications.
  • Static Analysis and Linting - Scans code for common security vulnerabilities and patterns.
  • Application Security - Security checker for Go source code.
  • Security And Privacy - Security checker for Go code.
  • Static Analysis - Scans Go source code to identify common security vulnerabilities.
  • Static Code Analysis - Scans the Go AST to inspect source code for security problems.
  • Vulnerability Scanning and Auditing - Security checker for inspecting Go source code.

Star history

Star history chart for securego/gosecStar history chart for securego/gosec

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Gosec

These projects share indexed features with Gosec. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • bearer/bearerBearer avatar

    Bearer/bearer

    2,566View on GitHub↗

    Bearer is a static analysis security testing tool and privacy compliance auditor. It identifies security vulnerabilities, hard-coded secrets, and privacy risks in source code through static analysis and data flow tracing. The tool distinguishes itself by tracking the movement of sensitive data through code to identify leaks and by mapping personal and health-related information flows to generate evidence for privacy impact assessments. It also provides differential scanning for pull requests and uses fingerprint-based suppression to exclude known false positives from reports. The platform co

    Goappseccode-qualitycompliance
    View on GitHub↗2,566
  • bridgecrewio/checkovbridgecrewio avatar

    bridgecrewio/checkov

    8,798View on GitHub↗

    Checkov is a static analysis tool and security scanner designed to identify misconfigurations in infrastructure as code, container images, and Kubernetes configurations. It functions as a cloud security posture tool, an SCA vulnerability scanner, and a secret scanning utility to prevent security breaches and version control leaks. The project distinguishes itself through deep graph analysis and variable resolution, allowing it to map relationships between interconnected resources and evaluate the final state of infrastructure attributes. It provides extensibility for defining custom security

    Python
    View on GitHub↗8,798
  • pycqa/banditPyCQA avatar

    PyCQA/bandit

    8,092View on GitHub↗

    Bandit is a static analysis security testing tool and vulnerability detection scanner for Python source code. It functions as a security-focused linter and static analyzer that identifies common vulnerabilities and architectural flaws without executing the program. The tool utilizes an abstract syntax tree to analyze code patterns and identifies risky function calls or insecure configurations. It employs a plugin-based rule engine to decouple scanning logic from individual security checks and supports configuration-driven filtering to exclude specific files or ignore certain warnings. The sy

    Pythonbanditlinterpython
    View on GitHub↗8,092
  • ajinabraham/nodejsscanajinabraham avatar

    ajinabraham/nodejsscan

    2,563View on GitHub↗

    nodejsscan is a static analysis security tool and vulnerability detection engine designed to scan Node.js source code for security flaws and common coding vulnerabilities. It functions as a static application security testing tool that analyzes code without executing the program. The tool operates as a security linter that can be integrated into continuous integration pipelines to block insecure code from merging into main branches. It automates the auditing process through rule-based detection and pattern-based static analysis. The project provides capabilities for vulnerability alert autom

    CSScode-analysiscode-reviewdevsecops
    View on GitHub↗2,563
Compare all 30 related projects→

Frequently asked questions

What does securego/gosec do?

gosec is a static analysis security tool designed to scan Go source code for vulnerabilities and common coding flaws. It functions as a security analyzer that inspects the abstract syntax tree to identify insecure function calls, API usage, and potential security risks.

What are the main features of securego/gosec?

The main features of securego/gosec are: Security and SAST, Security and Vulnerability Scanning, Source Code Analysis, Security Vulnerability Scanners, AST Pattern Matching, Vulnerability Mapping, Cryptographic Auditing, Go Security Auditing.

Which projects share features with securego/gosec?

Projects with overlapping indexed features include: bearer/bearer — Bearer is a static analysis security testing tool and privacy compliance auditor. It identifies security… bridgecrewio/checkov — Checkov is a static analysis tool and security scanner designed to identify misconfigurations in infrastructure as… pycqa/bandit — Bandit is a static analysis security testing tool and vulnerability detection scanner for Python source code. It… ajinabraham/nodejsscan — nodejsscan is a static analysis security tool and vulnerability detection engine designed to scan Node.js source code… crytic/slither. gitleaks/gitleaks — Gitleaks is a security scanning engine designed to identify hardcoded credentials, API keys, and other sensitive…