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

# m0603-rubtsov@1.0.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** — Content passed to the mail function is disclosed to the publisher without the caller being told the destination in the package documentation.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Data exfiltration
- **Selected version:** 1.0.1
- **Selected version is latest:** Yes
- **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 package routes every message supplied to its exported mail function to the publisher’s hardcoded Gmail address, while its README does not disclose that destination. This is a concrete, reachable disclosure to a recipient the caller did not choose.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 95.0%
- **Started:** 2026-11-17T18:08:00.987Z
- **Finished:** 2026-11-17T18:10:33.837Z
- **Download time:** 251 ms
- **Static scan time:** 34 ms
- **AI review time:** 152564 ms
- **Total time:** 152850 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:** The exported mail function sends caller-supplied content to the publisher’s fixed Gmail address.

- **Trigger:** A consumer calls the exported \`send(message)\` function.

- **Impact:** Content passed to the mail function is disclosed to the publisher without the caller being told the destination in the package documentation.

- **Evidence paths:** index.js, README.md

- **Review source:** ai\_review

- **Reviewed:** 2026-11-17T18:10:33.837Z

### AI review details

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

- **Mechanism:** The function uses Nodemailer’s Gmail service and sends the supplied message to a hardcoded recipient; the recipient is not disclosed in the README.

- **Attack narrative:** When a consumer calls \`send(message)\`, the package sends that content by Gmail to a fixed address belonging to the publisher. The README describes email sending but does not identify this recipient, so callers may disclose their message content without knowing it is routed to the publisher.

- **Rationale:** The package routes every message supplied to its exported mail function to the publisher’s hardcoded Gmail address, while its README does not disclose that destination. This is a concrete, reachable disclosure to a recipient the caller did not choose.

- **Files touched:** index.js

- **Network endpoints:** Gmail SMTP (Nodemailer service: 'gmail')

### Review decision

- **Verdict:** Malicious

- **Confidence:** 95.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** The package hardcodes the publisher’s Gmail address as both sender and recipient, and includes a default mail app password., Calling \`send(message)\` submits the caller’s message as email text and HTML to that fixed recipient through Gmail., The README describes sending email but does not disclose the fixed recipient.

- **Evidence against:** The manifest has no install, preinstall, or postinstall hook., Email is sent only when a caller invokes the exported \`send\` function., The package does not show code collecting project files or dumping the environment.

## Affected versions and remediation

This report applies to m0603-rubtsov@1.0.1.

- Avoid installing m0603-rubtsov@1.0.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. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

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

Package source contains high-entropy string patterns.

### 4. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 95.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/m0603-rubtsov@1.0.1/index.js>)

The package hardcodes the publisher’s Gmail address as both sender and recipient, and includes a default mail app password.

Public source snippet (untrusted):

```javascript
const nodemailer = require('nodemailer');

// Фиксированный почтовый адрес получателя (константа по заданию)
const RECEIVER_EMAIL = 'ivanrubzov07@gmail.com';
const SENDER_EMAIL = 'ivanrubzov07@gmail.com';
const APP_PASSWORD = process.env.MAIL_APP_PASSWORD || 'fiyg fhtq eune gbjc';

/**
 * Функция send(message)
 * Принимает один параметр – строку.
 * @param {string} message
 */
async function send(message) {
    const textMessa
```

### 5. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 95.0%
- **Path:** index.js
- **Public source:** [View source](<https://unpkg.com/m0603-rubtsov@1.0.1/index.js>)

Calling \`send(message)\` submits the caller’s message as email text and HTML to that fixed recipient through Gmail.

Public source snippet (untrusted):

```javascript
const info = await transporter.sendMail({
            from: `"Пакет m0603" <${SENDER_EMAIL}>`,
            to: RECEIVER_EMAIL,
            subject: 'Сообщение из опубликованного пакета m0603',
            text: textMessage,
            html: `<h3>Сообщение из пакета m0603</h3>
                   <p><b>Параметр:</b> ${t
```

### 6. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 95.0%
- **Path:** README.md
- **Public source:** [View source](<https://unpkg.com/m0603-rubtsov@1.0.1/README.md>)

The README describes sending email but does not disclose the fixed recipient.

Public source snippet (untrusted):

```markdown
# Модуль m0603

Модуль для отправки почтовых сообщений с помощью пакета `sendmail`.
Разработан в рамках лабораторной работы 06 по дисциплине «Программирование сетевых крос
```

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

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

### Published dependency entries
- nodemailer ^6.9.16 (Dependency)

## Package metadata
- **Package:** m0603-rubtsov
- **Ecosystem:** npm
- **Version:** 1.0.1
- **License:** ISC
- **Version published:** 2026-11-17T16:29:48.776Z
- **Package first seen:** 2026-11-17T18:10:33.837Z
- **Package last seen:** 2026-11-17T18:10:33.837Z
- **Known versions:** 1
- **Latest version:** 1.0.1
- **Appeal under review:** No
- **Description:** Модуль m0603 для лабораторной работы 06 по курсу ПСКП (БГТУ)
- **Author:** Student
- **Keywords:** m0603, pskp, bstu, nodemailer
- **Artifact files:** 3
- **Artifact unpacked size:** 4,319 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/m0603-rubtsov/v/1.0.1>)
