
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@mulgul/garmin-wrapper-ts
Advanced tools
Thw following library is wrapper around the Garmin IPCBound API. Garmin has two specific API's - The IPC Inbound API, and the IPC Outbound API. This API focuses on giving the tools to access these exact api's with ease. Currently this wrapper focuses on Inbound requests. Outbound service requires more than the scope of this library offers.
InboundGarminWrapper
import { InboundGarminWrapper } from '@mulgul/garmin-wrapper-ts';
const credentials = {
username: process.env.USERNAME,
password: process.env.PASSWORD
};
const ipcUrl = process.env.IPCURL;
const imei = process.env.IMEI;
const api = new InboundGarminWrapper(ipcUrl, credentials, imei);
let data;
try {
data = await api.getTrackingVersion();
} catch (e) {
console.error(e)
}
options
All api calls take in an option param of type RequestInit
. These contain basic header options etc.
await api.getTrackingVersion({
body: 'foo',
headers: {
...
}
});
The source code in this repository is distributed under the Apache-2.0 license. See the file.
This source code comes with absolutely no warranty. Use at your own risk.
FAQs
Unknown package
We found that @mulgul/garmin-wrapper-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.