Benign lua Download

astal 0.2.1-2

Legitimate Lua library source code

Executes system commandsAccesses Lua debug module
SHA-2565e7ffc9dc4ad1da737ad6d8b05676af7da0d47a6f9457623d05390feadf5d180

Evidence

Executes system commands init.lua · lines 160–162
160 return os.execute(string.format('lua%s %s', args.lua_version, args.file))
161 elseif args.request then
162 if not Instance:is_running() then
Lua io.popen text process.lua · lines 135–137
135---Class that acts as io.popen using Gio.Subprocess as backend
136---@deprecated
137M.Process = Process
Accesses Lua debug module lib.lua · lines 1–11
1local Variable = require("astal").Variable
2
3local M = {}
4
5function M.src(path)
6 local str = debug.getinfo(2, "S").source:sub(2)
7 local src = str:match("(.*/)") or str:match("(.*\\)") or "./"
8 return src .. path
9end
10
11---@generic T, R
English function-word token "for" lib.lua · lines 15–23
15:2… unction M.map(array, func)
16 local new_arr = {}
17 for i, v in ipairs(array) do
18 new_arr[i] = func(v, i)
19 end
⋯4 lines
Loads Lua modules (require) Bar.lua · lines 1–7
1local astal = require("astal")
2local Widget = require("astal.gtk4.widget")
3local Variable = require("astal.variable")
4local GLib = astal.require("GLib")
5local bind = astal.bind
6local Mpris = astal.require("AstalMpris")
7local Battery = astal …

Showing the top 5 files — 2 more files (6 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.