
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
go.opentelemetry.io/build-tools/checkapi
CheckAPI is a go tool that parses the AST tree of a Go module, identifying Golang APIs such as structs and functions and enforcing rules against them.
This is particularly useful to reduce the API surface of a Go module to a specific set of functions.
$> checkapi -folder . -config config.yaml
The configuration file is in yaml format:
ignored_paths:
- <exact relative paths of Golang modules to ignore>
allowed_functions:
- <at least one function match must be present.>
- name: <name of function>
parameters: <list of parameters by type>
return_types: <list of return types>
ignored_functions:
- <regular expressions of ignored functions. At least one match must be present to ignore the function.>
unkeyed_literal_initialization:
enabled: <bool>
limit: <number of fields under which we should prevent unkeyed literal initialization>
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.