Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Ruby bindings for the Apple VPP Managed App License Distribution API.
Add this line to your application's Gemfile:
gem 'apple_vpp'
And then execute:
$ bundle
Or install it yourself as:
$ gem install apple_vpp
Use the library like this:
s_token = File.read './from_apple_portal.vpptoken'
c = AppleVPP::Client.new s_token
resp = c.get_users
c.edit_user user_id: resp[:users].first[:user_id],
email: 'youremail@example.org'
For information beyond what is included here, refer to the "Mobile Device Management Protocol Reference" documentation on Apple's Developer site.
One of these is required:
One of these is required:
Optional:
Optional:
Required:
One of these is required:
Optional:
Optional:
Optional:
One of these is required:
Optional:
Optional:
Required:
One (and only one) of these are required:
Optional:
Required:
Optional:
One of these is required:
Should an error be reported by the Apple API service, the library will raise a custom error class that will correspond to the Apple error code like so:
AppleVPP::Error::Code#{error_code}
A message will also be provided with the error.
The Apple API service may return a 503 Service Unavailable
error if the service is overwhelmed or if your client is being too aggressive. In this scenario, apple_vpp
will raise AppleVPP::Error::ServiceUnavailable
. The raised error will include a method .retry_in_seconds
which returns an integer value, in seconds, of how long you should wait before retrying your request. The raw Retry-After
header that Apple returns is also available via .retry_after
.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that apple_vpp 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.