
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
@unit-finance/unit-node-sdk
Advanced tools
This library provides a typescript wrapper to [Unit's API](https://docs.unit.co/#introduction).
This library provides a typescript wrapper to Unit's API.
npm install @unit-finance/unit-node-sdk
import { Unit } from '@unit-finance/unit-node-sdk'
const unit = new Unit(UNIT_TOKEN, UNIT_API_URL)
let createApplicationRequest = {
type: "individualApplication",
attributes: {
"ssn": "000000002",
"fullName": unit.helpers.createFullName("Richard", "Hendricks"),
"dateOfBirth": "2001-08-10",
"address": unit.helpers.createAddress("20 Ingram St", null, "Forest Hills", "CA", "11375", "US"),
"email": "april@baxter.com",
"phone": unit.helpers.createPhone("1", "2025550158"),
"ip": "127.0.0.1",
"ein": "123456789",
"dba": "Pied Piper Inc",
"soleProprietorship": true,
"sourceOfIncome": "EmploymentOrPayrollIncome",
"annualIncome": "Between50kAnd100k",
"occupation": "ArchitectOrEngineer",
"numberOfEmployees": "Between5And10",
"businessVertical": "TechnologyMediaOrTelecom",
"website": "https://www.piedpiper.com",
}
}
let application = await unit.applications.create(createApplicationRequest).catch(err => {
// handle errors
return err
})
console.log(application)
import { CreateIndividualApplicationRequest, Unit, UnitError } from "@unit-finance/unit-node-sdk";
const unit = new Unit(UNIT_TOKEN, UNIT_API_URL)
(async () => {
let createApplicationRequest: CreateIndividualApplicationRequest = {
type: "individualApplication",
attributes: {
"ssn": "000000002",
"fullName": unit.helpers.createFullName("Richard", "Hendricks"),
"dateOfBirth": "2001-08-10",
"address": unit.helpers.createAddress("20 Ingram St", null, "Forest Hills", "CA", "11375", "US"),
"email": "april@baxter.com",
"phone": unit.helpers.createPhone("1", "2025550158"),
"ip": "127.0.0.1",
"ein": "123456789",
"dba": "Pied Piper Inc",
"soleProprietorship": true
"sourceOfIncome": "EmploymentOrPayrollIncome",
"annualIncome": "Between50kAnd100k",
"occupation": "ArchitectOrEngineer",
"numberOfEmployees": "Between5And10",
"businessVertical": "TechnologyMediaOrTelecom",
"website": "https://www.piedpiper.com",
}
}
let application = await unit.applications.create(createApplicationRequest).catch<UnitError>(err => {
// handle errors
return err
})
console.log(application)
})();
import { Unit, UnitError } from "@unit-finance/unit-node-sdk";
const unit = new Unit(UNIT_TOKEN, UNIT_API_URL)
(async () => {
let customer = await unit.customers.get(customerId).catch<UnitError>(err => {
// handle errors
return err
})
console.log(customer)
})();
FAQs
This library provides a typescript wrapper to [Unit's API](https://docs.unit.co/#introduction).
The npm package @unit-finance/unit-node-sdk receives a total of 51,945 weekly downloads. As such, @unit-finance/unit-node-sdk popularity was classified as popular.
We found that @unit-finance/unit-node-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.