
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
github.com/cloudhubs/sourcecrawler
A REST API to parse a single Go project and create a program slice based on found log statements and a given stack trace, and suggest integer inputs that can recreate the executed path. Project template based on this sample Go API
Clone this repository
git clone https://github.com/cloudhubs/sourcecrawler
Build and run the project:
go get
go build
./sourcecrawler
# API now available on http://127.0.0.1:3000
# Slice endpoint: /slice
POST
: Parse a project to extract its log types
{
"stackTrace": "", // stack trace escaped for JSON
"logMessages": ["message", "message2"], // array of collected log messages
"projectRoot": "/path/to/project" // path to project to be sliced
}
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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.