Hostile 92% go Download

github.com/openobserve/openobserve v0.92.0-rc3

malicious npm dependency embedded

JSON value closes quote before shell commandcurl basic auth token credential

Evidence

Python module-level function call data_gen.py · lines 1–16
1"""Shared deterministic data generator for query agent tests.
2
3Used by both conftest.py (test fixture) and compute_counts.py (DuckDB oracle).
4"""
5
6import json
7import random
8from datetime import datetime, timedelta, timezone
9from pathlib import Path
10
11random.seed(42)
12
13# Number of queries this generator produces data for.
14# build_dataset() default must match this value.
15# Must be >= the highest query ID (e.g. Q1000 -> NUM_QUERIES = 1000).
16# Changing this requires re-running comput …
Parses JSON data with Python data_gen.py · lines 24–29
24:27… le__).parent / "base_ts_override.json"
25if _OVERRIDE_FILE.exists():
26 BASE_TS = json.loads(_OVERRIDE_FILE.read_text())["BASE_TS"]
27else:
28 _now = datetime.now(timezone.utc).replace(second=0, microsecond=0)
29 # Anchor BASE_TS 2 hours in the past. Records span forward from th …
HTTP request for .env file data_gen.py · lines 499–515
499:12… T /favicon.ico",
500 "POST /admin/config",
501 "GET /api/products",
502 "PUT /api/cart/update",
503 "DELETE /api/session",
504 "GET /.env",
505 "POST /api/login {\"user\":\"admin\"}",
506 ],
507
508 "user_agent_str": [
509 "Mozilla/5.0 Chrome/120",
510 "curl/7.88.1",
511 "python-requests/2.31",
512 "Mozilla/5.0 Firefox/121",
513 "PostmanRuntime/7.35",
514 "Mozilla/5.0 Safari/17.2",
515 "axios/1.6.0" …
curl basic auth token credential ServiceAccountsList.spec.js · lines 1135–1141
1135:9… pect(dialogHtml).toContain("test-token-abc123");
1136 });
1137
1138 it("cURL snippet uses Basic auth (curl -u identifier:token), not Bearer", () => {
1139 wrapper.vm.revealToken("the-token", "[email protected]");
1140 const curl = wrapper.vm.tokenCurlSnippet;
1141 // OpenObserve uses HTTP Basic auth, not Bearer toke …
JSON value closes quote before shell command session.rs · lines 1599–1611
1599:12… json!({"trace_id": "abc-123"}),
1600 json!({"trace_id": "abc-123"}),
1601 json!({"trace_id": "bad';drop"}),
1602 ];
1603
⋯8 lines

Showing the top 5 files — 3 more files (33 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.