
Research
npm Malware Targets Telegram Bot Developers with Persistent SSH Backdoors
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
@maxim_mazurok/gapi.client.verifiedaccess-v1
Advanced tools
TypeScript typings for Chrome Verified Access API v1
API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network For detailed description please check documentation.
Install typings for Chrome Verified Access API:
npm install @types/gapi.client.verifiedaccess-v1 --save-dev
You need to initialize Google API client in your code:
gapi.load('client', () => {
// now we can use gapi.client
// ...
});
Then load api client wrapper:
gapi.client.load(
'https://verifiedaccess.googleapis.com/$discovery/rest?version=v1',
() => {
// now we can use:
// gapi.client.verifiedaccess
},
);
// Deprecated, use discovery document URL, see https://github.com/google/google-api-javascript-client/blob/master/docs/reference.md#----gapiclientloadname----version----callback--
gapi.client.load('verifiedaccess', 'v1', () => {
// now we can use:
// gapi.client.verifiedaccess
});
Don't forget to authenticate your client before sending any request to resources:
// declare client_id registered in Google Developers Console
var client_id = '',
scope = [
// Verify your enterprise credentials
'https://www.googleapis.com/auth/verifiedaccess',
],
immediate = true;
// ...
gapi.auth.authorize(
{client_id: client_id, scope: scope, immediate: immediate},
authResult => {
if (authResult && !authResult.error) {
/* handle successful authorization */
} else {
/* handle authorization error */
}
},
);
After that you can use Chrome Verified Access API resources:
/*
CreateChallenge API
*/
await gapi.client.verifiedaccess.challenge.create({});
/*
VerifyChallengeResponse API
*/
await gapi.client.verifiedaccess.challenge.verify({});
FAQs
TypeScript typings for Chrome Verified Access API v1
We found that @maxim_mazurok/gapi.client.verifiedaccess-v1 demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
Security News
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.