
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
github.com/mohamedattahri/enigma
Enigma.io lets you quickly search and analyze billions of public records published by governments, companies and organizations.
Enigma is a simple go client for the enigma.io API.
Full documentation and examples are available in the godoc package index
package main
import (
enigma "github.com/mohamedattahri/enigma"
)
func main() {
client := enigma.NewClient("some_api_key")
}
response, err := client.Meta().Parent("us.gov.whitehouse")
if err != nil {
fmt.Println(err)
return
}
fmt.Println(response.Info.ChildrenTablesTotal)
response, err := client.Meta().Table("us.gov.whitehouse.visitor-list")
if err != nil {
fmt.Println(err)
return
}
fmt.Println(response.Result.DbBoundaryLabel)
response, err := client.Data("us.gov.whitehouse.visitor-list").Select("namefull", "appt_made_date").Sort("namefirst", enigma.Desc).Results()
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(response.Result))
response, err := client.Stats("us.gov.whitehouse.visitor-list", "total_people").Operation(enigma.Sum).Results()
if err != nil {
fmt.Println(err)
return
}
var obj map[string]string
json.Unmarshal(response.Result, &obj)
fmt.Println(obj["sum"])
url, err := client.Export("us.gov.whitehouse.visitor-list").FileURL(nil)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(url)
More tests.
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.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.