
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
aoscxgo is a golang package that allows users to connect to and configure AOS-CX switches using REST API. The minimum supported firmware version is 10.09.
To login to the switch and create a client connection:
package main
import (
"log"
"github.com/aruba/aoscxgo"
)
func main() {
sw, err := aoscxgo.Connect(
&aoscxgo.Client{
Hostname: "10.0.0.1",
Username: "admin",
Password: "admin",
VerifyCertificate: false,
},
)
if (sw.Cookie == nil) || (err != nil) {
log.Printf("Failed to login to switch: %s", err)
return
}
log.Printf("Login Success")
}
This will login to the switch and create a cookie to use for authentication in further calls. This cookie is stored within the aoscxgo.Client object that will be passed into configuration modules like so:
vlan100 := aoscxgo.Vlan{
VlanId: 100,
Name: "uplink VLAN",
Description: "uplink VLAN",
AdminState: "up",
}
// if the vlan exists use
// err = vlan100.Update(sw)
err = vlan100.Create(sw)
if err != nil {
log.Printf("Error in creating VLAN 100: %s", err)
return
}
log.Printf("VLAN Create Success")
Each API resource will have the following functions (exceptions may vary):
Create()Update()Get()GetStatus()Delete()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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.