
Research
/Security News
Intercom’s npm Package Compromised in Ongoing Mini Shai-Hulud Worm Attack
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.
@findkit/fetch
Advanced tools
Low level read-only API for Findkit indices used by @valu/react-valu-search.
npm install @findkit/fetch
In browsers it uses the native fetch() but in Node.js you must provide it from
node-fetch and set it as global.
import { findkitFetch } from "@findkit/fetch";
// Returns SearchResponse[]
const responses = await findkitFetch({
// See FindkitFetchOptions below for more details
customer: "wikipedia",
terms: "genie",
apiKey: "your-api-key-here", // Contact your Findkit provider for api key
groups: [
{
tagQuery: [],
size: 10,
from: 0,
},
],
});
Each group will add a SearchResponse object to the resolved array. The array
order will correspond with the groups order.
findkitFetch() takes FindkitFetchOptions as request params and returns
Promise<SearchResponse[]>.
function findkitFetch(params: FindkitFetchOptions): Promise<SearchResponse[]>;
interface FindkitFetchOptions {
terms: string;
groups: SearchGroupParams[];
customer?: string;
searchEndpoint?: string;
apiKey: string;
staging?: boolean;
logResponseTimes?: boolean;
}
interface SearchGroupParams {
tagQuery: string[][];
createdDecay?: number;
modifiedDecay?: number;
decayScale?: string;
highlightLength?: number;
size: number;
from: number;
lang?: string;
}
interface SearchResponse {
total: number;
duration?: number;
hits: {
score: number;
title: string;
language: string;
url: string;
domain: string;
created: string;
modified: string;
highlight: string;
tags: string[];
customFields: CustomFields;
}[];
}
type CustomFields = {
[customField: string]:
| { type: "date"; value: string }
| { type: "keyword"; value: string }
| { type: "number"; value: number }
| undefined;
};
FAQs
minimal fetch for findkit
The npm package @findkit/fetch receives a total of 65 weekly downloads. As such, @findkit/fetch popularity was classified as not popular.
We found that @findkit/fetch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
/Security News
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.

Research
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.