
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.
trainerroad-to-zwiftout
Advanced tools
Converts TrainerRoad workout in JSON format to Zwiftout format.
npm install trainerroad-to-zwiftout
import trainerroadToZwiftout from "trainerroad-to-zwiftout";
const json = {
Workout: {
Details: {
WorkoutName: "Bald Knob",
WorkoutDescription:
"<p>Bald Knob is 60 minutes of aerobic Endurance riding.</p>",
},
workoutData: [
{ seconds: 0, memberFtpPercent: 133.5, ftpPercent: 50.0 },
{ seconds: 1000, memberFtpPercent: 133.5, ftpPercent: 50.0 },
{ seconds: 2000, memberFtpPercent: 133.5, ftpPercent: 50.0 },
{ seconds: 3000, memberFtpPercent: 133.5, ftpPercent: 50.0 },
{ seconds: 4000, memberFtpPercent: 133.5, ftpPercent: 50.0 },
],
intervalData: [
{
Start: 0,
End: 3600,
Name: "Workout",
IsFake: false,
TestInterval: false,
StartTargetPowerPercent: 50.0,
},
{
Start: 0,
End: 150,
Name: "Fake",
IsFake: true,
TestInterval: false,
StartTargetPowerPercent: 50.0,
},
],
},
Alternates: [],
};
console.log(trainerroadToZwiftout(json.Workout));
Outputs something like:
Name: Bald Knob
Author: TrainerRoad
Description: Bald Knob is 60 minutes of aerobic Endurance riding.
Rest: 02:30 50%
Interval: 02:30 55%
Interval: 02:30 60%
Interval: 02:30 65%
cat workout.json | trainerroad-to-zwiftout
FAQs
Converts TrainerRoad workout JSON into Zwiftout workout format.
The npm package trainerroad-to-zwiftout receives a total of 0 weekly downloads. As such, trainerroad-to-zwiftout popularity was classified as not popular.
We found that trainerroad-to-zwiftout 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.