
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
A very simple wrapper for the Bing API (http://www.bing.com/toolbox/bingdeveloper/). Just simplifies an edge case error check and presents a simple way to set & reuse options.
Usage:
// set BING_APP_ID Environment Variable with a valid key!
var bing = require('../lib/bing-api');
var client = new bing.SearchClient({appId: process.env.BING_APP_ID});
client.search("variolabs", function(error, response, data) {
if (!error && response.statusCode == 200)
{
console.log(data.SearchResponse.Web.Results[0].Url);
} else {
console.log("ERROR! " + error + "/" + response.statusCode);
}
});
/*
* Should be a space delimited list of valid bing sources:
* Image, News, PhoneBook, RelatedSearch, Spell, Translation,
* Video, Web
*/
sourceList: "web"
/*
* App ID from Bing Dev Portal: http://www.bing.com/toolbox/bingdeveloper/
*/
, appId: null
/*
* Base URL for API, includes the question mark
*/
, baseUrl: "http://api.bing.net/json.aspx?"
/*
* API Version
*/
, bingApiVersion: "2.2"
/*
* Bing API Market
*/
, bingApiMarket: "en-US"
/*
* Limit responses to this amount
*/
, limit: 10
/*
* User Agent
*
*/
, userAgent: "Bing Search Client for Node.js ("+SearchClient.version+")"
Provided under the The MIT License (MIT) Copyright (c) 2011 Sujal Shah
See LICENSE for details
FAQs
A library for the Bing Search APIs
The npm package bing-api receives a total of 0 weekly downloads. As such, bing-api popularity was classified as not popular.
We found that bing-api 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.