prisma-7

Warn

Audited by Socket on Sep 29, 2026

6 alerts found:

Anomalyx4Securityx2
AnomalyLOW
800-guides/340-ai-sdk-nextjs.md

No clear signs of supply-chain malware (no backdoor/persistence, no credential theft, no suspicious outbound traffic beyond the intended AI provider). However, the implementation as shown has substantial security risks in a multi-user setting: GET /api/messages appears to expose all stored messages to any caller, and POST /api/chat accepts a client-controlled session id used directly for upsert/write without shown authorization/ownership checks (IDOR/cross-session tampering risk). Additionally, JSON.parse on stored content can cause availability issues if stored data is malformed.

Confidence: 65%Severity: 55%
SecurityMEDIUM
800-guides/360-embed-studio-nextjs.md

No overt supply-chain malware indicators (obfuscation, persistence, exfiltration) are present in this fragment. However, the POST endpoint functions as an unauthenticated remote database query execution proxy by accepting arbitrary body.query and passing it directly to the Prisma executor against DATABASE_URL, then returning results and serialized errors to the caller. This is a high-impact security risk (confidentiality/integrity) if the endpoint is reachable by unauthorized users or exposed via permissive CORS.

Confidence: 72%Severity: 88%
SecurityMEDIUM
references/multi-schema.md

No clear malicious payload or malware behavior is present. The examples have a significant tenant-isolation concern because client-controlled tenant identifiers choose the database schema without demonstrated authorization. The raw search-path construction also needs correction, and the sample migration credentials must remain placeholders.

Confidence: 94%Severity: 72%
AnomalyLOW
references/betterauth.md

No malicious behavior is evident. The primary security issue is that the profile-update server action permits a caller to change any user's name by supplying that user's ID, without authentication or authorization checks. Require a valid session and restrict updates to the authenticated user's own record (or enforce an explicit authorized role).

Confidence: 98%Severity: 68%
AnomalyLOW
references/sveltekit.md

No evidence of malware or intentional supply-chain sabotage. The examples demonstrate security weaknesses if copied as-is: possible token disclosure through layout data, unvalidated mass assignment, and missing authorization checks on mutations. Treat these as application security issues in the sample patterns, not evidence of malicious package behavior.

Confidence: 97%Severity: 57%
AnomalyLOW
references/netlify.md

No evidence of malware or obfuscation is present. The main concern is application-level data exposure: the sample users endpoint returns all user records without authentication or field filtering. Pagination input is also unvalidated. These are security risks in the example if deployed as-is, not indicators of malicious package behavior.

Confidence: 98%Severity: 56%
Audit Metadata
Analyzed At
Sep 29, 2026, 06:18 AM
Package URL
pkg:socket/skills-sh/fusengine%2Fagents%2Fprisma-7%2F@1629e44a922e5a2d9d8d8e4a7415344b98de69cb