integration-builder
Audited by Socket on Sep 9, 2026
9 alerts found:
Anomalyx7Securityx2The fragment implements recognizable Stripe billing functionality and contains no clear evidence of malware, data theft, backdoors, or intentional sabotage. It has material application-security and reliability issues: especially trusting a client-controlled priceId, identifying customers by email, and recording webhook completion before successful handling. These should be corrected before production use, but the code shown is not itself indicative of malicious package behavior.
The fragment appears to be a legitimate Lemon Squeezy payment integration, not malware. It contains no credential theft, suspicious outbound communication, command execution, obfuscated payload, or backdoor behavior. The principal risks are webhook reliability and authorization-state correctness: deduplication is performed before processing and treats all insertion failures as duplicates, which can permanently drop events; malformed payloads are not schema-validated; body-size enforcement is incomplete; and entitlement revocation/expiry is not implemented in the shown handlers. These issues warrant remediation before production use but do not indicate malicious supply-chain behavior.
No clear malicious or intentionally obfuscated behavior is present. The code implements a plausible Wompi integration and keeps private credentials server-side. Security concerns are primarily input validation, unauthenticated checkout initialization, incomplete webhook schema and transaction validation, and imperfect webhook idempotency/error handling. The external Widget script is an expected third-party dependency but should be treated as a supply-chain trust boundary.
No clear malware, credential theft, destructive behavior, or intentional supply-chain payload is present. The code is a normal Lemon Squeezy checkout integration. The principal security concern is the entitlement webhook: it must verify the Lemon Squeezy signature, validate paid order and product details, authorize the custom metadata relationship, and process events idempotently before granting access. The checkout input should also be schema-validated and the client should handle failed responses. Assessment is limited because the createCheckout implementation and complete webhook verification code are not included.
No malicious behavior, credential theft, suspicious exfiltration, or obfuscated payload is evident. The code follows expected Stripe payment patterns, but payment integrity is weakened by unvalidated client-controlled quantity and by generating a fresh idempotency key for every request. Validate quantity and product constraints server-side, and persist or derive idempotency keys from a logical order/retry identity. The embedded and Express snippets are incomplete as shown because required db and amount-conversion references are missing.
No malicious behavior or supply-chain backdoor is evident. The code is legitimate Stripe SCA example code, but it has security and reliability weaknesses: random per-request idempotency keys can permit duplicate charges, and passing client_secret in a URL without visible authentication or intent/customer binding can leak a payment capability. These issues should be corrected before production use.
No malicious behavior or obfuscation is evident. The code implements legitimate Stripe refund functionality, but it has significant financial-integrity risks: per-request idempotency keys do not prevent duplicate refunds, refund inputs and eligibility are insufficiently validated, and concurrent/refund-webhook state handling is incomplete. Use a stable idempotency key tied to an application refund operation, validate and authorize all fields server-side, enforce remaining refundable balance and state checks atomically, and reconcile individual refunds through webhooks.
The code implements an expected server-side refund integration and shows no evidence of malicious or intentionally obfuscated behavior. Its main risks are missing refund-amount validation, lack of visible CSRF protection, absence of idempotency/concurrency controls, and premature local status updates. These are security and financial-integrity concerns that should be addressed before production use, but they do not indicate package malware.
The code is a legitimate Mercado Pago refund endpoint and contains no apparent malware, backdoor, credential theft, or suspicious network behavior. It has material security and financial-integrity weaknesses: per-request UUIDs do not protect retries from duplicate refunds, amount validation is absent, zero can unintentionally request a full refund, and partial refunds are incorrectly recorded as fully refunded. Use a stable idempotency key tied to a persisted refund operation, validate positive amounts against the remaining refundable balance, serialize concurrent refunds, and update status according to the actual refund result/webhook.