gov-overseas-trip-report
Warn
Audited by Socket on Aug 1, 2026
1 alert found:
SecuritySecuritytests/fixtures/open-portal.html
MEDIUMSecurityMEDIUM
tests/fixtures/open-portal.html
No strong evidence of intentional malware, backdoor behavior, or supply-chain compromise is visible in this fragment. However, the code exhibits a high-confidence DOM XSS risk: it concatenates server-provided fields directly into HTML (including data-* attributes) and inserts the result into the DOM with .append(str), and it also generates inline javascript: href links using server-derived parameters. This should be treated as a serious security flaw requiring robust output encoding and removal of javascript: links with safe event binding.
Confidence: 74%Severity: 78%
Audit Metadata