agent-session-monitor

Warn

Audited by Socket on Oct 10, 2026

2 alerts found:

Securityx2
SecurityMEDIUM
scripts/webserver.py

No clear malware behavior is present. The code is a session-monitoring web server, but its unauthenticated network exposure, wildcard CORS, unvalidated session-id file path, and incomplete HTML escaping can expose private session data or enable file reads and XSS. Restrict network access, validate session IDs and file containment, and escape every value inserted into HTML.

Confidence: 96%Severity: 78%
SecurityMEDIUM
main.py

No clear malware behavior is evident. However, log-controlled session IDs are used unsafely to construct output filenames, allowing path traversal and file overwrite if an attacker can influence the parsed logs. The code also persists conversation content in plaintext. The undefined epilog variable causes a startup error in the supplied fragment.

Confidence: 99%Severity: 72%
Audit Metadata
Analyzed At
Oct 10, 2026, 09:04 AM
Package URL
pkg:socket/skills-sh/higress-group%2Fhigress%2Fagent-session-monitor%2F@ff0959f90e14327c8e6eda985d3671b7cce3475bc28d2683cfa6332a77321302