
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
shefin-tinyurl
Advanced tools
http://TinyURL.com URL Shortener Node.js Module
Example Shorten:
First run npm install TinyURL
to install the TinyURL package to your system.
var TinyURL = require('tinyurl');
TinyURL.shorten('http://google.com', function(res, err) {
if (err)
console.log(err)
console.log(res);
});
// Shorten with Alias Example
const data = { 'url': 'https://google.com', 'alias': 'custom-alias-for-google' }
TinyURL.shortenWithAlias(data, function(res, err) {
if (err)
console.log(err)
console.log(res); //Returns a shorter version of http://google.com - http://tinyurl.com/2tx
});
// Promise Example
TinyURL.shorten('http://google.com').then(function(res) {
console.log(res)
}, function(err) {
console.log(err)
})
// Shorten with Alias Promise Example
const data = { 'url': 'https://google.com', 'alias': 'custom-alias-for-google' }
TinyURL.shortenWithAlias(data).then(function(res) {
console.log(res)
}, function(err) {
console.log(err)
})
// Resolve Example
TinyURL.resolve("https://tinyurl.com/2tx").then(
function(res) {
console.log(res); //Returns http://google.com, the full URL located at http://tinyurl.com/2tx
},
function(err) {
console.log(err);
}
);
FAQs
TinyURL.com URL Shortener Node.js Module
The npm package shefin-tinyurl receives a total of 33 weekly downloads. As such, shefin-tinyurl popularity was classified as not popular.
We found that shefin-tinyurl 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.