Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@socialgouv/sre-secrets
Advanced tools
Generate sealed secrets files for k8s deployment.
yarn global add @socialgouv/sre-secrets
This package can also be installed locally.
:warning: It requires kubeseal
CLI installed on your system to work.
Usage: sre-secrets [options]
Options:
-h, --help Show help [boolean]
-f, --from File containing secrets [string] [default: "./.secrets.yaml"]
-t, --to Folder to store sealed secrets [string] [default: "./.k8s"]
-v, --version Show version number [boolean]
Ran at project level it produces all required sealed secrets files for k8s deployment.
sre-secrets --from=./.secrets.yaml --to=./.k8s
Assuming the existence of a .secrets.yaml
file as follows:
namespace: "carnets"
services:
- name: "app"
environments:
dev:
secrets:
SERVICE_TOKEN: "V16gKZBHjh8z7aO2IeFxTqvS5JFCmxHIgyuqQ"
USER_PASSWORD: "ObkWO7BUkmDFAl3v_XP-nNEYADymg2FeO5168-nj9BdreHTyp7NSrnmumBFNbY1dg6m-irxrEHxw"
preprod:
secrets:
SERVICE_TOKEN: "V16gKZBHjh8z7aO2IeFxTqvS5JFCmxHIgyuqQ"
USER_PASSWORD: "ObkWO7BUkmDFAl3v_XP-nNEYADymg2FeO5168-nj9BdreHTyp7NSrnmumBFNbY1dg6m-irxrEHxw"
prod:
secrets:
SERVICE_TOKEN: "V16gKZBHjh8z7aO2IeFxTqvS5JFCmxHIgyuqQ"
USER_PASSWORD: "ObkWO7BUkmDFAl3v_XP-nNEYADymg2FeO5168-nj9BdreHTyp7NSrnmumBFNbY1dg6m-irxrEHxw"
- name: "hasura"
environments:
dev:
secrets:
HASURA_GRAPHQL_ADMIN_SECRET: "hasurapassword"
preprod:
secrets:
HASURA_GRAPHQL_ADMIN_SECRET: "hasurapassword"
prod:
secrets:
HASURA_GRAPHQL_ADMIN_SECRET: "hasurapassword"
HASURA_GRAPHQL_DATABASE_URL: "postgresql://user%40my_server..."
- name: "pg"
environments:
dev:
secretsName: "azure-pg-admin-user" # overwrite default sealed secrets name
secrets:
DATABASE_URL: "postgresql://user%40my_server..."
PGHOST: "my_server..."
PGPASSWORD: "my_password..."
PGSSLMODE: "require"
PGUSER: "my_user..."
preprod:
fileName: "pg-user" # overwrite default sealed secrets file name
secretsName: "azure-pg-user"
secrets:
DATABASE_URL: "postgresql://user%40my_server..."
PGHOST: "my_server..."
PGPASSWORD: "my_password..."
PGSSLMODE: "require"
PGUSER: "my_user..."
prod:
fileName: "pg-user"
secretsName: "azure-pg-user"
secrets:
DATABASE_URL: "postgresql://user%40my_server..."
PGHOST: "my_server..."
PGPASSWORD: "my_password..."
PGSSLMODE: "require"
PGUSER: "my_user..."
yarn start
yarn build
yarn test
With coverage:
yarn test-coverage
FAQs
Generate sealed secrets files for k8s deployment.
The npm package @socialgouv/sre-secrets receives a total of 57 weekly downloads. As such, @socialgouv/sre-secrets popularity was classified as not popular.
We found that @socialgouv/sre-secrets demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.