Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.