
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Process class objects by selected appender according to json array input data. All appenders are processed synchronously.
Included tag appenders:
npm test
npm run test_all
npm run test_top_one
npm run test_bottom_one
npm run test_func_all
npm run test_sync_all
npm run test_by_name_matching
npm run test_by_name_non_matching
npm run test_by_status_matching
npm run test_by_status_non_matching
npm run test_by_version_matching
npm run test_by_version_non_matching
var queue = require("queuejson");
class class_test {
private id: number = 0
private name: string = ''
private log: any
constructor(props: any) {
let t = this
t.id = props.id
t.log = props.log
t.name = props.name
t.process = t.process.bind(t)
}
process(callback: any) {
let t = this
if (t.id == 3) {
callback({ error: { msg: `this id(${t.id}) has some problem` } })
} else
callback({ success: { id: t.id } })
}
}
const sample_data = [
{ props: { id: 1, name: 'test' } },
{ props: { id: 2, name: 'another' } },
{ props: { id: 3, name: 'some name' } },
{ props: { id: 4, name: 'name x' } }
]
let qJson = new queue({
class_obj: class_test,
appender: 'all',
stats: true,
debug: true
}).init({ input_data: sample_data })
try {
qJson.process({}).then((success: any) => {
qJson.logMsg(`all success: (${JSON.stringify(success)})`, {"type": "success"})
}, (error: any) => {
qJson.logMsg(`all errors: (${JSON.stringify(error)})`, {"type": "error"})
})
} catch (e) {
qJson.logMsg(`error running readme test`, {"type": "error"})
}
FAQs
Process class objects according to json array input data.
The npm package queuejson receives a total of 1 weekly downloads. As such, queuejson popularity was classified as not popular.
We found that queuejson 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
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.