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.
github.com/lalatendumohanty/another-replicaset-operator
The objective is to implement a replicaset controller similar to Kube replicaset controller using kubebuilder quick start. The process of implementating a controller will help the developer better understanding the challenges and understanding of how Kubernetes controllers work.
$ go mod init another-replicaset-operator
$ kubebuilder version
Version: main.version{KubeBuilderVersion:"3.1.0", KubernetesVendor:"1.19.2", GitCommit:"92e0349ca7334a0a8e5e499da4fb077eb524e94a", BuildDate:"2021-05-27T17:54:28Z", GoOs:"linux", GoArch:"amd64"}
$ kubebuilder init --domain my.domain
$ kubebuilder create api --group replicaset --version v1alpha1 --kind AnotherReplicaSet
make manifests
kubectl api-resources --api-group=replicaset.my.domain
make install
make run
$ kubectl api-resources --api-group=replicaset.my.domain
NAME SHORTNAMES APIVERSION NAMESPACED KIND
anotherreplicasets replicaset.my.domain/v1alpha1 true AnotherReplicaSet
kubectl apply -f manifests/busybox/busybox-another-replicaset.yaml --validate=false
make uninstall
make undeploy
FAQs
Unknown package
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.