
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Used to access the Automatic API.
There is a sample Express app in the root of this repo. Just fire it up and check it out.
node index.js
The nodeunit tests can be run with Grunt.
grunt test
Any callback
will be the same callback you would get from using request.
This method will construct the correct URL you should redirect your users to to grant your app authorization.
scopes
- array of scopes to grant access tostate
- an unguessable random string used to protect against cross-site request forgery attacksThis method will set the code from a valid authorization. Throws an Error
if the states do not match.
code
- the code
from the GET parameter on redirection back from Automaticstate
- the same state
used in authorizeUrl()
This method request the OAuth token from Automatic needed for all REST calls.
This method refreshes the OAuth token with the current token.
Returns whether the current token has expired or not.
Returns a single trip specified by id
OR multiple trips based on page
and per_page
values. The options
object must contain:
id
- specific trip id// returns trip with ID = 5
automatic.trips({ id: 5 }, function(err, res, body){
var trips = body;
});
OR
page
- page number (defaults to 1)per_page
- number of trip to return per page (defaults to 100)// return page 5 with 10 trips
automatic.trips({ page: 5, per_page: 10 }, function(err, res, body){
var trips = body;
});
FAQs
Automatic API Node.js module
We found that automatic 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
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.