sap-browser-automation

Warn

Audited by Socket on Jul 22, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/cdp-agent.mjs

No evidence of obfuscated or overtly destructive malware (no reverse shell/process execution/network beaconing in this snippet). However, the code is security-sensitive and potentially abuse-prone: it enables arbitrary JavaScript execution in a target browser context (Runtime.evaluate), and it can export and re-import authentication/session state (cookies + localStorage/sessionStorage) to/from disk. If this library is included in a larger project without clear necessity, it could be repurposed for account/session theft or manipulation. Overall: likely a legitimate CDP automation tool, but high-impact capabilities warrant review and usage restrictions.

Confidence: 68%Severity: 65%
AnomalyLOW
scripts/edge-profile.ps1

No clear evidence of intentional malware (no obfuscation, no persistence, no exfiltration, no overt credential theft) is present in this code fragment. However, it performs high-impact browser automation: it clones and reuses authenticated Edge profile state (Local State + profile directory) and launches Edge with loopback DevTools debugging enabled. The security risk is primarily the sensitive data handling and local DevTools exposure, which could enable session misuse if the script is run with sensitive/attacker-influenced inputs.

Confidence: 62%Severity: 52%
Audit Metadata
Analyzed At
Jul 22, 2026, 01:38 PM
Package URL
pkg:socket/skills-sh/secondsky%2Fsap-skills%2Fsap-browser-automation%2F@a9307ee5d4291f70fd76d8afa81f0c369b30355b96c8f64321e04c9b102a70b7
Security Audit — socket — sap-browser-automation