
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
doofinder
Advanced tools
A.K.A. js-doofinder
, or just doofinder
, this library makes easy to perform requests to Doofinder's search service and customize the way you present results.
The library can be installed via package managers or directly pointing to a file in jsDelivr's CDN.
$ yarn add doofinder
$ npm install doofinder
import { Client } from 'doofinder';
const { Client } = require('doofinder/commonjs');
You can include the library directly in your website:
<!-- Javascript -->
<script src="//cdn.jsdelivr.net/npm/doofinder@latest/dist/doofinder.min.js"></script>
If you only want to know how this is structured, without the details, here we go.
The library provides:
Client
class to perform requests to the Doofinder service.Query
class which provides an easy-to-use object to prepare the queries to the Doofinder Client
before sending anything.Result
class to wrap the response from the server and access to the data through easy to use methods.ClientRepo
singleton that holds a pool of Doofinder Client
in each zone and helps instantiating them.The project includes a demo you can use as inspiration. To take a look and see things you can do with it:
$ yarn install
or $ npm install
.$ yarn test
.The demo markup is inside index.html
and the related Javascript code can be found at demo/demo.js
.
NOTICE: The demo uses a test search engine but you can use a different one, just change the value of the HASHID
variable you will find inside index.html
.
IMPORTANT: Doofinder protects API calls with CORS. If you change the HASHID
variable defined in index.html
you will have to allow localhost
for your search engine in Doofinder Admin.
IMPORTANT: This is a work in progress.
https://doofinder.github.io/js-doofinder/
Browser | Standalone | ES Module |
---|---|---|
Edge | 15+ | 16+ |
Firefox | 32+ | 60+ |
Chrome | 55+ | 61+ |
Safari | 11+ | 11+ |
Opera | 42+ | 48+ |
Chrome for Android | 76+ | 76+ |
Firefox for Android | 68+ | 68+ |
UC Browser for Android | 12.12+ | 12.12+ |
Safari for iOS | 11+ | 11+ |
FAQs
Javascript Library for Doofinder Search API
We found that doofinder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.