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.
A distributed maintained collection of patterns that indicate that something probably is secret
A distributed maintained collection of patterns that indicate that something probably is secret.
This is useful if you want to filter sensitive values in a data set.
This module uses a very simple algorithm that will not catch everthing. Use at your own risk.
npm install is-secret --save
var isSecret = require('is-secret')
var data = {
username: 'watson',
password: 'f8bY2fg8',
card: '1234 1234 1234 1234' // credit card number
}
Object.keys(data).forEach(function (key) {
if (isSecret.key(key) ||
isSecret.key(data[key])) data[key] = '********'
})
console.log(data)
// {
// username: 'watson',
// password: '********',
// card: '********'
// }
secret.key(string)
Validates the given string
against a list of key names known to
typically indicate secret data.
Returns true
if the string
is considered secret. Otherwise false
.
secret.value(string)
Validates the given string
against a list of patterns that indicates
secret data.
Returns true
if the string
is considered secret. Otherwise false
.
MIT
FAQs
A distributed maintained collection of patterns that indicate that something probably is secret
We found that is-secret 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
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.