
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Collective useful k8s ops features built on top of awesome kubernetes-client
Install via npm:
$ npm i k8s-ops --save
const { Apis, K8SAuthType, Features, DeploymentStatusType, Transformers } = require('k8s-ops')
const { hpa: HPA, deploy: Deploy, pod: Pod } = Features
const namespace = 'kube-system'
const apis = Apis(K8SAuthType.FromKubeconfig, namespace)
const hpa = HPA(apis, 'your-hpa')
hpa.scale({ minReplicas: 5, maxReplicas: 9 }) // Scale HPA with given min/max replicas
.then(() => hpa.assertScale({ minReplicas: 5, maxReplicas: 9 })) // check if scale is set correctly
.then(console.log)
const deploy = Deploy(apis, 'heapster')
deploy.assertStatus(DeploymentStatusType.AsDesired) // check if all pods are all up-to-date and available
.then(console.log)
deploy.pods(Transformers.pod.readyAt) //Using optional transformer to get more consize data and you can implement your own
.then(console.log)
const pod = Pod(apis, 'your-pod-755b9c7968-r889w')
pod.terminate().then(console.log)
pod.res.get().then(console.log) // use kubernetes-client's objects' feature directly by accessing .res
FAQs
Collective useful k8s ops features built on top of kubernetes-client
The npm package k8s-ops receives a total of 0 weekly downloads. As such, k8s-ops popularity was classified as not popular.
We found that k8s-ops 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 deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.