
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Upload 3D models to Sketchfab, the place to publish, share and discover 3D content online, in VR and AR.
$ npm install sketchfab --save
Run the example:
example/upload.js
to add your API token.node example/upload.js
Returns a new client for the given authentication object. The API supports two authentication methods.
Authentication with oAuth2:
{
type: 'oauth2',
token: 'YOUR_ACCESS_TOKEN'
}
Authentication with an API Token:
{
type: 'token',
token: 'YOUR_API_TOKEN'
}
Upload a 3D file. Params is an object containing parameters for upload.
You can pass the following parameters:
file
(string): Required. Path of the local file to upload.name
(string): Optional. Name of the model.description
(string): Optional. Description.tags
(array): Optional. Array containing slugs of tags.categories
(array): Optional. Array containing slugs of categories.license
(string): Optional. Set model as downloadable with given license slug.isPublished
(boolean): Optional. False to upload as draft (default). True to publish immediately.private
(boolean): Optional. False to make public (default). True to make private. For PRO accounts only.password
(string): Optional. Password to make the model password protected. For PRO accounts only.options
(object): Optional. Scene options (shading, background, orientation).Callback will be passed (err
,result
).
The result will be a Task
object that emits events:
progress
: will report the upload progress (from 0 to 100).success
: when the file is uploaded and processed. Event is passed the URL of the online model.error
: when there is an error. Event is passed an error message.Get profile information for current account.
Callback will be passed (err
, data
).
FAQs
Sketchfab API client
We found that sketchfab demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.