---
canonical: "https://firewall.lpm.dev/npm/pcm-agents/v/1.0.16"
markdown: "https://firewall.lpm.dev/npm/pcm-agents/v/1.0.16.md"
package: "pcm-agents"
report_status: "published"
title: "pcm-agents@1.0.16 npm security report"
verdict: "suspicious"
version: "1.0.16"
---

# pcm-agents@1.0.16 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
**Flagged — allowed with a warning** — Allowed by default policy, but 12 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Telemetry warning (can be blocked)
- **Public report status:** Published
- **Threat category:** Telemetry
- **Selected version:** 1.0.16
- **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: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The package automatically sends chat-modal focus and visibility telemetry, including conversation state, to Sentry and associates it with the SDK user identifier. This is an undisclosed runtime telemetry risk; the inspected code does not show credential theft or an unrelated install-time action.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 91.0%
- **Started:** 2026-11-18T17:16:42.900Z
- **Finished:** 2026-11-18T17:18:24.391Z
- **Download time:** 770 ms
- **Static scan time:** 11326 ms
- **AI review time:** 89393 ms
- **Total time:** 101491 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:** Undisclosed runtime telemetry sends chat-modal focus and visibility events to Sentry.

- **Trigger:** When the chat modal is used and the page becomes hidden or the window loses focus; Sentry is initialized by the collection's global runtime setup.

- **Impact:** The telemetry links user or conversation activity to an account identifier at the Sentry endpoint without a visible opt-out.

- **Evidence paths:** dist/collection/collection-manifest.json, dist/collection/utils/init.js, dist/collection/utils/sentry-reporter.js, dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-18T17:18:24.391Z

### AI review details

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

- **Mechanism:** The component submits message events containing user interaction and conversation state. The reporter also associates events with a stored SDK user identifier.

- **Rationale:** The package automatically sends chat-modal focus and visibility telemetry, including conversation state, to Sentry and associates it with the SDK user identifier. This is an undisclosed runtime telemetry risk; the inspected code does not show credential theft or an unrelated install-time action.

- **Files touched:** dist/collection/collection-manifest.json, dist/collection/utils/init.js, dist/collection/utils/sentry-reporter.js, dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js

- **Network endpoints:** sentry.ylzhaopin.com

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 91.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The Stencil collection manifest loads utils/init.js globally, which initializes Sentry at sentry.ylzhaopin.com., When pcm-hr-chat-modal loses page visibility or window focus, it submits telemetry with the action and component state, including recording state, question number, and conversation ID., The reporter attaches the stored pcm-sdk-CUser account identifier and sends captured messages and exceptions to Sentry; no opt-out was found.

- **Evidence against:** package.json declares no install, preinstall, or postinstall hooks., Normal API requests attach the SDK token to the configured API domain, which defaults to api.pincaimao.com., The Sentry setup filters exception events whose stack traces do not appear to come from the SDK.

## Affected versions and remediation

This report applies to pcm-agents@1.0.16.

- Review the evidence and your use of pcm-agents@1.0.16 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

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

Package declares npm scripts.

### 2. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/index.cjs.js
- **Public source:** [View source](<https://unpkg.com/pcm-agents@1.0.16/dist/index.cjs.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L1: module.exports = require('./cjs/index.cjs.js');
```

### 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: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

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

### 8. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/pcm-agents/p-B\_xjnWkF.js\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/pcm-agents@1.0.16/dist/pcm-agents/p-B_xjnWkF.js%23virtual%3Anormalized%3Around1>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```text
stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 4
```

### 9. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 91.0%
- **Path:** dist/collection/collection-manifest.json
- **Public source:** [View source](<https://unpkg.com/pcm-agents@1.0.16/dist/collection/collection-manifest.json>)

The Stencil collection manifest loads utils/init.js globally, which initializes Sentry at sentry.ylzhaopin.com.

Public source snippet (untrusted):

```json
"global": "utils/init.js"
}
```

### 10. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 91.0%
- **Path:** dist/collection/utils/init.js
- **Public source:** [View source](<https://unpkg.com/pcm-agents@1.0.16/dist/collection/utils/init.js>)

The Stencil collection manifest loads utils/init.js globally, which initializes Sentry at sentry.ylzhaopin.com.

Public source snippet (untrusted):

```javascript
dsn: "https://[redacted]@sentry.ylzhaopin.com/9",
            integrations: [],
            beforeSend(event) {
                if (event.exception && event.e
```

### 11. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 91.0%
- **Path:** dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js
- **Public source:** [View source](<https://unpkg.com/pcm-agents@1.0.16/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js>)

When pcm-hr-chat-modal loses page visibility or window focus, it submits telemetry with the action and component state, including recording state, question number, and conversation ID.

Public source snippet (untrusted):

```javascript
SentryReporter.captureMessage('用户失去焦点 - 页面隐藏', {
                    action: 'visibilityChange',
                    component: 'pcm-hr-chat-modal',
```

### 12. Medium: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 91.0%
- **Path:** dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js
- **Public source:** [View source](<https://unpkg.com/pcm-agents@1.0.16/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js>)

When pcm-hr-chat-modal loses page visibility or window focus, it submits telemetry with the action and component state, including recording state, question number, and conversation ID.

Public source snippet (untrusted):

```javascript
SentryReporter.captureMessage('用户失去焦点 - 窗口失焦', {
                action: 'windowBlur',
                component: 'pcm-hr-chat-modal',
                type: 'wi
```

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

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

### Published dependency entries
- @sentry/browser ^9.22.0 (Dependency)
- @stencil/react-output-target ^0.8.2 (Dependency)
- @stencil/vue-output-target ^0.10.7 (Dependency)
- @types/marked ^5.0.2 (Dependency)
- clipboard ^2.0.11 (Dependency)
- cos-nodejs-sdk-v5 ^2.14.7 (Dependency)
- dotenv ^16.5.0 (Dependency)
- marked ^9.1.5 (Dependency)
- marked-extended-tables ^2.0.1 (Dependency)
- qrcode-generator ^2.0.4 (Dependency)
- rollup-plugin-dotenv ^0.5.1 (Dependency)

## Package metadata
- **Package:** pcm-agents
- **Ecosystem:** npm
- **Version:** 1.0.16
- **License:** MIT
- **Version published:** 2026-10-28T07:32:10.195Z
- **Package first seen:** 2026-07-18T01:55:22.830Z
- **Package last seen:** 2026-11-18T17:18:33.721Z
- **Known versions:** 15
- **Latest version:** 1.0.20
- **Appeal under review:** No
- **Description:** Components of pcm-agents
- **Maintainers:** d67987143, zzy1998, debugksir
- **Artifact files:** 619
- **Artifact unpacked size:** 28,039,200 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/pcm-agents/v/1.0.16>)
- [Repository](<https://github.com/Pincaimao/pcm-agents-sdk>)
- [Homepage](<https://github.com/Pincaimao/pcm-agents-sdk#readme>)
- [Issues](<https://github.com/Pincaimao/pcm-agents-sdk/issues>)
