
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.
json-uri is a simple uri-compatible json translator with notable advantages:
json-uri searches for unused characters in provided string, and then replaces most commonly seen characters ({
}
.
:
etc.) and sequences (","
":"
etc.) in JSON strings with them. This provides significant improvement on encoded string length with reasonable cost.
json-uri has some difference from similar packages like json-url
and juri
:
Encode:
var ju = require('json-uri');
var jsonStr = JSON.stringify(obj);
var encodedStr = ju.encode(jsonStr);
window.location.href = 'http://example.com/?' + encodeURIComponent(encodedStr);
Decode:
var param = window.location.search.slice(1);
var encodedStr = decodeURIComponent(param);
var decodedStr = ju.decode(encodedStr);
var obj = JSON.parse(decodedStr);
var ju = require('json-uri');
ju.encode(str)
Encode JSON string to json-uri string.
string
JSON string to be encodedju.decode(str)
Decode json-uri string to JSON string.
string
json-uri string to be decodedFAQs
Small and browser-compatible url-friendly JSON translator
The npm package json-uri receives a total of 3 weekly downloads. As such, json-uri popularity was classified as not popular.
We found that json-uri 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.