
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
github.com/amithnair91/go_web_stack
Advanced tools
To run application use:
docker-compose build
docker-compose up
OR using make
make compose
To test after running docker-compose use the following curl command
curl -X POST http://localhost:3344/item -H 'content-type: application/json' -d '{"Name":"bag"}'
Mocks: Sample code to generate mocks
mockgen -destination=/Users/a.nair/myprojects/my_workspace/src/github.com/amithnair91/go_web_stack/go_web_starter/app/commands/mocks/mock_storage.go -source=/Users/a.nair/myprojects/my_workspace/src/github.com/amithnair91/go_web_stack/go_web_starter/app/commands/storage/storage.go
References: https://www.mongodb.com/blog/post/quick-start-golang--mongodb--data-aggregation-pipeline
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
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.