---
schema_version: "1"
id: 1a448c96bfb72460fa0f16a130ddcb5d106d95c07e01d72db4a9bfd3795230bf
title: API Distortion Changes in Lightning Web Security
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/260-0-0/rn_lc_lws_distortion_changes.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_lc_lws_distortion_changes.htm&release=260&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e3ed15be2af1fdced21efe740df3fad09db3162db27ccc765c164346e885c3f7
description: Lightning Web Security (LWS) includes new security protections with more distortions for web APIs. ESLint rules matching the distortions are also available.
products:
  - Cross Cloud Packages Solutions
release: "260"
---
# API Distortion Changes in Lightning Web Security

Lightning Web Security (LWS) includes new security protections with more distortions for web APIs. ESLint rules matching the distortions are also available.

**Where:** This change applies to Lightning Experience, LWR-based Experience Cloud sites, and Lightning web components in Aura sites when LWS is enabled.

**How:** These APIs have new distortions documented in the [LWS Distortion Viewer](https://developer.salesforce.com/tools/lws-distortion-viewer) (can be outdated or unavailable during release preview). Corresponding ESLint rules are in the ESLint package.

- `Promise.try`
- `WebAssembly.Instance.prototype.exports` getter
- `WebAssembly.instantiate`
- `WebAssembly.instantiateStreaming`

#### See Also

- [_Security for Lightning Components_: Look Up Distortion Details in LWS Distortion Viewer](https://developer.salesforce.com/docs/platform/lightning-components-security/guide/lws-tools-distortion-viewer.html)