tiangong-kb-textbook-search

Warn

Audited by Socket on Aug 24, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/textbook_search.sh

This Bash fragment does not show direct malware behavior (no obvious exfiltration, backdoor, or command-and-control code in the wrapper itself). However, it has notable supply-chain and execution-control risks: it defaults to executing an unpinned dependency via npx @tiangong-ai/cli@latest, and it allows the executed CLI executable to be overridden through TIANGONG_AI_CLI/TIANGONG_AI_CLI_BIN environment variables. Additionally, it can load and export configuration/secrets from env files whose paths are influenced by JSON input or request/input locations, which increases the impact of attacker-controlled inputs. Overall security posture is driven by these design choices rather than explicit malicious operations in the shown code.

Confidence: 74%Severity: 56%
AnomalyLOW
SKILL.md

SUSPICIOUS: the skill’s search behavior is coherent with its stated Tiangong textbook-search purpose, but it depends on a mutable external CLI install (`npx ...@latest`) and forwards credentials to that package. The main concerns are supply-chain trust, credential forwarding, and endpoint override flexibility rather than clear malicious behavior.

Confidence: 79%Severity: 61%
Audit Metadata
Analyzed At
Aug 24, 2026, 05:00 PM
Package URL
pkg:socket/skills-sh/tiangong-ai%2Fskills%2Ftiangong-kb-textbook-search%2F@46d1a49f4b3bf1dde56c05e0d7b9728a9c863976e2f0fd01139209cb3855743f
Security Audit — socket — tiangong-kb-textbook-search