
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
github.com/aabbtree77/determinism
This is a fork of the March 30 2018 commit #96 of Starlark-Go:
git checkout -b tree-walker 0d5491befad9f6af126fdcb886dc58a8f059bea7
It is the latest commit which contains a tree-walking interpreter of Starlark. Afterwards Alan Donovan et al. moved on to a bytecode compiler-interpreter.
git clone https://github.com/aabbtree77/determinism.git
cd determinism
go build ./cmd/starlark
./starlark coins.star
By name: dime, nickel, penny, quarter
By value: penny, nickel, dime, quarter
go test -v
cd syntax
go test -v
The idea here is to make the tree walker more visible for learning and exploration.
Minor code restoration: Added go.mod
, fixed the paths for the tests not passing due to $GOPATH in a few places, took care of #32479, replaced "skylark" with "starlark" in code, but not in the docs as they contain links.
The books by Thorsten Ball are great, but Starlark-Go is the next level, yet under 10 KLOC of Go.
example_test.go states a demo of the concurrent cache with cycle detection for Starlark module loading in Go. More of that in Sect. 9.7 of the book by Alan A. A. Donovan and Brian W. Kernighan gopl.io.
hashtable.go does a hash map from scratch in less than 350 lines of Go.
For some real uses of Starlark-Go it could be worth checking out Clace.
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.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.