abd-architecture-specification

Warn

Audited by Socket on Sep 11, 2026

3 alerts found:

Anomalyx3
AnomalyLOW
eval/fail/pml-my-spa-original/architecture-specification.md

The fragment does not indicate intentional malware or supply-chain compromise. It documents legitimate frontend functionality, but contains a known and material payment message-origin validation weakness: both outgoing and incoming postMessage communication are insufficiently restricted. It also describes deliberate transmission of customer PII to Hotjar and campaign data to analytics vendors, which requires privacy review and consent controls. The iframe srcdoc boundary requires review of sanitization, sandboxing, CSP, and server trust assumptions. Findings are limited to the supplied fragment and do not establish the behavior of omitted code.

Confidence: 94%Severity: 62%
AnomalyLOW
eval/pass/pml-my-spa-spec/src/pages/Onboarding/pages/Checkout/steps/Payment/architecture-context.md

The fragment shows an acknowledged cross-origin messaging security weakness: payment state is accepted from unvalidated window messages, and the iframe command is sent with a wildcard target origin. This could permit forged success or error events if an attacker can send messages to the page, but there is no clear evidence of malicious intent or data theft in the visible code.

Confidence: 95%Severity: 58%
AnomalyLOW
eval/pass/pml-my-spa-spec/src/recoil/architecture-context.md

The fragment does not show intentional malware, credential theft, exfiltration, persistence beyond Cognito token storage, or obfuscated behavior. It does contain a significant session-isolation reliability issue: calling a React hook from a service function is invalid, and cleanup occurs only after successful Auth.signOut(). The reset mechanism should be implemented through a valid React-facing custom hook or direct Recoil store integration, and cleanup should be structured so it runs reliably even when remote sign-out fails. The security concern is accidental retention of PII or buffered credentials rather than malicious behavior.

Confidence: 97%Severity: 58%
Audit Metadata
Analyzed At
Sep 11, 2026, 02:15 PM
Package URL
pkg:socket/skills-sh/abd-works%2Fabd-skills%2Fabd-architecture-specification%2F@fe6744c134c6be85ebc54170b59d97a7999b679955899e13d2afe605eb5e8870