security-audit

Warn

Audited by Socket on Jul 12, 2026

3 alerts found:

Securityx3
SecurityMEDIUM
evals/files/orders_api.js

This code exhibits critical security weaknesses rather than typical safe supply-chain library behavior. Authentication is effectively bypassable because JWTs are not verified (jwt.decode is trusted). The orders endpoints build SQL with string interpolation from untrusted inputs, enabling SQL injection. The invoice endpoint executes a shell command using attacker-controlled data, creating a strong command injection/path manipulation risk. Additionally, user updates use mass assignment (req.body drives updated columns) and database error stacks are returned to clients. Overall, the security risk is extremely high and the module should not be used without substantial remediation (JWT verification, fully parameterized SQL, eliminating shell exec or strict allowlisting, field-level update restrictions, and safe error handling).

Confidence: 80%Severity: 96%
SecurityMEDIUM
evals/files/ci.yml

This workflow has a critical CI/CD security design issue: it runs on pull_request_target while checking out and executing untrusted PR code, grants write-all permissions, and directly deploys build artifacts to a production S3 bucket using AWS secrets (with --delete). Additionally, it executes an external action from a moving ref (@main), increasing supply-chain integrity risk. Even without visible malicious code, the configuration enables PR-based or third-party-action-based sabotage of production assets and potentially secret exposure.

Confidence: 82%Severity: 95%
SecurityMEDIUM
evals/files/deployment.yaml

This Kubernetes manifest configures an API workload in a takeover-ready way: it runs privileged as root, mounts the host root filesystem into the container, binds the default ServiceAccount to cluster-admin, and hardcodes a plaintext password while using a mutable image tag. No explicit malicious code is shown in the snippet, but the configuration dramatically increases the likelihood and impact of compromise (including supply-chain amplification) and warrants immediate remediation (use Secrets, remove privileged/hostPath mounts, enforce least-privilege RBAC, and pin images).

Confidence: 74%Severity: 96%
Audit Metadata
Analyzed At
Jul 12, 2026, 07:09 AM
Package URL
pkg:socket/skills-sh/noorkhalel%2Fsaas-ai-skills%2Fsecurity-audit%2F@fa8c700e43b2479340871d83dd40def800dbc7d7b039c584a7f04b11fbf8a027
Security Audit — socket — security-audit