Lines 31-95javascript
33var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
34var __returnValue = (v) => v;
35function __exportSetter(name, newValue) {
36 this[name] = __returnValue.bind(null, newValue);
38var __export = (target, all) => {
40 __defProp(target, name, {
44 set: __exportSetter.bind(all, name)
47var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
48var __require = import.meta.require;
50// ../../node_modules/dotenv/lib/main.js
51var require_main = __commonJS((exports, module) => {
52 var fs = __require("fs");
53 var path = __require("path");
MediumDynamic Require
Package source references dynamic require/import behavior.
dist/bin/bounty.jsView on unpkg · L51 54 var os = __require("os");
55 var crypto = __require("crypto");
57 "\u25C8 encrypted .env [www.dotenvx.com]",
58 "\u25C8 secrets for agents [www.dotenvx.com]",
59 "\u2301 auth for agents [www.vestauth.com]",
60 "\u2318 custom filepath { path: '/custom/path/.env' }",
61 "\u2318 enable debugging { debug: true }",
62 "\u2318 override existing { override: true }",
63 "\u2318 suppress logs { quiet: true }",
64 "\u2318 multiple files { path: ['.env.local', '.env'] }"
66 function _getRandomTip() {
67 return TIPS[Math.floor(Math.random() * TIPS.length)];
69 function parseBoolean(value) {
70 if (typeof value === "string") {
71 return !["false", "0", "no", "off", ""].includes(value.toLowerCase());
73 return Boolean(value);
75 function supportsAnsi() {
76 return process.stdout.isTTY;
77 }
HighCross File Remote Execution Context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/bin/bounty.jsView on unpkg · L75 MediumInstall Persistence
Source writes installer persistence such as shell profile or service configuration.
dist/bin/bounty.jsView on unpkg · L75 79 return supportsAnsi() ? `\x1B[2m${text}\x1B[0m` : text;
81 var LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"]
84 let lines = src.toString();
85 lines = lines.replace(/\r\n?/mg, `
88 while ((match = LINE.exec(lines)) != null) {
90 let value = match[2] || "";
92 const maybeQuote = value[0];
93 value = value.replace(/^(['"`])([\s\S]*)\1$/mg, "$2");
94 if (maybeQuote === '"') {
95 value = value.replace(/\\n/g, `