
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@open-cluster-management/security-middleware
Advanced tools
Security middleware for authentication
Security middleware for the Openshift OAuth server
No configuration is required to run it in production mode.
To run it locally, you will need to set following environment variables:
OAUTH2_CLIENT_ID # OAuth Client ID
OAUTH2_CLIENT_SECRET # OAuth Client Secret
OAUTH2_REDIRECT_URL # Redirect URL
API_SERVER_URL # Kubernetes API URL
SERVICEACCT_TOKEN # Kubernetes Access Token
For more information about Openshift OAuth, see the Openshift documentation
To protect the ui:
const inspect = require('security-middleware')
router.all(['/', '/*'], inspect.ui(), app)
To protect the api:
const inspect = require('security-middleware')
router.all(['/', '/*'], inspect.app, app)
FAQs
Security middleware for authentication
We found that @open-cluster-management/security-middleware demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.

Research
/Security News
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.