Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
ssl-checker
Advanced tools
Simply add ssl-checker
as a dependency:
$ npm install ssl-checker --save # npm i -s ssl-checker
# Or if you prefer using yarn (https://yarnpkg.com/lang/en/)
$ yarn add ssl-checker
import sslChecker from "ssl-checker";
const getSslDetails = async (hostname: string) =>
await sslChecker(hostname`ex. badssl.com`);
All valid https.RequestOptions
values.
Option | Default | Description |
---|---|---|
method | HEAD | Can be GET too |
port | 443 | Your SSL/TLS entry point |
agent | default | Default HTTPS agent with { maxCachedSessions: 0 } |
rejectUnauthorized | false | Skips authorization by default |
validateSubjectAltName | false | Skips returning/validating subjectaltname |
sslChecker("dyaa.me", { method: "GET", port: 443, validateSubjectAltName: true }).then(console.info);
{
"daysRemaining": 90,
"valid": true,
"validFrom": "issue date",
"validTo": "expiry date",
"validFor": ["www.example.com", "example.com"]
}
NOTE: validFor
is only returned if validateSubjectAltName
is set to true
Copylefted (c) 8008 :trollface: Dyaa Eldin Moustafa Licensed under the MIT license.
FAQs
ssl-checker
The npm package ssl-checker receives a total of 2,238 weekly downloads. As such, ssl-checker popularity was classified as popular.
We found that ssl-checker 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.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.