---
canonical: "https://firewall.lpm.dev/npm/@luoyi-dsh/instagram-plugin/v/1.0.8"
markdown: "https://firewall.lpm.dev/npm/@luoyi-dsh/instagram-plugin/v/1.0.8.md"
package: "@luoyi-dsh/instagram-plugin"
report_status: "published"
title: "@luoyi-dsh/instagram-plugin@1.0.8 npm security report"
verdict: "clean"
version: "1.0.8"
---

# @luoyi-dsh/instagram-plugin@1.0.8 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
**Allowed — no malicious behavior detected** — No malicious behavior detected. 12 low-signal pattern(s) reviewed.

- **Verdict:** Clean
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 1.0.8
- **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: clean; recommendation: mark clean. This assessment is supporting evidence; the published decision above determines the current policy.

The flagged credential flows use configurable model API endpoints or the matching Google and xAI provider endpoints. The package’s scheduled reply behavior is part of its stated purpose, though DM replies are enabled by default.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Clean
- **Recorded analysis confidence:** 90.0%
- **Started:** 2026-10-30T09:14:28.638Z
- **Finished:** 2026-10-30T09:15:00.237Z
- **Download time:** 262 ms
- **Static scan time:** 507 ms
- **AI review time:** 30830 ms
- **Total time:** 31599 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:** No attack was identified. The package uses configured model credentials for its Instagram automation features.

- **Trigger:** LLM requests from configured duties or an explicit connection test; scheduled duties run when enabled and the Instagram MCP client is ready.

- **Impact:** Expected model inference and Instagram reply automation; no unrelated credential destination or concealed collection was found.

- **Review source:** ai\_review

- **Reviewed:** 2026-10-30T09:15:00.237Z

### AI review details

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

- **Mechanism:** Reads configured API keys or subscription tokens and sends them with prompts to the configured API or the matching provider API.

- **Rationale:** The flagged credential flows use configurable model API endpoints or the matching Google and xAI provider endpoints. The package’s scheduled reply behavior is part of its stated purpose, though DM replies are enabled by default.

- **Files touched:** ~/.dsh/.credentials.yaml, ~/.dsh/plugins/subscriptions/auth.json, ../dsh-discord-plugin/data/config.json

- **Network endpoints:** api.deepseek.com, daily-cloudcode-pa.googleapis.com, cloudcode-pa.googleapis.com, oauth2.googleapis.com, api.x.ai

### Review decision

- **Verdict:** Clean

- **Confidence:** 90.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for AI clean decision:** The manifest describes an Instagram automation plugin and exposes its plugin entry point., Custom API keys are sent to a configurable OpenAI-compatible API base, defaulting to api.deepseek.com., Subscription credentials are loaded for provider integrations and sent to the corresponding Google or xAI API endpoints., Background DM and mention reply duties are gated by plugin configuration and are part of the stated Instagram automation purpose.

- **Evidence against:** DM replies are enabled by default and scheduled every three minutes once the Instagram MCP client is ready.

## Affected versions and remediation

This report applies to @luoyi-dsh/instagram-plugin@1.0.8.

- Review the evidence and your use of @luoyi-dsh/instagram-plugin@1.0.8 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: Non Install Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 80.0%

Package declares lifecycle scripts that are not normally run for registry tarball installs.

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

Package declares npm scripts.

### 3. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** client.js
- **Public source:** [View source](<https://unpkg.com/@luoyi-dsh/instagram-plugin@1.0.8/client.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L17: factory: (require) => {
L18: const React = require('react')
L19: const h = React.createElement
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 7. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/lib/llm.js
- **Public source:** [View source](<https://unpkg.com/@luoyi-dsh/instagram-plugin@1.0.8/dist/lib/llm.js>)

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

Public source snippet (untrusted):

```javascript
L101: try {
L102: const home = process.env.DSH_HOME || join(process.env.USERPROFILE || process.env.HOME || '', '.dsh');
L103: const authPath = join(home, 'plugins', 'subscriptions', 'auth.json');
L104: if (existsSync(authPath)) {
L105: const data = JSON.parse(readFileSync(authPath, 'utf-8'));
L106: const list = [];
...
L213: const timer = setTimeout(() => controller.abort(), 6000);
L214: const resp = await fetch(url, {
L215: headers: { 'User-Agent': 'Mozilla/5.0' },
...
L226: return {
L227: inlineData: {
L228: mimeType,
```

### 8. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/lib/llm.js
- **Public source:** [View source](<https://unpkg.com/@luoyi-dsh/instagram-plugin@1.0.8/dist/lib/llm.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: manifest.main -> dist/index.js -> dist/lib/llm.js
L101: try {
L102: const home = process.env.DSH_HOME || join(process.env.USERPROFILE || process.env.HOME || '', '.dsh');
L103: const authPath = join(home, 'plugins', 'subscriptions', 'auth.json');
L104: if (existsSync(authPath)) {
L105: const data = JSON.parse(readFileSync(authPath, 'utf-8'));
L106: const list = [];
...
L213: const timer = setTimeout(() => controller.abort(), 6000);
L214: const resp = await fetch(url, {
L215: headers: { 'User-Agent': 'Mozilla/5.0' },
...
L226: return {
L227: inlineData: {
L228: mimeType,
```

### 9. High: Trigger Reachable Credential Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/lib/llm.js
- **Public source:** [View source](<https://unpkg.com/@luoyi-dsh/instagram-plugin@1.0.8/dist/lib/llm.js>)

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

Public source snippet (untrusted):

```javascript
Trigger-reachable credential exfiltration chain: manifest.main -> dist/index.js -> dist/lib/llm.js
L101: try {
L102: const home = process.env.DSH_HOME || join(process.env.USERPROFILE || process.env.HOME || '', '.dsh');
L103: const authPath = join(home, 'plugins', 'subscriptions', 'auth.json');
L104: if (existsSync(authPath)) {
L105: const data = JSON.parse(readFileSync(authPath, 'utf-8'));
L106: const list = [];
...
L213: const timer = setTimeout(() => controller.abort(), 6000);
L214: const resp = await fetch(url, {
L215: headers: { 'User-Agent': 'Mozilla/5.0' },
...
L226: return {
L227: inlineData: {
L228: mimeType,
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 12. 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.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** prepare
- **Dependencies:** 4
- **Optional dependencies:** 0
- **Peer dependencies:** 2
- **Development dependencies:** 2
- **Published dependency-graph edges:** 6

### Published dependency entries
- @deepseek-ai/schemastery ^3.18.5 (Dependency)
- @luoyi-dsh/instagram-mcp ^1.0.0 (Dependency)
- @modelcontextprotocol/sdk ^1.6.0 (Dependency)
- dotenv ^16.4.7 (Dependency)
- @deepseek-ai/dsh-tools \* (PeerDependency)
- cordis \* (PeerDependency)

## Package metadata
- **Package:** @luoyi-dsh/instagram-plugin
- **Ecosystem:** npm
- **Version:** 1.0.8
- **License:** MIT
- **Version published:** 2026-10-28T06:24:38.912Z
- **Package first seen:** 2026-10-27T22:20:36.570Z
- **Package last seen:** 2026-10-30T09:15:26.975Z
- **Known versions:** 6
- **Latest version:** 1.0.11
- **Appeal under review:** No
- **Description:** DeepSeek Harness (DSH) Instagram 插件：背景標籤巡查推薦、被@提問上下文推理應答與私訊雙向互動
- **Author:** Raxytw
- **Maintainers:** raxytw
- **Keywords:** dsh, dsh-plugin, deepseek-harness, instagram, mcp, duty
- **Artifact files:** 47
- **Artifact unpacked size:** 517,380 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@luoyi-dsh/instagram-plugin/v/1.0.8>)
- [Repository](<https://github.com/Raxytw/dsh-instagram-plugin>)
- [Homepage](<https://github.com/Raxytw/dsh-instagram-plugin#readme>)
- [Issues](<https://github.com/Raxytw/dsh-instagram-plugin/issues>)
