
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@sctg/okteto-auto-token
Advanced tools
If you are working with multiple Okteto workpaces and you interact on them with kubectl it might be difficult to maintain a correct kube.config.
The main idea is to maintain only a json file describing your workspaces.
The json files is populated with some long life (180 days) personal access token. One for each Okteto context.
Create a config/clusters.json according to the sample config/sample_clusters.json.
This simple typescript for generating a kube.config automatically with 1 day short life access tokens.
create a .env file:
PORT="8080"
CLUSTERS_FILE="./config/clusters.json"
This is a sample Express server provinding 3 paths:
npm i
npm run build
npm run start
For using clusters.json in your bash script it is easy to generate the token variables with:
Example with yq tool:
eval `cat clusters.json | yq -r '.[] | { (.bash_token): .token} | to_entries | .[] | .key +"=" + (.value | @sh)'`
or with jq tool:
eval `cat clusters.json | jq -r '.[] | { (.bash_token): .token} | to_entries | .[] | .key + "=" + (.value | @sh)'`
FAQs
generate kube.config automatically for Okteto
We found that @sctg/okteto-auto-token demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.