
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.
Tiny assertion library
$ npm install --save claim
var claim = require('claim');
claim.true(true);
claim.false(false);
claim.is('foo', 'foo');
claim.not('foo', 'bar');
claim.same(['a', 'b'], ['a', 'b']);
claim.notSame({a: 'a'}, {a: 'b'});
claim.regexTest(/^abc$/, 'abc');
Passing assertion.
Failing assertion.
Assert that value is truthy.
Assert that value is falsy.
Assert that value is true.
Assert that value is false.
Assert that value is equal to expected.
Assert that value is not equal to expected.
Assert that value is deep equal to expected.
Assert that value is not deep equal to expected.
Assert that function throws an error.
error can be a constructor, regex or validation function.
Assert that function doesn't throw an error.
Assert that regex matches contents.
Assert that error is falsy.
MIT © Kevin Mårtensson
FAQs
Tiny assertion library
We found that claim demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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.