
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
miko.gs/struct-validator
Advanced tools
Verify the values of struct fields using tags
Use the package with the following URL:
import "miko.gs/struct-validator"
And see the below code snippet:
type Test1 struct {
FirstName string `validation:"req len:5,25"`
LastName string `validation:"req len:2,50"`
Age int `validation:"req val:18,150"`
Price int `validation:"req val:0,9999"`
PostCode string `validation:"req" validation_regexp:"^[0-9][0-9]-[0-9][0-9][0-9]$"`
Email string `validation:"req email"`
BelowZero int `validation:"val:-6,-2"`
DiscountPrice int `validation:"val:0,8000"`
Country string `validation_regexp:"^[A-Z][A-Z]$"`
County string `validation:"len:,40"`
}
s := &Test1{
FirstName: "Name that is way too long and certainly not valid",
...
}
o := validator.&ValidationOptions{
RestrictFields: map[string]bool{
"FirstName": true,
"LastName": true,
...
},
...
}
isValid, fieldViolations, err := validator.Validate(s, &o)
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
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.