
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.
@source-health/sourcebridge
Advanced tools
| :bangbang: | This SDK is still in beta, and may change significantly before its public release. |
|---|
The SourceBridge library is a required dependency for customer-built 'frame' plugins that run within the main Source Health web UI.
This SDK is written in TypeScript and compiled to ES6.
Getting started with the Source Health client is easy. First, install the package via NPM:
yarn add @source-health/sourcebridge # or npm install @source-health/sourcebridge
Then, import the SourceBridge API:
import { SourceBridge } from '@source-health/sourcebridge'
Subscribe to context updates from the parent window.
Note: after rendering for the first time, your application must call SourceBridge.ready()
in order to clear the loading state and display the plugin.
await SourceBridge.onContextUpdate(async (context) => {
// Handle the context, set and render your application
await doSomeStuff(context.member)
// Call ready() to clear the loading state for the plugin
SourceBridge.ready()
})
And, finally, kick off the handshake with the parent window (which will lead to the context callback being run):
await SourceBridge.init()
Developer documentation for plugin development will be published shortly. In the meantime, an example plugin is available at source-health/source-demo-frame-plugin.
FAQs
Official SDK for Source Health iframe plugins.
The npm package @source-health/sourcebridge receives a total of 0 weekly downloads. As such, @source-health/sourcebridge popularity was classified as not popular.
We found that @source-health/sourcebridge demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.

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.