Scan your whole stack
From OX Research Newsroom
Are you using @simplysf/simply-utam-core?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.5.4
@simplysf/simply-utam-core was last scanned on 29 Nov 2026 at version 0.5.4. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.5.4 LATEST | 29 Nov 2026 | No rules fired |
| 0.5.2 | 17 Nov 2026 | No rules fired |
| 0.5.3 | 17 Nov 2026 | No rules fired |
| 0.5.1 | 17 Nov 2026 | Not shown |
| 0.5.0 | 12 Nov 2026 | Not shown |
Findings for v0.5.4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.5.4; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Org authentication, Lightning navigation, UTAM compilation helpers, AST transformations, and debugging helpers for UTAM UI tests against Salesforce, built by SimplySF.
It logs the test browser in to an org you have already authorized with the Salesforce CLI — no passwords in the test project — and opens Lightning pages directly, so a test starts on the page it is about instead of clicking its way there. It also provides zero-config build transformations for LWC root rules, AST overrides, namespace mapping, and offline Cucumber step scaffolding.
npm install --save-dev @simplysf/simply-utam-core
Requires Node.js 22 or later, and an org authorized with sf org login web (or any other sf org login flow) on the machine running the tests.
Point SIMPLY_UTAM_USERNAME at the org's username or alias, then navigate from a WebdriverIO spec:
import { LightningNavigator, logUtamHtml } from '@simplysf/simply-utam-core';
import AccountDetail from '../pageObjects/accountDetail'; // your compiled UTAM page object
const navigator = new LightningNavigator();
describe('Account record', () => {
it('opens on the detail page', async () => {
await navigator.goToRecord('MyApp', '001000000000001AAA');
const accountDetail = await utam.load(AccountDetail);
await logUtamHtml(accountDetail); // prints the selector and rendered HTML when a locator misbehaves
});
});
LightningNavigator uses WebdriverIO's global browser by default and a TestEnvironment for
SIMPLY_UTAM_USERNAME; pass either explicitly to override:
const navigator = new LightningNavigator({
environment: new TestEnvironment({ username: 'qa-sandbox' }),
browser,
});
App names are developer names. A bare name is treated as a custom app in the default namespace
(MyApp opens c__MyApp); a namespaced name such as standard__Sales is used as given.
TestEnvironment loads the org from the Salesforce CLI's auth store with @salesforce/core and asks
Salesforce's single-access endpoint
for a one-time frontdoor URL. The access token never appears in a URL, so it does not end up in
browser history, WebDriver logs, or a screenshot of the address bar. The org is authenticated once per
TestEnvironment and shared by every navigation.
Everything below is exported from the package root and is semver-covered. Anything not listed is internal.
| Export | Description |
|---|---|
TestEnvironment |
The org under test. new TestEnvironment({ username?, env?, allowedDomains?, log? }) throws when neither a username nor SIMPLY_UTAM_USERNAME is set. log receives the warning for a deprecated UTAM_ name. |
testEnvironment.getOrg() |
The authenticated Org. Authenticates on first call and shares the result; a failure is not cached. |
testEnvironment.getConnection() |
The underlying @salesforce/core Connection. |
testEnvironment.init() |
Authenticates eagerly, for a runner hook that wants auth failures reported before any test starts. Optional. |
testEnvironment.buildFrontdoorUrl(returnUrl?) |
A one-time URL that logs a browser in and lands on returnUrl. |
testEnvironment.buildExperienceFrontdoorUrl(prefix?, ret?) |
One-time single-access login URL for Experience Cloud sites. |
testEnvironment.getOrgId() |
Dynamically queries the 15- or 18-character Salesforce Organization ID. |
testEnvironment.getUserIdByUsername(username) |
Resolves a target username to its Salesforce User record ID. |
testEnvironment.getNetworkIdByPrefix(prefix?) |
Resolves an Experience site prefix to its corresponding Network ID. |
testEnvironment.buildExperienceUrl(prefix?, path?) |
Constructs a fully qualified secure Experience Cloud site URL. |
getTestEnvironment(options?) |
Retrieves the global singleton TestEnvironment instance. |
setTestEnvironment(instance) |
Overrides the global TestEnvironment singleton. |
resetTestEnvironment() |
Resets and unsets the global TestEnvironment singleton. |
isHostAllowed(host, instanceUrl?, allowedDomains?) |
Validates a hostname against Salesforce default patterns and custom overrides. |
validateAndParseSecureUrl(secureUrl, siteId, validator?) |
Validates and parses a raw secure URL retrieved from SiteDetail. |
DEFAULT_ALLOWED_HOST_PATTERNS |
Default trusted Salesforce domain RegExp matchers. |
USERNAME_ENV, ALLOWED_DOMAINS_ENV |
'SIMPLY_UTAM_USERNAME', 'SIMPLY_UTAM_ALLOWED_DOMAINS' (comma-separated domains or *. wildcards). |
LEGACY_ENV, EnvName |
Every variable read, by its SIMPLY_UTAM_ name, mapped to the deprecated UTAM_ name it replaced; the type of a current name. |
envValue(env, name, log?) |
Reads name, falling back to its deprecated UTAM_ name while name is unset or empty, and warns through log (default console.warn) once per name for that env. |
deprecatedEnvWarning(name) |
The text of that warning: which variable to rename, and to what. |
TestEnvironmentOptions, EnvLike |
Types for the constructor options and an environment-shaped map. |
| Export | Description |
|---|---|
LightningNavigator |
new LightningNavigator({ environment?, browser? }); every method logs in and opens a page. |
navigator.goToLoginUrl(returnUrl?) |
Log in and open any path, or the org's default landing page. |
navigator.goToApplication(app) |
An app's home page. |
navigator.goToCreateNewRecord(app, objectApiName) |
An object's new-record form. |
navigator.goToRecord(app, recordId) |
A record's detail page. |
navigator.goToRelatedList(app, recordId, relatedListName) |
One of a record's related lists. |
navigator.goToExperiencePage(sitePrefix, pageName) |
Log in and navigate directly to an Experience Cloud community page. |
navigator.loginAsUser(username, returnUrl?) |
Impersonate a user via admin session and redirect to target page. |
navigator.loginAsExperienceUser(username, sitePrefix, pageName) |
Impersonate a user and switch network to an Experience Cloud site. |
goToLoginUrl, goToExperiencePage, loginAsUser |
Standalone functional wrappers for navigation methods. |
goToApplication, goToCreateNewRecord, goToRecord |
Standalone functional wrappers for record and app navigation. |
goToRelatedList, resolveBrowser |
Standalone helper to open related list and resolve browser instance. |
applicationPath, newRecordPath, recordPath, relatedListPath |
The Lightning paths the methods above open, for a caller building its own URLs. |
lightningAppName(app) |
The namespacing rule: MyApp becomes c__MyApp, a namespaced name is unchanged. |
NavigableBrowser, FrontdoorUrlSource, LightningNavigatorOptions |
Structural types: anything with navigateTo(url), anything with buildFrontdoorUrl(returnUrl?). |
| Export | Description |
|---|---|
logUtamHtml(utamObject, log?) |
Logs the selector a UTAM object resolved through and its HTML, shadow roots included. |
getUtamHtml(utamObject) |
The same { selector, html } without logging it, e.g. to attach to a test report. |
formatUtamHtml(utamHtml) |
The colored block logUtamHtml writes. |
UtamElementLike, UtamHtml |
Types: any UTAM page object or element, and what it resolved to. |
| Export | Description |
|---|---|
discoverProject(rootDir?) |
Discovers sfdx-project.json, package directories, namespaces, and LWC components. |
findLwcDirectories(dirPath) |
Recursively locates directories named lwc. |
discoverComponentsInPackageDir(pkgDir, rootDir) |
Finds all LWC components and metadata inside a given package directory. |
.forceignore Management| Export | Description |
|---|---|
ensureForceignore(options?) |
Adds missing UTAM rules to a project's .forceignore, creating it when sfdx-project.json exists. |
mergeForceignore(content, options?) |
Pure merge of missing rules into .forceignore content; never changes an existing line. |
resolveUtamTestIgnoreRules(testDirs, packageDirs) |
Rules for UTAM test folders that sit inside a package directory, relative to the project root. |
SIMPLY_UTAM_FORCEIGNORE_RULES |
The rules for UTAM artifacts in LWC bundles, with the existing patterns accepted as covering each. |
FORCEIGNORE_HEADER, FORCEIGNORE_FILE |
The # Ignore UTAM comment that heads our rules, and the .forceignore file name. |
DEFAULT_FORCEIGNORE_REGION |
Default # -- START CUSTOMIZATION / # -- END CUSTOMIZATION region markers. |
ForceignoreRule, ForceignoreResult, ForceignorePlacement |
Types: a rule, what happened to the file, and where rules were written. |
MergeForceignoreOptions, MergeForceignoreResult, EnsureForceignoreOptions |
Option and result types for the functions above. |
.gitignore ManagementFind threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.