---
canonical: "https://firewall.lpm.dev/npm/investing"
markdown: "https://firewall.lpm.dev/npm/investing/v/0.1.142.md"
package: "investing"
report_status: "under_review"
title: "investing@0.1.142 npm security report"
verdict: "unknown"
version: "0.1.142"
---

# investing@0.1.142 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. 16 low-signal pattern(s) reviewed.

- **Verdict:** Unknown
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Under Review
- **Threat category:** None published
- **Selected version:** 0.1.142
- **Selected version is latest:** No
- **Analysis source:** Static Scan Results (rust-scanner)

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.

Static analysis completed at 86.0% confidence. No malicious behavior was detected; 16 low-signal pattern(s) were surfaced and cleared.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Unknown
- **Recorded analysis confidence:** 86.0%
- **Started:** 2026-10-01T17:41:14.662Z
- **Finished:** 2026-10-01T17:41:20.984Z
- **Download time:** 770 ms
- **Static scan time:** 5550 ms
- **AI review time:** Not available
- **Total time:** 6322 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

No additional public attack-surface or AI-review details are available.

## Affected versions and remediation

This report applies to investing@0.1.142.

- Review the evidence and your use of investing@0.1.142 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: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** dist/index-CLlAnStL-B7EBGdAY.cjs
- **Public source:** [View source](<https://unpkg.com/investing@0.1.142/dist/index-CLlAnStL-B7EBGdAY.cjs>)

Package contains a possible secret pattern.

Public source snippet (untrusted):

```javascript
patternName = generic_password
severity = medium
line = 1
```

### 3. High: Eval
- **Category:** Source
- **Confidence:** 80.0%
- **Path:** dist/archiver-web.es-SgFqI9XP.js
- **Public source:** [View source](<https://unpkg.com/investing@0.1.142/dist/archiver-web.es-SgFqI9XP.js>)

Package source references dynamic code evaluation.

Public source snippet (untrusted):

```javascript
L1: import{c as e,g as t}from"./index-TqOJnUcZ.js";function r(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamic...
```

### 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/index-TqOJnUcZ.js
- **Public source:** [View source](<https://unpkg.com/investing@0.1.142/dist/index-TqOJnUcZ.js>)

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

Public source snippet (untrusted):

```javascript
L1: import{relations as e,eq as t,and as n,desc as r,asc as i,sql as a,gte as o,lte as s}from"drizzle-orm";import c from"xgboost_node";import l from"yahoo-finance2";import u from"doten...
L2: CREATE TABLE IF NOT EXISTS ${Y.identifier(r)} (
...
L12: )
L13: `;await t.run(i);const a=(await t.values(Y`SELECT id, hash, created_at FROM ${Y.identifier(r)} ORDER BY created_at DESC LIMIT 1`))[0]??void 0;await t.transaction(async t=>{for(cons...
L14: return new Map}const om=mf("greeks");function sm(e){return Math.exp(-.5*e*e)/Math.sqrt(2*Math.PI)}function cm(e){const t=Math.max(1e-4,Math.min(.9999,e)),n=[-39.69683028665376,220....
L15: return new Set}(0,t.cooldownMinutes),i=n.filter(e=>!r.has(e.id));if(0===i.length)return[];const a=[];for(const c of i)c.tokenYes&&a.push(c.tokenYes),c.tokenNo&&a.push
```

### 8. High: Credential Redirect Persistence
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index--JDrsJ7n.cjs
- **Public source:** [View source](<https://unpkg.com/investing@0.1.142/dist/index--JDrsJ7n.cjs>)

Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.

Public source snippet (untrusted):

```javascript
Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/index--JDrsJ7n.cjs:
`;await t.run(i);const a=(await t.values(x`SELECT id, hash, created_at FROM ${x.identifier(r)} ORDER BY created_at DESC LIMIT 1`))[0]??void 0;await t.transaction(async t=>{for(cons...
```

### 9. Critical: Wallet Drain
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index-TqOJnUcZ.js
- **Public source:** [View source](<https://unpkg.com/investing@0.1.142/dist/index-TqOJnUcZ.js>)

Source uses private key material to transfer cryptocurrency funds.

Public source snippet (untrusted):

```javascript
L1: import{relations as e,eq as t,and as n,desc as r,asc as i,sql as a,gte as o,lte as s}from"drizzle-orm";import c from"xgboost_node";import l from"yahoo-finance2";import u from"doten...
L2: CREATE TABLE IF NOT EXISTS ${Y.identifier(r)} (
...
L12: )
L13: `;await t.run(i);const a=(await t.values(Y`SELECT id, hash, created_at FROM ${Y.identifier(r)} ORDER BY created_at DESC LIMIT 1`))[0]??void 0;await t.transaction(async t=>{for(cons...
L14: return new Map}const om=mf("greeks");function sm(e){return Math.exp(-.5*e*e)/Math.sqrt(2*Math.PI)}function cm(e){const t=Math.max(1e-4,Math.min(.9999,e)),n=[-39.69683028665376,220....
L15: return new Set}(0,t.cooldownMinutes),i=n.filter(e=>!r.has(e.id));if(0===i.length)return[];const a=[];for(const c of i)c.tokenYes&&a.push(c.tokenYes),c.tokenNo&&a.push
```

### 10. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index--JDrsJ7n.cjs
- **Public source:** [View source](<https://unpkg.com/investing@0.1.142/dist/index--JDrsJ7n.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: manifest.main -> dist/index.js -> dist/index--JDrsJ7n.cjs
L1: "use strict";Object.create,Object.defineProperty,Object.getOwnPropertyDescriptor,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.prototype.hasOwnProperty;const e=require("d...
L2: CREATE TABLE IF NOT EXISTS ${x.identifier(r)} (
...
L12: )
L13: `;await t.run(i);const a=(await t.values(x`SELECT id, hash, created_at FROM ${x.identifier(r)} ORDER BY created_at DESC LIMIT 1`))[0]??void 0;await t.transaction(async t=>{for(cons...
```

### 11. High: Trigger Reachable Credential Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/index--JDrsJ7n.cjs
- **Public source:** [View source](<https://unpkg.com/investing@0.1.142/dist/index--JDrsJ7n.cjs>)

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/index--JDrsJ7n.cjs
L1: "use strict";Object.create,Object.defineProperty,Object.getOwnPropertyDescriptor,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.prototype.hasOwnProperty;const e=require("d...
L2: CREATE TABLE IF NOT EXISTS ${x.identifier(r)} (
...
L12: )
L13: `;await t.run(i);const a=(await t.values(x`SELECT id, hash, created_at FROM ${x.identifier(r)} ORDER BY created_at DESC LIMIT 1`))[0]??void 0;await t.transaction(async t=>{for(cons...
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

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

### 15. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/index--JDrsJ7n.cjs
- **Public source:** [View source](<https://unpkg.com/investing@0.1.142/dist/index--JDrsJ7n.cjs>)

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

Public source snippet (untrusted):

```javascript
stage = ast_semantic_analysis; reason = ast_trace_path_limit_exceeded; limitedFiles = 2
```

### 16. Medium: Secret Pattern
- **Category:** Secrets
- **Confidence:** 75.0%
- **Path:** dist/index-CLlAnStL-C554ZmGF.js
- **Public source:** [View source](<https://unpkg.com/investing@0.1.142/dist/index-CLlAnStL-C554ZmGF.js>)

Hardcoded password in dist/index-CLlAnStL-C554ZmGF.js

Public source snippet (untrusted):

```javascript
patternName = generic_password
severity = medium
line = 1
```

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

- **Dependencies:** 25
- **Optional dependencies:** 3
- **Peer dependencies:** 1
- **Development dependencies:** 6
- **Published dependency-graph edges:** 29

### Published dependency entries
- @alpacahq/alpaca-trade-api ^3.1.3 (Dependency)
- @langchain/core ^1.1.8 (Dependency)
- @langchain/google-genai 2.1.3 (Dependency)
- @langchain/groq ^1.0.2 (Dependency)
- @langchain/langgraph ^0.2.0 (Dependency)
- @langchain/openai ^1.2.0 (Dependency)
- @polymarket/clob-client 5.1.3 (Dependency)
- axios ^1.13.2 (Dependency)
- csv-parse 6.1.0 (Dependency)
- date-fns 4.1.0 (Dependency)
- dotenv ^17.2.3 (Dependency)
- dukascopy-node ^1.46.3 (Dependency)
- ethers ^6.16.0 (Dependency)
- grab-url ^1.0.20 (Dependency)
- indicatorts ^2.2.2 (Dependency)
- langchain ^1.2.3 (Dependency)
- nanoid 5.1.6 (Dependency)
- node-fetch ^3.3.2 (Dependency)
- pinets ^0.8.3 (Dependency)
- qwksearch-api-client ^0.0.12 (Dependency)
- sec-edgar-toolkit ^0.1.1 (Dependency)
- tavily ^1.0.2 (Dependency)
- xgboost\_node ^0.4.2 (Dependency)
- yahoo-finance2 ^3.10.2 (Dependency)
- zod 4.3.4 (Dependency)
- @solana/spl-token ^0.4.9 (OptionalDependency)
- @solana/web3.js ^1.98.4 (OptionalDependency)
- bs58 ^6.0.0 (OptionalDependency)
- drizzle-orm ^0.45.1 (PeerDependency)

## Package metadata
- **Package:** investing
- **Ecosystem:** npm
- **Version:** 0.1.142
- **License:** rights.institute/prosper
- **Version published:** 2026-10-01T17:40:29.240Z
- **Package first seen:** 2026-09-11T08:16:56.039Z
- **Package last seen:** 2026-10-08T13:57:36.035Z
- **Known versions:** 76
- **Latest version:** 0.1.184
- **Appeal under review:** No
- **Description:** Reusable investment utilities, trading agents, and financial data tools
- **Author:** vtempest
- **Maintainers:** vtempest
- **Keywords:** investing, trading, stocks, alpaca, prediction-markets, financial-data, yahoo-finance, sec-filings, trading-agents
- **Artifact files:** 235
- **Artifact unpacked size:** 5,169,154 bytes
- **Artifact signatures:** 2
- **Attestations:** Yes
- **Provenance:** https://slsa.dev/provenance/v1

## References
- [HTML security report](<https://firewall.lpm.dev/npm/investing/v/0.1.142>)
- [Repository](<https://github.com/OpenSourceAGI/ai-broker-investing-agent>)
- [Homepage](<https://github.com/OpenSourceAGI/ai-broker-investing-agent#readme>)
- [Issues](<https://github.com/OpenSourceAGI/ai-broker-investing-agent/issues>)
