@emilgroup/discount-sdk@1.8.1-beta.18
OpenAPI client for @emilgroup/discount-sdk
AI Security Review
scanned 5d ago · by lpm-firewall-aiThe package exports an Emil API client whose requests and token handling serve its stated purpose. The prepare script only builds TypeScript, and the included Git push helper is not invoked automatically.
Decision evidence
public snapshot- The manifest points to dist/index.js and defines prepare only as a TypeScript build; it has no install, preinstall, or postinstall hook.
- The entry point exports SDK classes and modules; it does not start a request or background task.
- Login and workspace-switch requests are implemented as explicit methods and use the configured service base path.
- Token data is read from and written to browser storage; in non-browser environments the SDK initializes it as empty.
- Automatic token refresh is limited to API errors such as 401/403 or certain network errors on requests with an Authorization header.
- git_push.sh stages, commits, and pushes files only when explicitly run; it is not called by the manifest scripts.
- The package has network-capable SDK behavior, but it is directed at the Emil API service and used for client-requested API operations.
- The prepare script runs the build compiler, not code that contacts a collector or reads project data.
Source & flagged code
8 flaggedgit_push.sh stages, commits, and pushes files only when explicitly run; it is not called by the manifest scripts.
git_push.shView on unpkg · L31Findings
Affected versions and remediation
This report applies to @emilgroup/discount-sdk@1.8.1-beta.18.
See all versions of @emilgroup/discount-sdk for other recorded verdicts.
- Review the evidence and your use of @emilgroup/discount-sdk@1.8.1-beta.18 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.