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.
mailinator-client
Advanced tools
Uses Microsoft's typed-rest-client. All requests are async functions.
const mailinatorClient: MailinatorClient = new MailinatorClient("yourApiKeyHere");
const response: IRestResponse<Inbox> = await mailinatorClient.request(
new GetInboxRequest("yourDomainNameHere")
);
const response: IRestResponse<Inbox> = await mailinatorClient.request(
new GetInboxRequest("yourDomainNameHere", "yourInboxNameHere", 10, 20, Sort.DESC, true)
);
const response: IRestResponse<Message> = await mailinatorClient.request(
new GetMessageRequest("yourDomainNameHere", "yourInboxNameHere", "yourMessageIdHere")
);
npm test
By default, most of the tests are skipped.
Most of the tests require env variables with valid values. Visit tests source code and review EnabledIfEnvironmentVariable
wrapped parts. The more env variables you set, the more tests are run.
MAILINATOR_TEST_API_TOKEN
- API tokens for authentication; basic requirement across many tests;see also https://manybrain.github.io/m8rdocs/#api-authenticationMAILINATOR_TEST_DOMAIN_PRIVATE
- private domain; visit https://www.mailinator.com/MAILINATOR_TEST_INBOX
- some already existing inbox within the private domainMAILINATOR_TEST_PHONE_NUMBER
- associated phone number within the private domain; see also https://manybrain.github.io/m8rdocs/#fetch-an-sms-messagesMAILINATOR_TEST_MESSAGE_WITH_ATTACHMENT_ID
- existing message id within inbox (see above) within private domain (see above); see also https://manybrain.github.io/m8rdocs/#fetch-messageMAILINATOR_TEST_ATTACHMENT_ID
- existing message id within inbox (see above) within private domain (see above); see also https://manybrain.github.io/m8rdocs/#fetch-messageMAILINATOR_TEST_DELETE_DOMAIN
- don't use it unless you are 100% sure what you are doingnpm install create-ts-index -g
cti create .
FAQs
Mailinator REST API client for JavaScript applications.
The npm package mailinator-client receives a total of 27,586 weekly downloads. As such, mailinator-client popularity was classified as popular.
We found that mailinator-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.