hsb-setup

Warn

Audited by Socket on Jul 2, 2026

4 alerts found:

Anomalyx4
AnomalyLOW
linux/set-hsb-env.sh

This fragment appears to be a legitimate environment-profile loader, but it carries a significant security trust boundary: it sources a local shell script whose path is derived from a user-controlled argument, enabling arbitrary code execution in the caller shell if profile selection or profile contents can be influenced. It also echoes multiple imported variables that may expose sensitive data. No direct evidence of malware is present in the snippet itself.

Confidence: 70%Severity: 55%
AnomalyLOW
windows/Microsoft.PowerShell_profile.ps1

This code fragment is primarily an interactive local configuration loader. It does not show direct malware behaviors like exfiltration or reverse shells, but it performs security-sensitive actions: it bypasses execution policy and dot-sources a local setup script, then launches a CLI based on environment variables set by that script. If an attacker can tamper with set-hsb-env.ps1 or the local profiles directory/files, this becomes a practical arbitrary code execution vector under the user’s privileges. Security risk is moderate due to the elevated execution mechanism and dependency on local file integrity, while explicit malicious intent is not evidenced here.

Confidence: 62%Severity: 58%
AnomalyLOW
windows/set-hsb-env.ps1

This is a local environment-profile loader. The dominant risk is that it dot-sources a filesystem script derived from a user-controlled parameter, which can become arbitrary code execution if profile files are tampered with or selection is manipulated. The snippet itself does not show network exfiltration or credential theft, but it does print environment/SSH-related configuration values that may be sensitive depending on how logs/console output are handled.

Confidence: 70%Severity: 60%
AnomalyLOW
windows/run-hsb.cmd

The provided fragment is a launcher that enables high-impact PowerShell execution (dot-sourcing a companion script) with -ExecutionPolicy Bypass and forwards an unvalidated profile argument into that execution context, then runs a command named "claude" whose resolution is environment-dependent. No direct malicious activity is visible in this snippet alone, but the security posture is moderately risky and warrants inspection of set-hsb-env.ps1 (especially how it uses -Profile and whether it performs network/file/process actions) and verification of what "claude" resolves to.

Confidence: 55%Severity: 60%
Audit Metadata
Analyzed At
Jul 2, 2026, 05:03 PM
Package URL
pkg:socket/skills-sh/NVIDIA%2Fskills%2Fhsb-setup%2F@75abd553e520096300299a51a2a0ac9942ab71c24c1991cf1d158809f0abb528
Security Audit — socket — hsb-setup