Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@dmno/bitwarden-plugin
Advanced tools
Check out the docs for more information on how to use DMNO with Bitwarden Secrets Manager.
*** THIS IS PREVIEW SOFTWARE AND SUBJECT TO RAPID CHANGE ***
If you have any questions, please reach out to us on Discord.
Securely use your secrets and data from Bitwarden Secrets Manager within DMNO Config Engine.
You must initialize an instance of the plugin, giving it a unique ID and wiring up the access token to its location within your config schema.
Then you can use the plugin instance which now has authentication, to fetch individual items by their UUID.
For example:
import { DmnoBaseTypes, defineDmnoService, configPath, NodeEnvType, switchBy, configPath } from 'dmno';
import { BitwardenSecretsManagerDmnoPlugin, BitwardenSecretsManagerTypes } from '@dmno/bitwarden-plugin';
const bwsPlugin = new BitwardenSecretsManagerDmnoPlugin('bitwarden', {
accessToken: configPath('..', 'BWS_TOKEN'),
});
export default defineDmnoService({
schema: {
BWS_TOKEN: {
extends: BitwardenSecretsManagerTypes.machineAccountAccessToken,
},
ITEM_FROM_BITWARDEN: {
value: bwsPlugin.secretById('df2246f1-7889-4d1b-a18e-b219001ee3b3')
}
//...
Since the access token is sensitive, you'll need to populate the value of BWS_TOKEN
using an override. For local development, you can store the machine access token in your .dmno/.env.local
file, and in deployed environments you can set it as an environment variable.
bwsPlugin.secretById(uuid)
BitwardenSecretsManagerTypes.machineAccountAccessToken
BitwardenSecretsManagerTypes.secretId
BitwardenSecretsManagerTypes.projectId
FAQs
dmno plugin to pull secrets from Bitwarden
The npm package @dmno/bitwarden-plugin receives a total of 4 weekly downloads. As such, @dmno/bitwarden-plugin popularity was classified as not popular.
We found that @dmno/bitwarden-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.