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

# @serifpersia/dango@3.6.9 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 worker receives credentials that can grant access to the user’s Google account.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Credential Exfiltration
- **Selected version:** 3.6.9
- **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 active Google login and refresh paths disclose OAuth credentials to a package-selected default recipient unrelated to Google. This is concrete credential exfiltration during ordinary sign-in.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 98.0%
- **Started:** 2026-10-20T17:54:38.123Z
- **Finished:** 2026-10-20T17:55:28.675Z
- **Download time:** 1774 ms
- **Static scan time:** 2986 ms
- **AI review time:** 45792 ms
- **Total time:** 50552 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 default Google sign-in flow sends OAuth credentials through a package-selected worker.

- **Trigger:** A user starts Google sign-in or refreshes a saved Google session.

- **Impact:** The worker receives credentials that can grant access to the user’s Google account.

- **Evidence paths:** server/dist/server.js

- **Review source:** ai\_review

- **Reviewed:** 2026-10-20T17:55:28.675Z

### AI review details

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

- **Mechanism:** The package posts the authorization code and saved refresh token to the default worker endpoint.

- **Attack narrative:** During Google sign-in, the callback sends the authorization code to the package’s default worker, which returns and stores tokens. Later refreshes send the saved refresh token to that worker as well. The default is embedded in the package, so it is not a recipient selected by the user; the source shows no recipient-specific consent gate.

- **Rationale:** The active Google login and refresh paths disclose OAuth credentials to a package-selected default recipient unrelated to Google. This is concrete credential exfiltration during ordinary sign-in.

- **Network endpoints:** https://google-auth-client.ramiserifpersia.workers.dev

### Review decision

- **Verdict:** Malicious

- **Confidence:** 98.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** server/dist/server.js defaults Google OAuth to the package-controlled worker at google-auth-client.ramiserifpersia.workers.dev., The Google login flow sends the authorization code to that worker’s /exchange endpoint and saves the returned tokens., When refreshing Google access, the package sends the saved refresh token to the same worker’s /refresh endpoint., The Google login callback invokes the token exchange during ordinary sign-in.

## Affected versions and remediation

This report applies to @serifpersia/dango@3.6.9.

- Avoid installing @serifpersia/dango@3.6.9. 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: 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. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** server/dist/server.js
- **Public source:** [View source](<https://unpkg.com/@serifpersia/dango@3.6.9/server/dist/server.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L192: In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Z,ue=!0,Be=!1;return{s:M(function(){U=U.call(S)},"s"),n:M(function(){var j=U.next();return ...
L193: In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var st,je=!0,Ve=!1;return{s:M(function(){te=te.call(H)},"s"),n:M(function(){var xe=te.next();re...
L194: `)&&(w=c(w,E,"%0A")),u(w,"\r")&&(w=c(w,m,"%0D")),u(w,"	")&&(w=c(w,I,"%09")),w})(y),B},"pathToFileURL"),URL:l}},883:(i,s,o)=>{function a(d){return a=typeof Symbol=="function"&&typeo...
```

### 4. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** orchestrator.js
- **Public source:** [View source](<https://unpkg.com/@serifpersia/dango@3.6.9/orchestrator.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L460: if (isWin) {
L461: return spawn('cmd.exe', ['/c', pmShellCmd, ...args], spawnOpts(cwd, env))
L462: }
```

### 5. High: Eval
- **Category:** Source
- **Confidence:** 80.0%
- **Path:** server/dist/server.js
- **Public source:** [View source](<https://unpkg.com/@serifpersia/dango@3.6.9/server/dist/server.js>)

Package source references dynamic code evaluation.

Public source snippet (untrusted):

```javascript
L271: AND l.id IS NULL`)).map(o=>o.id)}var wf="dango-mt-",Sf=e=>!!e&&/^dango-mt-\d+$/.test(e),Vu=e=>Object.values(e).some(t=>typeof t=="string"&&t.startsWith(wf));si();Ut();ii();import P...
L272: `).map(r=>r.trim()).filter(r=>r!=="").map(r=>r.replace(/:$/,""))}catch{return[]}}async init(){try{await this.executeCommand(["version"]);let t=await this.listRemotes();if(oe.RCLONE...
L273: params: ${r}`),this.query=t,this.params=r,this.cause=n,this.name="DrizzleQueryError",Error.captureStackTrace(this,gV),n&&(this.cause=n)}},fV=class extends Rf{static[ee]="Transactio...
```

### 6. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** server/dist/server.js
- **Public source:** [View source](<https://unpkg.com/@serifpersia/dango@3.6.9/server/dist/server.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L1: import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
L2: var hbe=Object.create;var Lx=Object.defineProperty;var gbe=Object.getOwnPropertyDescriptor;var fbe=Object.getOwnPropertyNames;var Ebe=Object.getPrototypeOf,pbe=Object.prototype.has...
```

### 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. Critical: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** server/dist/server.js
- **Public source:** [View source](<https://unpkg.com/@serifpersia/dango@3.6.9/server/dist/server.js>)

A single source file combines environment access, network access, and code or shell execution with blocking evidence.

Public source snippet (untrusted):

```javascript
L3: causes have become circular...`;let n=$x(e);return n?(t.add(e),r+`
L4: caused by: `+PG(n,t)):r},Dwe=e=>PG(e,new Set),HG=(e,t,r)=>{if(!Em(e))return"";let n=r?"":e.message||"";if(t.has(e))return n+": ...";let i=$x(e);if(i){t.add(e);let s=typeof e.cause=...
L5: ${I}`,y=`,
```

### 11. Critical: Hardcoded Runtime Data Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** server/dist/server.js
- **Public source:** [View source](<https://unpkg.com/@serifpersia/dango@3.6.9/server/dist/server.js>)

Source sends credentials or rich application records to a package-controlled external receiver enabled by default.

Public source snippet (untrusted):

```javascript
L3: causes have become circular...`;let n=$x(e);return n?(t.add(e),r+`
L4: caused by: `+PG(n,t)):r},Dwe=e=>PG(e,new Set),HG=(e,t,r)=>{if(!Em(e))return"";let n=r?"":e.message||"";if(t.has(e))return n+": ...";let i=$x(e);if(i){t.add(e);let s=typeof e.cause=...
L5: ${I}`,y=`,
...
L21: ${m}${w}
L22: ${I}`),f.pop(),`{${w}}`}case"number":return isFinite(h)?String(h):t?t(h):"null";case"boolean":return h===!0?"true":"false";case"undefined":return;case"bigint":if(n)return String(h)...
L23: `:`
...
L25: `);let n;for(;(n=ENe.exec(r))!=null;){let i=n[1],s=n[2]||"";s=s.trim();let o=s[0];s=s.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),o==='"'&&(s=s.replace(/\\n/g,`
L26: `),s=s.replace(/\\r/g,"\r")),t[i]=s}return t}function mNe(e){e=e||{};let t=tV(e);e.path=t;let r=Rn.configDotenv(e);if(!r.parsed){let o=new E
```

### 12. Critical: Credential Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** server/dist/server.js
- **Public source:** [View source](<https://unpkg.com/@serifpersia/dango@3.6.9/server/dist/server.js>)

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

Public source snippet (untrusted):

```javascript
L3: causes have become circular...`;let n=$x(e);return n?(t.add(e),r+`
L4: caused by: `+PG(n,t)):r},Dwe=e=>PG(e,new Set),HG=(e,t,r)=>{if(!Em(e))return"";let n=r?"":e.message||"";if(t.has(e))return n+": ...";let i=$x(e);if(i){t.add(e);let s=typeof e.cause=...
L5: ${I}`,y=`,
...
L21: ${m}${w}
L22: ${I}`),f.pop(),`{${w}}`}case"number":return isFinite(h)?String(h):t?t(h):"null";case"boolean":return h===!0?"true":"false";case"undefined":return;case"bigint":if(n)return String(h)...
L23: `:`
...
L25: `);let n;for(;(n=ENe.exec(r))!=null;){let i=n[1],s=n[2]||"";s=s.trim();let o=s[0];s=s.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),o==='"'&&(s=s.replace(/\\n/g,`
L26: `),s=s.replace(/\\r/g,"\r")),t[i]=s}return t}function mNe(e){e=e||{};let t=tV(e);e.path=t;let r=Rn.configDotenv(e);if(!r.parsed){let o=new E
```

### 13. Critical: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** server/dist/server.js
- **Public source:** [View source](<https://unpkg.com/@serifpersia/dango@3.6.9/server/dist/server.js>)

Source executes local commands and sends command output to an external endpoint.

Public source snippet (untrusted):

```javascript
L3: causes have become circular...`;let n=$x(e);return n?(t.add(e),r+`
L4: caused by: `+PG(n,t)):r},Dwe=e=>PG(e,new Set),HG=(e,t,r)=>{if(!Em(e))return"";let n=r?"":e.message||"";if(t.has(e))return n+": ...";let i=$x(e);if(i){t.add(e);let s=typeof e.cause=...
L5: ${I}`,y=`,
```

### 14. Critical: Browser Credential Phishing
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** server/dist/server.js
- **Public source:** [View source](<https://unpkg.com/@serifpersia/dango@3.6.9/server/dist/server.js>)

Source appears to collect browser login credentials for exfiltration.

Public source snippet (untrusted):

```javascript
L3: causes have become circular...`;let n=$x(e);return n?(t.add(e),r+`
L4: caused by: `+PG(n,t)):r},Dwe=e=>PG(e,new Set),HG=(e,t,r)=>{if(!Em(e))return"";let n=r?"":e.message||"";if(t.has(e))return n+": ...";let i=$x(e);if(i){t.add(e);let s=typeof e.cause=...
L5: ${I}`,y=`,
...
L21: ${m}${w}
L22: ${I}`),f.pop(),`{${w}}`}case"number":return isFinite(h)?String(h):t?t(h):"null";case"boolean":return h===!0?"true":"false";case"undefined":return;case"bigint":if(n)return String(h)...
L23: `:`
...
L25: `);let n;for(;(n=ENe.exec(r))!=null;){let i=n[1],s=n[2]||"";s=s.trim();let o=s[0];s=s.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),o==='"'&&(s=s.replace(/\\n/g,`
L26: `),s=s.replace(/\\r/g,"\r")),t[i]=s}return t}function mNe(e){e=e||{};let t=tV(e);e.path=t;let r=Rn.configDotenv(e);if(!r.parsed){let o=new E
```

### 15. Critical: Remote Asset Decode Execute
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** server/dist/server.js
- **Public source:** [View source](<https://unpkg.com/@serifpersia/dango@3.6.9/server/dist/server.js>)

Source fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.

Public source snippet (untrusted):

```javascript
L262: `)),E){let B=!this.#t;B&&(this.#t=new Ope.AsyncQueue,this.#t.wait(),this.#e.shift()),this.#r?.resolve(),this.#r=null,await sy(E);let y,w=new Promise(R=>y=R);this.#r={promise:w,reso...
L263: Data: ${JSON.stringify(t,null,2)}`);this.rest.setToken(t.access_token),this.rest.options.authPrefix=t.token_type,this.refreshToken=t.refresh_token,this.refreshTimeout=setTimeout(()...
L264: ${n.join(`\r
...
L270: WHERE ${i}
L271: AND l.id IS NULL`)).map(o=>o.id)}var wf="dango-mt-",Sf=e=>!!e&&/^dango-mt-\d+$/.test(e),Vu=e=>Object.values(e).some(t=>typeof t=="string"&&t.startsWith(wf));si();Ut();ii();import P...
L272: `).map(r=>r.trim()).filter(r=>r!=="").map(r=>r.replace(/:$/,""))}catch{return[]}}async init(){try{await this.executeCommand(["version"]);let t=await this.listRemotes();if(oe.RCLONE...
```

### 16. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** orchestrator.js
- **Public source:** [View source](<https://unpkg.com/@serifpersia/dango@3.6.9/orchestrator.js>)

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: orchestrator.js spawns server/dist/server.js; helper contains network access plus dynamic code execution.
L1: #!/usr/bin/env node
L2: const { spawn, execSync } = require('child_process')
L3: const readline = require('readline')
L4: const http = require('http')
L5: const os = require('os')
...
L18: if (!res.ok) throw new Error(`HTTP ${res.status}`)
L19: return await res.json()
L20: } finally {
...
L25: function detectGlobalInstall() {
L26: const normalized = __dirname.split(path.sep).join('/')
L27: if (normalized.includes('node_modules/@serifpersia/dango')) return true
...
L65: }
```

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

Package source contains high-entropy string patterns.

### 18. Low: Telemetry
- **Category:** Supply Chain
- **Confidence:** 70.0%

Package source references telemetry or analytics APIs.

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

Package source contains URL literals.

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

### 21. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** orchestrator.js\#virtual:normalized:round1
- **Public source:** [View source](<https://unpkg.com/@serifpersia/dango@3.6.9/orchestrator.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 = 2
```

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

### Published dependency entries
- @hono/node-server ^2.1.1 (Dependency)
- @octokit/auth-oauth-device ^8.0.3 (Dependency)
- @octokit/rest ^22.0.1 (Dependency)
- @trpc/server 11.19.0 (Dependency)
- @xhayper/discord-rpc ^1.3.4 (Dependency)
- cheerio ^1.2.0 (Dependency)
- dotenv ^17.4.2 (Dependency)
- drizzle-orm 1.0.0-rc.4 (Dependency)
- fast-xml-parser ^5.11.1 (Dependency)
- got-scraping ^3.2.9 (Dependency)
- hono ^4.13.9 (Dependency)
- jsdom ^30.1.0 (Dependency)
- lru-cache ^11.5.2 (Dependency)
- pino ^10.3.1 (Dependency)
- ws ^8.18.0 (Dependency)

## Package metadata
- **Package:** @serifpersia/dango
- **Ecosystem:** npm
- **Version:** 3.6.9
- **License:** MIT
- **Version published:** 2026-10-20T17:52:55.587Z
- **Package first seen:** 2026-08-16T13:28:51.138Z
- **Package last seen:** 2026-10-22T16:40:14.053Z
- **Known versions:** 70
- **Latest version:** 3.7.4
- **Appeal under review:** No
- **Description:** A web application for watching anime.
- **Keywords:** anime, react, express, typescript, streaming, cli
- **Runtime engines:** node: \>=22.12.0
- **Artifact files:** 101
- **Artifact unpacked size:** 8,076,117 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@serifpersia/dango/v/3.6.9>)
- [Repository](<https://github.com/serifpersia/dango.git>)
- [Homepage](<https://github.com/serifpersia/dango#readme>)
- [Issues](<https://github.com/serifpersia/dango/issues>)
