
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
@drivekyte/use-places-search
Advanced tools
A React custom hook for places search.
Run
yarn add @drivekyte/use-places-search
The custom hook was built using React Query and requires to wrap your app with <QueryClientProvider client={queryClient}>.
import usePlacesSearch from '@drivekyte/use-places-search';
const Demo = () => {
const [search, setSearch] = React.useState<string | undefined>();
const { isLoading, isSuccess, isError, data } = usePlacesSearch(search, {
baseUrl: "http://base.url/api",
});
const handleInputChange = (event: React.ChangeEvent<HTMLInputElement>) => {
setSearch(event.target.value);
};
return (
<div>
<input
type="text"
aria-label="search"
placeholder="7th Ave, New York, NY, USA"
onChange={handleInputChange}
/>
{isLoading && <div>Loading...</div>}
{isError && <div>Error</div>}
{isSuccess &&
data.map((place) => (
<p key={place.formatted_address}>
{place.map_to?.formatted_address || place.formatted_address}
</p>
))}
</div>
)
}
To run tests, run the following command
yarn test
FAQs
Kyte places search hook
We found that @drivekyte/use-places-search demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.