
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@wireapp/certificate-check
Advanced tools
Utilities to check that Wire's domains use the expected certificate.
This repository is part of the source code of Wire. You can find more information at wire.com or by contacting opensource@wire.com.
You can find the published source code at github.com/wireapp.
For licensing information, see the attached LICENSE file and the list of third-party licenses at wire.com/legal/licenses/.
Utilities to check that Wire's domains use the expected certificate.
The certificate check utility holds a list of pre-defined hostnames which should be pinned. See pinningData.ts
.
Example:
const wireHost = 'wire.com';
hostnameShouldBePinned(wireHost); // true
const otherHost = 'example.com';
hostnameShouldBePinned(otherHost); // false
The certificate check utility holds a list of pre-defined certificates which should be verified. See CertUtil.ts
.
Since we only use this utility with Electron, you need to provide an Electron-like certificate.
Example:
const hostname = 'wire.com';
const certificate = {
data: '-----BEGIN CERTIFICATE----- ...',
issuerCert: {
data: '-----BEGIN CERTIFICATE----- ...',
},
};
verifyPinning(hostname, certificate); // true
Verification sequence:
If all steps succeeded, the verification is done.
FAQs
Utilities to check that Wire's domains use the expected certificate.
The npm package @wireapp/certificate-check receives a total of 297 weekly downloads. As such, @wireapp/certificate-check popularity was classified as not popular.
We found that @wireapp/certificate-check demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.