
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.
@gigwage/client
Advanced tools
Node client library for accessing the Gig Wage API.
NPM
npm i @gigwage/client
Yarn
yarn add @gigwage/client
Create a new Gig Wage client and use it to access APIs from the documentation. The client is used to automatically handle the complex API authentication.
import { createGigwageClient } from "@gigwage/client";
// consider using `dotenv` to pull in environmental variables from a .env file
import "dotenv/config";
// Create a new client
const client = createGigwageClient({
apiKey: process.env.GIGWAGE_API_KEY,
apiSecret: process.env.GIGWAGE_SECRET,
});
// Call endpoints from the Gig Wage API using this client.
const response = await client.get("/api/v1/contractors")
// Pass the payload for the second argument for POST and PATCH methods.
const postResponse = await client.post("/api/v1/contractors",{/** new contractor payload*/})
@gigwage/client uses axios under the hood, so all HTTP method responses will return the same format as an axios response would.
try{
const response = await client.get("/api/v1/contractors")
response.data.contractors // array of contractors
}catch(e){
// error
}
Types are included with this package, but the individual API calls are to be included in a future release. For now, you can pass the expected response data type as a generic.
const response = await client.get<{contractors:[]}>("/api/v1/contractors")
Array.isArray(response.data.contractors) // true
FAQs
Node client library for accessing the Gig Wage API
The npm package @gigwage/client receives a total of 93 weekly downloads. As such, @gigwage/client popularity was classified as not popular.
We found that @gigwage/client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.