engineering-patterns

Warn

Audited by Socket on Sep 10, 2026

4 alerts found:

Anomalyx3Security
AnomalyLOW
references/container-orchestration-patterns.md

No clear malicious behavior is present. The code implements legitimate container resource enforcement and cleanup, but arbitrary image/command execution and Docker daemon access create a significant security boundary. Validate and authorize images and commands, pin images by digest, validate instance-derived paths and names, restrict mounts and capabilities, use non-root containers, check subprocess results, and implement robust orphan discovery and cleanup.

Confidence: 96%Severity: 62%
AnomalyLOW
references/file-ipc-patterns.md

The fragment describes a legitimate filesystem IPC design and shows no evidence of malware, credential theft, reverse shells, cryptomining, or network exfiltration. The starter implementation contains a concrete path traversal vulnerability because request_id is used directly in a filename without the validation demonstrated earlier. Restrict request IDs to safe filenames, ensure work_dir is trusted and protected, use restrictive file permissions, and apply authorization and resource limits to event/SSE access.

Confidence: 98%Severity: 63%
AnomalyLOW
references/http-service-patterns.md

The fragment documents legitimate FastAPI service patterns and contains no clear malware or deliberate supply-chain attack. It does include notable security risks: broad termination of processes discovered by lsof, explicit TLS certificate-verification bypass, possible path traversal through instance_id if helper validation is insufficient, and an unauthenticated starter WebSocket endpoint. These should be reviewed before production use, but the evidence for malicious intent is low.

Confidence: 94%Severity: 63%
SecurityMEDIUM
references/instance-storage-patterns.md

The fragment describes a legitimate local storage pattern and contains no apparent malicious behavior or obfuscated payload. However, instance_id is used directly in filesystem paths, and delete() can recursively remove the resulting directory. If instance identifiers are influenced by users, network requests, or other untrusted sources, this is a high-impact path-traversal/arbitrary-directory-deletion risk. Validate identifiers against a strict allowlist, reject absolute paths and traversal components, and verify resolved paths remain beneath the intended instances directory. The environment-variable root is an intended configuration mechanism but should be treated as trusted configuration.

Confidence: 97%Severity: 72%
Audit Metadata
Analyzed At
Sep 10, 2026, 03:15 PM
Package URL
pkg:socket/skills-sh/microsoft%2Famplifier-bundle-skills%2Fengineering-patterns%2F@d6f9f5ec521e835866989a97728fce210c7d3c563177465d23193d2ecbb095cf
Security Audit — socket — engineering-patterns