---
canonical: "https://firewall.lpm.dev/npm/@cortana-md/engine/v/1.4.1"
markdown: "https://firewall.lpm.dev/npm/@cortana-md/engine/v/1.4.1.md"
package: "@cortana-md/engine"
report_status: "published"
title: "@cortana-md/engine@1.4.1 npm security report"
verdict: "malicious"
version: "1.4.1"
---

# @cortana-md/engine@1.4.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** — The remote service receives phone and paired-session metadata; the connected account gains unsolicited newsletter subscriptions.

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

Running the hosted bot reports account metadata to its configured remote service. On connection, it also follows package-defined WhatsApp newsletters without a user command.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Malicious
- **Confidence:** 88.0%
- **Started:** 2026-09-04T05:48:31.552Z
- **Finished:** 2026-09-04T05:50:05.900Z
- **Download time:** 777 ms
- **Static scan time:** 10123 ms
- **AI review time:** 83448 ms
- **Total time:** 94348 ms

## Security analysis

### Published attack-surface review

- **Summary:** Running the hosted bot reports account metadata to its configured remote service. On connection, it also follows package-defined WhatsApp newsletters without a user command.

- **Trigger:** The consumer calls the exported hosted-bot start function and connects a WhatsApp account.

- **Impact:** The remote service receives phone and paired-session metadata; the connected account gains unsolicited newsletter subscriptions.

- **Evidence paths:** package.json, dist/hosted.cjs

- **Review source:** ai\_review

- **Reviewed:** 2026-09-04T05:50:05.900Z

### AI review details

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

- **Mechanism:** Periodic remote heartbeat and automatic newsletter subscription.

- **Rationale:** The package has no install hook, but its manifest-reachable hosted runtime performs undisclosed account metadata reporting and unsolicited account mutation. The scanner's credential-exfiltration claim was not confirmed by the inspected source.

- **Files touched:** dist/hosted.cjs, package.json

- **Network endpoints:** https://cortana-web.onrender.com/api/internal/heartbeat, https://cortana-web.onrender.com/api/internal/check-auth

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 88.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Low

- **Evidence for:** Starting the hosted bot sends its phone number and paired-session metadata to a remote service every minute., A connected WhatsApp account is automatically made to follow package-defined newsletters.

- **Evidence against:** No lifecycle install hooks are declared., The inspected outbound request sends bot metadata, not credential files or process environment values., The inspected shell use is for user-requested media conversion with FFmpeg.

## Public findings

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

Package declares npm scripts.

### 2. High: High Secret
- **Category:** Secrets
- **Confidence:** 85.0%
- **Path:** dist/hosted.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/hosted.cjs>)

Package contains a high-severity secret pattern.

Public source snippet (untrusted):

```javascript
patternName = google_api_key
severity = high
line = 789
matchedText = Usage: ....ext!
```

### 3. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/hosted.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/hosted.cjs>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L472: \u{1F4DE} *+254113374182*`);if(e.length<2)return t(`\u274C Usage: .mpesa <phone> <amount>
L473: Example: .mpesa 254712345678 1`);let r=e[0],s=e[1];await t(`\u{1F4B8} Initiating STK Push of KES ${s} to ${r}...`);let i=await rD();if(!i)return t("\u274C Failed to authenticate wi...
L474:
```

### 4. High: Eval
- **Category:** Source
- **Confidence:** 80.0%
- **Path:** dist/index.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/index.cjs>)

Package source references dynamic code evaluation.

Public source snippet (untrusted):

```javascript
L4: at `+n[i].toString();return a}return e&&(a+=" at "+xm(e)),a}function b8(t,e,n){var r="\x1B[36;1m"+this._namespace+"\x1B[22;39m \x1B[33;1mdeprecated\x1B[22;39m \x1B[0m"+t+"\x1B[39m"...
L5: \x1B[36mat `+n[a].toString()+"\x1B[39m";return r}return e&&(r+=" \x1B[36m"+xm(e)+"\x1B[39m"),r}function xm(t){return p8(d8,t[0])+":"+t[1]+":"+t[2]}function wl(){var t=Error.stackTr...
L6: return function (`+n+`) {log.call(deprecate, message, site)
```

### 5. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/hosted.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/hosted.cjs>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L6: )
L7: `;await n.execute(T`CREATE SCHEMA IF NOT EXISTS ${T.identifier(i)}`),await n.execute(o);let c=(await n.all(T`select id, hash, created_at from ${T.identifier(i)}.${T.identifier(s)} ...
L8: `);go.write(W0.format.apply(W0,e))}}Object.defineProperty(tr.exports,"isWin",{get:function(){return gc},set:function(t){gc=t}});tr.exports.warnTo=function(t){var e=go;return go=t,e...
```

### 6. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/hosted.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/hosted.cjs>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L1: "use strict";var gM=Object.create;var da=Object.defineProperty;var yM=Object.getOwnPropertyDescriptor;var wM=Object.getOwnPropertyNames;var bM=Object.getPrototypeOf,xM=Object.proto...
L2: CREATE TABLE IF NOT EXISTS ${T.identifier(i)}.${T.identifier(s)} (
...
L6: )
L7: `;await n.execute(T`CREATE SCHEMA IF NOT EXISTS ${T.identifier(i)}`),await n.execute(o);let c=(await n.all(T`select id, hash, created_at from ${T.identifier(i)}.${T.identifier(s)} ...
L8: `);go.write(W0.format.apply(W0,e))}}Object.defineProperty(tr.exports,"isWin",{get:function(){return gc},set:function(t){gc=t}});tr.exports.warnTo=function(t){var e=go;return go=t,e...
L9: 
...
L51: `):" "+yv(o[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s}v
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 10. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/hosted.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/hosted.cjs>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L466: 
L467: > Downloaded via Cortana MD Premium`,contextInfo:{externalAdReply:{title:l.title||c,body:"CORTANA MD | VIDEO DOWNLOADER",thumbnailUrl:l.thumbnail,mediaType:2,showAdAttribution:!1,s...
L468: 
...
L472: \u{1F4DE} *+254113374182*`);if(e.length<2)return t(`\u274C Usage: .mpesa <phone> <amount>
L473: Example: .mpesa 254712345678 1`);let r=e[0],s=e[1];await t(`\u{1F4B8} Initiating STK Push of KES ${s} to ${r}...`);let i=await rD();if(!i)return t("\u274C Failed to authenticate wi...
L474:
```

### 11. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/index.cjs>)

Source appears to send environment or credential material to an external endpoint.

Public source snippet (untrusted):

```javascript
L1: "use strict";var s8=Object.create;var yl=Object.defineProperty;var o8=Object.getOwnPropertyDescriptor;var c8=Object.getOwnPropertyNames;var u8=Object.getPrototypeOf,l8=Object.proto...
L2: at `+t[n].toString();return e}function g8(t){if(!t)throw new TypeError("argument namespace is required");var e=wl(),n=ss(e[1]),r=n[0];function a(i){vl.call(a,i)}return a._file=r,a....
L3: `,"utf8")}}}function ss(t){var e=t.getFileName()||"<anonymous>",n=t.getLineNumber(),r=t.getColumnNumber();t.isEval()&&(e=t.getEvalOrigin()+", "+e);var a=[e,n,r];return a.callSite=t...
L4: at `+n[i].toString();return a}return e&&(a+=" at "+xm(e)),a}function b8(t,e,n){var r="\x1B[36;1m"+this._namespace+"\x1B[22;39m \x1B[33;1mdeprecated\x1B[22;39m \x1B[0m"+t+"\x1B[39m"...
L5: \x1B[36mat `+n[a].toString()+"\x1B[39m";retu
```

### 12. High: Entrypoint Foreign Package Code Overwrite
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/hosted.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/hosted.cjs>)

Manifest-reachable source overwrites another installed package with package-defined remote behavior.

Public source snippet (untrusted):

```javascript
Manifest-reachable source resolves another installed package, overwrites its runtime code, and injects package-defined remote behavior.
dist/hosted.cjs:
`);go.write(W0.format.apply(W0,e))}}Object.defineProperty(tr.exports,"isWin",{get:function(){return gc},set:function(t){gc=t}});tr.exports.warnTo=function(t){var e=go;return go=t,e...
Menu file not found. Contact EDUQARIZ.`}var Ec,wn,bx,xx,Sx=b(()=>{"use strict";me();Mt();Ec=ie(require("fs"),1),wn=ie(require("path"),1),bx=["https://files.catbox.moe/j7mg5d.jpg","...
https://github.com/edu-qariz/Cortana_MD
https://thecortana.tech
https://t.me/cortanatech
https://t.me/techdepro
`).map(e=>e.trim()).join(" ")};yS.O=function(t){return this.inspectOpts.colors=this.useColors,Lc.inspect(t,this.inspectOpts)}});var bS=le((r6,Bp)=>{typeof process>"u"|
```

### 13. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/index.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/index.cjs>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L1: "use strict";var s8=Object.create;var yl=Object.defineProperty;var o8=Object.getOwnPropertyDescriptor;var c8=Object.getOwnPropertyNames;var u8=Object.getPrototypeOf,l8=Object.proto...
L2: at `+t[n].toString();return e}function g8(t){if(!t)throw new TypeError("argument namespace is required");var e=wl(),n=ss(e[1]),r=n[0];function a(i){vl.call(a,i)}return a._file=r,a....
L3: `,"utf8")}}}function ss(t){var e=t.getFileName()||"<anonymous>",n=t.getLineNumber(),r=t.getColumnNumber();t.isEval()&&(e=t.getEvalOrigin()+", "+e);var a=[e,n,r];return a.callSite=t...
L4: at `+n[i].toString();return a}return e&&(a+=" at "+xm(e)),a}function b8(t,e,n){var r="\x1B[36;1m"+this._namespace+"\x1B[22;39m \x1B[33;1mdeprecated\x1B[22;39m \x1B[0m"+t+"\x1B[39m"...
L5: \x1B[36mat `+n[a].toString()+"\x1B[39m";retu
```

### 14. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/index.cjs>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: scripts.start -> dist/index.cjs
L1: "use strict";var s8=Object.create;var yl=Object.defineProperty;var o8=Object.getOwnPropertyDescriptor;var c8=Object.getOwnPropertyNames;var u8=Object.getPrototypeOf,l8=Object.proto...
L2: at `+t[n].toString();return e}function g8(t){if(!t)throw new TypeError("argument namespace is required");var e=wl(),n=ss(e[1]),r=n[0];function a(i){vl.call(a,i)}return a._file=r,a....
L3: `,"utf8")}}}function ss(t){var e=t.getFileName()||"<anonymous>",n=t.getLineNumber(),r=t.getColumnNumber();t.isEval()&&(e=t.getEvalOrigin()+", "+e);var a=[e,n,r];return a.callSite=t...
L4: at `+n[i].toString();return a}return e&&(a+=" at "+xm(e)),a}function b8(t,e,n){var r="\x1B[36;1m"+this._namespace+"\x1B[22;39m \x1B[33;1mdeprecated\x1B[22;39m \x1B[0m"+t+"\x1B
```

### 15. High: Trigger Reachable Credential Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/index.cjs>)

A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable credential exfiltration chain: scripts.start -> dist/index.cjs
L1: "use strict";var s8=Object.create;var yl=Object.defineProperty;var o8=Object.getOwnPropertyDescriptor;var c8=Object.getOwnPropertyNames;var u8=Object.getPrototypeOf,l8=Object.proto...
L2: at `+t[n].toString();return e}function g8(t){if(!t)throw new TypeError("argument namespace is required");var e=wl(),n=ss(e[1]),r=n[0];function a(i){vl.call(a,i)}return a._file=r,a....
L3: `,"utf8")}}}function ss(t){var e=t.getFileName()||"<anonymous>",n=t.getLineNumber(),r=t.getColumnNumber();t.isEval()&&(e=t.getEvalOrigin()+", "+e);var a=[e,n,r];return a.callSite=t...
L4: at `+n[i].toString();return a}return e&&(a+=" at "+xm(e)),a}function b8(t,e,n){var r="\x1B[36;1m"+this._namespace+"\x1B[22;39m \x1B[33;1mdeprecated\x1B
```

### 16. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/index.cjs>)

A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable command-output exfiltration chain: scripts.start -> dist/index.cjs
L1: "use strict";var s8=Object.create;var yl=Object.defineProperty;var o8=Object.getOwnPropertyDescriptor;var c8=Object.getOwnPropertyNames;var u8=Object.getPrototypeOf,l8=Object.proto...
L2: at `+t[n].toString();return e}function g8(t){if(!t)throw new TypeError("argument namespace is required");var e=wl(),n=ss(e[1]),r=n[0];function a(i){vl.call(a,i)}return a._file=r,a....
L3: `,"utf8")}}}function ss(t){var e=t.getFileName()||"<anonymous>",n=t.getLineNumber(),r=t.getColumnNumber();t.isEval()&&(e=t.getEvalOrigin()+", "+e);var a=[e,n,r];return a.callSite=t...
L4: at `+n[i].toString();return a}return e&&(a+=" at "+xm(e)),a}function b8(t,e,n){var r="\x1B[36;1m"+this._namespace+"\x1B[22;39m \x1B[33;1mdeprecated
```

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

Package source contains high-entropy string patterns.

### 18. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 19. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 20. Medium: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** dist/hosted.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/hosted.cjs>)

Hardcoded password in dist/hosted.cjs

Public source snippet (untrusted):

```javascript
patternName = generic_password
severity = medium
line = 410
matchedText = _${c.des...T-4*
```

### 21. High: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** dist/hosted.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/hosted.cjs>)

Google API key in dist/hosted.cjs

Public source snippet (untrusted):

```javascript
patternName = google_api_key
severity = high
line = 789
matchedText = Usage: ....ext!
```

### 22. Medium: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** dist/index.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/index.cjs>)

Hardcoded password in dist/index.cjs

Public source snippet (untrusted):

```javascript
patternName = generic_password
severity = medium
line = 402
matchedText = _${c.des...T-4*
```

### 23. High: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** dist/index.cjs
- **Public source:** [View source](<https://unpkg.com/@cortana-md/engine@1.4.1/dist/index.cjs>)

Google API key in dist/index.cjs

Public source snippet (untrusted):

```javascript
patternName = google_api_key
severity = high
line = 781
matchedText = Usage: ....ext!
```

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

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

## Package metadata
- **Package:** @cortana-md/engine
- **Ecosystem:** npm
- **Version:** 1.4.1
- **License:** MIT
- **Version published:** 2026-08-26T23:25:14.489Z
- **Package first seen:** 2026-08-27T06:29:13.313Z
- **Package last seen:** 2026-09-04T05:50:05.900Z
- **Known versions:** 2
- **Latest version:** 0.0.1-security
- **Appeal under review:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@cortana-md/engine/v/1.4.1>)
- [OSV advisory](<https://osv.dev/vulnerability/MAL-2026-14553>)
- [ADVISORY](<https://github.com/advisories/GHSA-2569-5468-g975>)
- [PACKAGE](<https://www.npmjs.com/package/@cortana-md/engine/v/1.4.1>)
