printing-press-import

Warn

Audited by Socket on Oct 9, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
references/import-place.sh

The code implements a filesystem import operation and contains no clear malware, data theft, or obfuscation. It has a meaningful security risk because untrusted API_SLUG input is used directly in rm -rf and mv paths without validation, allowing unintended overwrites or deletion through path traversal. Restrict API_SLUG to a validated single safe path component and verify resolved paths remain under PRESS_HOME before destructive operations.

Confidence: 97%Severity: 72%
AnomalyLOW
references/import-backup.sh

The code implements a legitimate local backup function and contains no clear malware, exfiltration, persistence, or obfuscation. However, API_SLUG is used directly in source and output paths, creating a path traversal risk. Restrict the slug to an expected character set, such as [A-Za-z0-9._-], reject absolute paths and .. components, and validate that resolved source paths remain beneath PRESS_HOME. The archive filename should also be constructed from a sanitized slug.

Confidence: 98%Severity: 58%
Audit Metadata
Analyzed At
Oct 9, 2026, 07:52 PM
Package URL
pkg:socket/skills-sh/mvanhorn%2Fcli-printing-press%2Fprinting-press-import%2F@7e05276cb7ad0ee41d9e515bbe058452cdc47e0e01111fc108021671f3e410d7