Benign lua Download

byteask.nvim 0.2.0-1

File located under a node_modules directoryJavaScript source map
SHA-2562e37c3195464ff3cf856f5b65837b71a2b0455b185b1f303bc73d01c64d8ada5
MaleculeH(F)Md(Bk)

Evidence

References AI agent instruction file AGENTS.md · line 1
1# AGENTS.md — byteask.nvim
ESM import of the Node.js dns module connection_string.ts · lines 1–31
1import * as dns from 'dns';
2import ConnectionString from 'mongodb-connection-string-url';
3import * as process from 'process';
4import { URLSearchParams } from 'url';
5
6import type { Document } from './bson';
7import { MongoCredentials } from './cmap/auth/mongo_credentials';
8import { AUTH_MECHS_AUTH_SRC_EXTERNAL, AuthMechanism } from './cmap/auth/providers';
9import { Compressor, type CompressorName } from './cmap/wire_protocol/compression';
10import { Encrypter } from './encrypter';
11import { MongoAPIError, MongoInvalidArgumentError, MongoParseError } from './error';
12import {
13 MongoClient,
14 type MongoClientOptions,
15 type MongoOptions,
16 type PkFactory,
17 type ServerApi,
18 ServerApiVersion
19} from './mongo_client';
20import { MongoLoggableComponent, MongoLogger, SeverityLevel } from './mongo_logger';
21import { ReadConcern, type ReadConcernLevel } from './read_concern';
22import { ReadPreference, type ReadPreferenceMode } from './read_preference';
23import { resolveRuntimeAdapters } from './runtime_adapters';
24import { ServerMonitoringMode } from './sdam/monitor';
25import type { TagSet } from './sdam/server_description';
26import {
27 checkParentDomainMatch,
⋯4 lines
Source references a common DNS query API connection_string.ts · lines 45–48
45:16… NSTimeoutFor(rrtype: 'SRV'): (lookupAddress: string) => Promise<dns.SrvRecord[]>;
46function retryDNSTimeoutFor(rrtype: 'TXT'): (lookupAddress: string) => Promise<string[][]>;
47function retryDNSTimeoutFor(
48 …
resolveTxt() DNS TXT query call connection_string.ts · lines 80–90
80:2… }
81
82 // Asynchronously start TXT resolution so that we do not have to wait until
83 // the SRV record is resolved before starting a second DNS query.
84 const lookupAddress = options.srvHost;
85 const txtResolutionPromise = resolveTxt(lookupAddress);
86
87 txtResolutionPromise.then(undefined, squashError); // rejections will be handled later
88
89 const hostname = `_${options.srvServiceName}._tcp.${lookupAddress}`;
90 // Reso …
resolveMx/Ns/Soa/Srv() record query call connection_string.ts · lines 90–101
90:46… t as the list of hosts to connect to.
91 const addresses = await resolveSrv(hostname);
92
93 if (addresses.length === 0) {
94 throw new MongoAPIError('No addresses found at host');
95 }
96
97 for (const { name } of addresses) {
98 checkParentDomainMatch(name, lookupAddress);
99 }
100
101 const hos …

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.