
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.
@tanstack/query-core
Advanced tools
React Query is a powerful data fetching and caching library for React. It is built on top of @tanstack/query-core and provides React-specific hooks for data fetching, caching, and updating. It offers similar functionalities but is tailored specifically for React applications.
SWR is a React hooks library for data fetching. It stands for 'stale-while-revalidate' and focuses on providing a fast user experience by returning cached data first and then revalidating it in the background. It is similar to @tanstack/query-core in terms of caching and updating data, but it has a different API and revalidation strategy.
Apollo Client is a comprehensive state management library for JavaScript that enables you to manage both local and remote data with GraphQL. It is more specialized than @tanstack/query-core as it is designed to work with GraphQL APIs and provides advanced features like optimistic UI updates and fine-grained control over the cache.
FAQs
The framework agnostic core that powers TanStack Query
The npm package @tanstack/query-core receives a total of 45,220,804 weekly downloads. As such, @tanstack/query-core popularity was classified as popular.
We found that @tanstack/query-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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.