
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@capacitor-community/advertising-id
Advanced tools
Allows access to the IDFA (iOS) and GAID (Android)
Allows access to the IDFA (iOS) and GAID (Android)
npm install @capacitor-community/advertising-id
npx cap sync
iOS requires the following usage description be added and filled out for your app in Info.plist to use the requestTracking() method:
NSUserTrackingUsageDescription (Privacy - Tracking Usage Description)This plugin will use the following project variables (defined in your app's variables.gradle file):
playServicesAdsId version of com.google.android.gms:play-services-ads-identifier (default: 18.2.0)requestTracking() => Promise<{ value: AdvertisingStatus; }>
Returns: Promise<{ value: AdvertisingStatus; }>
getAdvertisingId() => Promise<{ id: string; status: AdvertisingStatus; }>
Returns: Promise<{ id: string; status: AdvertisingStatus; }>
getAdvertisingStatus() => Promise<{ status: AdvertisingStatus; }>
Returns: Promise<{ status: AdvertisingStatus; }>
'Authorized' | 'Denied' | 'Not Determined' | 'Restricted'
FAQs
Allows access to the IDFA (iOS) and GAID (Android)
The npm package @capacitor-community/advertising-id receives a total of 2,985 weekly downloads. As such, @capacitor-community/advertising-id popularity was classified as popular.
We found that @capacitor-community/advertising-id demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 48 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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.