
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
external-link-tester
Advanced tools
Testing external links of your application, like documentation and partner website links, is important since if they break or change you'll probably only find out through your users. You can use External Link Tester in your CI system to make sure the external links your application uses are not broken.
Just add the links you which to test to the configuration file, have your CI system run the package and point it to the resulting JUnit report.

Run npm install --global external-link-tester
Pass name of the configuration file as a command line parameter. Note the configuration file needs to be in the root directory of your application.
Example: external-link-tester extLinksTester.example.config.js
The output is a JUnit report. You can specify the path you want the report to go to in outputFile configuration property in the configuration file.
Example: node app.js extLinksTester.example.config
When you install it in your project assuming, for example, you created a config file called extLinksTester.config.js in the root you then run the command:
node node_modules/external-link-tester/app.js extLinksTester.config.js
Checkout extLinksTester.example.config.js for a configuration example. The properties you should defined in this file are:
Like so:
module.exports = {
outputFile: 'results/links-test-result.xml',
externalLinks: [
{
url: 'http://www.google.com111',
timeout: 3000
},
{
url: 'https://en.wikipedia.org/wiki/List_of_HTTP_status_codes',
timeout: 3000
}
]
};
npm test
The code in this repository can be used under the MIT License.
FAQs
Test your front-end's external URLs
We found that external-link-tester 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.