AI Security Review
scanned 2h ago · by lpm-firewall-aiThe legacy transport can disclose API credentials and request bodies to Sentry when telemetry is active and an API request fails. This is a concrete credential-logging vulnerability, not install-time malware.
Decision evidence
public snapshot- `dist/index.mjs` embeds a DJUST Sentry ingest DSN.
- On non-OK API responses, `dist/index.mjs` sends all request headers and request body to Sentry extras.
- Those headers include `dj-api-key` and an Authorization bearer token.
- `lib/services/auth/auth.service.js` sends login passwords in request bodies, making failed legacy login calls exposable.
- `package.json` has no preinstall, install, or postinstall hook; `prepare` references absent build sources.
- Entrypoints import SDK modules but do not initiate network requests at import time.
- No child-process, filesystem-write, eval, dynamic-import, or persistence APIs were found in shipped runtime JS.
- Normal API traffic targets the caller-supplied `baseUrl`; the modern client uses caller-provided transport hooks.
Source & flagged code
29 flagged · loading sourcePackage contains a critical-looking secret pattern.
dist/services/auth/index.d.tsView on unpkg · L34Supabase service role key (JWT) in dist/services/auth/index.d.ts
dist/services/auth/index.d.tsView on unpkg · L34Hardcoded password in dist/services/auth/index.d.ts
dist/services/auth/index.d.tsView on unpkg · L146Hardcoded password in dist/services/customer-user/customer-user.service.d.ts
dist/services/customer-user/customer-user.service.d.tsView on unpkg · L97Hardcoded password in dist/services/customer-user/index.d.ts
dist/services/customer-user/index.d.tsView on unpkg · L65Hardcoded password in dist/services/auth/auth.service.d.ts
dist/services/auth/auth.service.d.tsView on unpkg · L44Hardcoded password in dist/services/auth/auth.service.d.ts
dist/services/auth/auth.service.d.tsView on unpkg · L189Hardcoded password in dist/services/customer-account/index.d.ts
dist/services/customer-account/index.d.tsView on unpkg · L84Hardcoded password in lib/services/customer-user/customer-user.service.js
lib/services/customer-user/customer-user.service.jsView on unpkg · L107Hardcoded password in lib/services/customer-user/customer-user.service.d.ts
lib/services/customer-user/customer-user.service.d.tsView on unpkg · L97Hardcoded password in lib/services/customer-user/index.js
lib/services/customer-user/index.jsView on unpkg · L84Hardcoded password in lib/services/customer-user/index.d.ts
lib/services/customer-user/index.d.tsView on unpkg · L65Hardcoded password in lib/services/auth/auth.service.d.ts
lib/services/auth/auth.service.d.tsView on unpkg · L44Hardcoded password in lib/services/auth/auth.service.d.ts
lib/services/auth/auth.service.d.tsView on unpkg · L189Supabase service role key (JWT) in lib/services/auth/__mocks__/auth.mocks.js
lib/services/auth/__mocks__/auth.mocks.jsView on unpkg · L9Supabase service role key (JWT) in lib/services/auth/__mocks__/auth.mocks.js
lib/services/auth/__mocks__/auth.mocks.jsView on unpkg · L11Hardcoded password in lib/services/auth/__mocks__/auth.mocks.js
lib/services/auth/__mocks__/auth.mocks.jsView on unpkg · L18Hardcoded password in lib/services/auth/__mocks__/auth.mocks.js
lib/services/auth/__mocks__/auth.mocks.jsView on unpkg · L22Supabase service role key (JWT) in lib/services/auth/index.js
lib/services/auth/index.jsView on unpkg · L44Hardcoded password in lib/services/auth/index.js
lib/services/auth/index.jsView on unpkg · L195Hardcoded password in lib/services/auth/auth.service.js
lib/services/auth/auth.service.jsView on unpkg · L46Hardcoded password in lib/services/auth/auth.service.js
lib/services/auth/auth.service.jsView on unpkg · L256Supabase service role key (JWT) in lib/services/auth/index.d.ts
lib/services/auth/index.d.tsView on unpkg · L34Hardcoded password in lib/services/auth/index.d.ts
lib/services/auth/index.d.tsView on unpkg · L146Hardcoded password in lib/services/customer-account/index.js
lib/services/customer-account/index.jsView on unpkg · L124Hardcoded password in lib/services/customer-account/index.d.ts
lib/services/customer-account/index.d.tsView on unpkg · L84