
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
github.com/mathyourlife/lt3maths
Advanced tools
I <3 maths
Some golang packages to aid in maths exploration.
package main
import(
"fmt"
"github.com/mathyourlife/lt3maths/prime"
)
func main () {
// Initialize the generator
p := prime.NewPrimeGenerator()
// Generate 10 primes
for j := 0; j < 10; j++ {
fmt.Println(p.Next())
}
// Show the current list of primes
fmt.Println(p.Primes)
}
package main
import (
"fmt"
"github.com/mathyourlife/lt3maths/primefactorization"
)
func main() {
pf := primefactorization.NewPrimeFactorization()
result := pf.Of(12)
fmt.Println(result)
// map[2:2 3:1]
}
package main
import(
"fmt"
"github.com/mathyourlife/lt3maths/lexperm"
)
func main () {
lp := lexperm.LexPerm{}
a := []int{0, 1, 2}
for {
fmt.Println(a)
more := lp.Next(a)
if !more {
break
}
}
}
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
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.