Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@ospin/synapse
Advanced tools
Documentation can be found here
The @ospin/synapse is a JavaScript SDK to communicate to Ospin's HTTP API from a device. It is build on top of @aws-amplify. To use it, the device has to have a X509 certificate that was issued by the OSPIN cloud.
const synapse = require('@ospin/synapse')
synapse.configure() // set up the SDK for default usage
With the synapse configured, a device can authenticate with deviceId and the path to the X509 certificate
const deviceId = "707be014-1e80-482f-ae5c-b6b7b11a4ad2"
const pathToCert = "my/path/to/cert"
synapse.deviceAPI.authentication.setCredentials({
deviceId,
pathToCert,
})
const { status } = await synapse.deviceAPI.authentication.validateAuthorization() // allows to validate your credentials
// loading a process
const processId = "a3339d89-345b-4baf-9859-46a4542a505a"
const {
status: 200,
data: process,
} = await synapse.deviceAPI.process.get(processId)
This repo employs the github action semantic-release, which, on approved PRs to main
, sniffs the PR title/commit message to automatically bump the semantic versioning and publish the package to NPM.
All PRs to the main
branch should indicate the semantic version change via the following options:
Available types:
Add BREAKING CHANGE into the commit message body (!) to indicate a major version release.
FAQs
OSPIN device client sdk in JavaScript for HTTP communication
The npm package @ospin/synapse receives a total of 0 weekly downloads. As such, @ospin/synapse popularity was classified as not popular.
We found that @ospin/synapse 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.