Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Use Node to check for phising domains in PhishAI
npm install phishai
const phishai = require('phishai');
phishai.setApiKey = "<YOUR API KEY>"
// Use checkDomain(<domain>) to check that domain against PhisAI
// A promise will be returned
var domain = "https://example.com"
phishai.checkDomain(domain).then(function(result){
console.log(result);
}, function(err) {
console.log(err);
});
/*
Output example
{ scan_id: 'U2sG4AkxdHMlrIcT5O8L' }
*/
// Use checkId(<id>) to get the report of the Id
// A promise will be returned
id = "wP7T0DRanBVZCEB4fI3j"
checkId(id).then(function(result){
console.log(result);
}, function(err) {
console.log(err);
});
/*
Output example
{ url: 'https://example.com',
status: 'in progress',
time: '2018-04-21T09:40:53.199Z' }
{"url":"https://example.com",
"status":"completed",
"target":"unknown",
"iso_code":"US",
"title":"example_domain",
"user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/67.0.3372.0 Safari/537.36",
"user_email":"api",
"ip_address":"93.184.216.34",
"verdict":"clean",
"domain":"example.com",
"time":"2018-04-12T11:07:36.789Z",
"tld":"com"}
*/
FAQs
Use Node to check for phising domains in PhisAI
We found that phishai 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.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.