
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
Update your package readme on every test with build status and code coverage
Update your package readme on every test with build status and code coverage.
(Because paying >1k a month for badges on private projects would be silly)
Only supported with Jest.
npm i -D shieldgen
"scripts": {
"test": "jest --json --outputFile coverage/testResults.json && shieldgen"
},
module.exports = {
// ...
collectCoverage: true,
coverageReporters: ["html"]
};
Configuration for badge colors and messages, as well as optional Airtable integration is specified in .shieldgen.config.json. For integration, AIRTABLE_API_KEY must be set as an environment variable.
Here is an example configuration.
{
"readmePath": "readme.md",
"testing": {
"label": "build",
"testStatusPath": "coverage/testResults.json",
"pass": {
"message": "passed",
"color": "brightgreen"
},
"fail": {
"message": "failed",
"color": "red"
}
},
"coverage": {
"label": "coverage",
"coveragePath": "coverage/index.html",
"zeroCoverageColor": "ee4444",
"fullCoverageColor": "22dd22"
},
"airtableIntegration": {
"baseId": "appbHzsS9UBTiFabc",
"tableName": "Repos",
"nameColumn": "Name",
"testStatusColumn": "Test Status",
"coverageColumn": "Coverage"
}
}
FAQs
Update your package readme on every test with build status and code coverage
We found that shieldgen 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.