Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@gis-ag/microsoft-graph-mail
Advanced tools
an implementation for the Microsoft Graph Mail API
$ npm install --save @gis-ag/microsoft-graph-mail
After you require microsoft graph mail, you can easily setup the default properties.
const MicrosoftGraphMail = require('@gis-ag/microsoft-graph-mail');
const defaults = {
headers: {
Authorization: 'Bearer AccessToken',
},
};
const serviceOptions = {
defaults,
baseUrl: 'https://graph.microsoft.com/v1.0',
};
const service = new MicrosoftGraphMail(serviceOptions.baseUrl, serviceOptions);
In order to retrieve personal messages, simply invoke:
const query = {
id: 'Sent', // if not provided, Inbox is used by default,
count: true,
};
const options = {}; // additional request options
service.messagesFromFolder(query, options, (err, mailConfig) => {
// handle error and mailConfig object
})
MailConfig
contains next data:
This is a list of all valid query parameters: https://developer.microsoft.com/en-us/graph/docs/concepts/query_parameters
Note: Please do not provide $ along with query param, since that is handled by the service. Otherwise, query param will be ignored.
MIT © GIS AG
FAQs
An implementation for the Microsoft Graph Mail API
The npm package @gis-ag/microsoft-graph-mail receives a total of 0 weekly downloads. As such, @gis-ag/microsoft-graph-mail popularity was classified as not popular.
We found that @gis-ag/microsoft-graph-mail demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.