scanned 1 file(s), 878 KB of source, external domains: api.anthropic.com, api.deepseek.com, api.ip.sb, api.openpanel.dev, api.xiaomimimo.com, bun.sh, cdn.npmmirror.com, chatgpt.com, github.com, ip-api.com, ip.3322.net, ipinfo.io, models.dev, myip.ipip.net, nodejs.org, op.shiroha.tech, react.dev, registry.npmjs.org, registry.npmmirror.com, tako.shiroha.tech, token-plan-cn.xiaomimimo.com, whois.pconline.com.cn, x.ai, your-proxy.com
2Trigger-reachable chain: manifest.bin -> dist/index.js
L2: // @bun
L3: var MM=Object.create;var{getPrototypeOf:_M,defineProperty:Wv,getOwnPropertyNames:OM}=Object;var jv=Object.prototype.hasOwnProperty;function UM(e){return this[e]}var GM,HM,Be=(e,o,i...
L4: `).map((a)=>a.trim().replace(/\r$/,"")).filter(Boolean);if(o!=="win32")return i[0];return i.find((a)=>a.toLowerCase().endsWith(".exe"))??i.find((a)=>a.toLowerCase().endsWith(".cmd"...
...
L266: * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
L267: */});function o_(e){let o=[];for(let[i,a]of Object.entries(e)){if(!a?.models)continue;for(let[s,u]of Object.entries(a.models)){let d=u?.limit?.context;if(typeof d!=="number"||d<=0)...
L268: `);else await Bun.write(fS,JSON.stringify({OPENAI_API_KEY:null,auth_mode:"chatgp
CriticalTrigger Reachable Dangerous Capability
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/index.jsView on unpkg · L2 290`)return!0;if(i==="\x1B"||i==="q"||i==="Q")return!0;return},!0),process.stdout.write(`
L291: `)}import{readFileSync as m3,writeFileSync as E3,mkdirSync as C3}from"fs";import{join as ex}from"path";import{homedir as tx}from"os";function I3(){let e=process.env.TAKO_REGION?.tr...
L292: `);v=S.pop()??"";for(let L of S)g(L)}if(v)g(v)}finally{Q.releaseLock()}};try{await Promise.all([m(e.stderr),m(e.stdout)])}finally{clearInterval(p)}return u.join(`
...
L295:
L296: `).trim()}function Ex(e,o){for(let i of e.split(/\r?\n/)){let a=i.trim();if(!a)continue;if(o.some((s)=>s.test(a)))return a}return null}function Hu(e,o="\u672A\u77E5\u9519\u8BEF"){l...
L297: `)}function hO(e){return e==="win32"?"where pi":"which pi"}function IO(e,o){let i=e.split(`
HighSame File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/index.jsView on unpkg · L290 •Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/index.js:
*/});function o_(e){let o=[];for(let[i,a]of Object.entries(e)){if(!a?.models)continue;for(let[s,u]of Object.entries(a.models)){let d=u?.limit?.context;if(typeof d!=="number"||d<=0)...
`);else{let s;if(e.type==="tako")s=`${Zn}/v1`;else if(e.type==="deepseek")s="https://api.deepseek.com/v1";else s=`${e.baseUrl}/v1`;let u=I_(a.model,e.model,o),d=/^gpt[-.]/i.test(u)...
`)}}});function Yi(){if(H0)return H0;let e=process.env.LANG||process.env.LANGUAGE||process.env.LC_ALL||"";if(e.toLowerCase().includes("zh")||e.toLowerCase().includes("chinese"))ret...
{fields}`},confirmClean:{en:"Clean these settings? Tako will manage them aut
HighCredential Redirect Persistence
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/index.jsView on unpkg 281`:`No
L282: `),a}async function $S(e){let o=e.content.split(/\r?\n/).map((i)=>i.trimEnd());process.stdout.write(`
L283: === Announcement: ${e.title} ===
...
L290: `)return!0;if(i==="\x1B"||i==="q"||i==="Q")return!0;return},!0),process.stdout.write(`
L291: `)}import{readFileSync as m3,writeFileSync as E3,mkdirSync as C3}from"fs";import{join as ex}from"path";import{homedir as tx}from"os";function I3(){let e=process.env.TAKO_REGION?.tr...
L292: `);v=S.pop()??"";for(let L of S)g(L)}if(v)g(v)}finally{Q.releaseLock()}};try{await Promise.all([m(e.stderr),m(e.stdout)])}finally{clearInterval(p)}return u.join(`
...
L295:
L296: `).trim()}function Ex(e,o){for(let i of e.split(/\r?\n/)){let a=i.trim();if(!a)continue;if(o.some((s)=>s.test(a)))return a}return null}function Hu(e,o="\u672A\u77E5\u95
HighCommand Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/index.jsView on unpkg · L281 2// @bun
L3: var MM=Object.create;var{getPrototypeOf:_M,defineProperty:Wv,getOwnPropertyNames:OM}=Object;var jv=Object.prototype.hasOwnProperty;function UM(e){return this[e]}var GM,HM,Be=(e,o,i...
L4: `).map((a)=>a.trim().replace(/\r$/,"")).filter(Boolean);if(o!=="win32")return i[0];return i.find((a)=>a.toLowerCase().endsWith(".exe"))??i.find((a)=>a.toLowerCase().endsWith(".cmd"...
...
L266: * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
L267: */});function o_(e){let o=[];for(let[i,a]of Object.entries(e)){if(!a?.models)continue;for(let[s,u]of Object.entries(a.models)){let d=u?.limit?.context;if(typeof d!=="number"||d<=0)...
L268: `);else await Bun.write(fS,JSON.stringify({OPENAI_API_KEY:null,auth_mode:"chatgpt"},null,2)+`
L269: `);else{let s;if(e.type==="tako")s=
HighSandbox Evasion Gated Capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/index.jsView on unpkg · L2 2Trigger-reachable credential exfiltration chain: manifest.bin -> dist/index.js
L2: // @bun
L3: var MM=Object.create;var{getPrototypeOf:_M,defineProperty:Wv,getOwnPropertyNames:OM}=Object;var jv=Object.prototype.hasOwnProperty;function UM(e){return this[e]}var GM,HM,Be=(e,o,i...
L4: `).map((a)=>a.trim().replace(/\r$/,"")).filter(Boolean);if(o!=="win32")return i[0];return i.find((a)=>a.toLowerCase().endsWith(".exe"))??i.find((a)=>a.toLowerCase().endsWith(".cmd"...
...
L266: * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
L267: */});function o_(e){let o=[];for(let[i,a]of Object.entries(e)){if(!a?.models)continue;for(let[s,u]of Object.entries(a.models)){let d=u?.limit?.context;if(typeof d!=="number"||d<=0)...
L268: `);else await Bun.write(fS,JSON.stringify({OPENAI_API_KE
HighTrigger Reachable Credential Exfiltration
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/index.jsView on unpkg · L2 281Trigger-reachable command-output exfiltration chain: manifest.bin -> dist/index.js
L281: `:`No
L282: `),a}async function $S(e){let o=e.content.split(/\r?\n/).map((i)=>i.trimEnd());process.stdout.write(`
L283: === Announcement: ${e.title} ===
...
L290: `)return!0;if(i==="\x1B"||i==="q"||i==="Q")return!0;return},!0),process.stdout.write(`
L291: `)}import{readFileSync as m3,writeFileSync as E3,mkdirSync as C3}from"fs";import{join as ex}from"path";import{homedir as tx}from"os";function I3(){let e=process.env.TAKO_REGION?.tr...
L292: `);v=S.pop()??"";for(let L of S)g(L)}if(v)g(v)}finally{Q.releaseLock()}};try{await Promise.all([m(e.stderr),m(e.stdout)])}finally{clearInterval(p)}return u.join(`
...
L295:
L296: `).trim()}function Ex(e,o){for(let i of e.split(/\r?\n/)){let a=i.trim();if(!a)contin
HighTrigger Reachable Command Output Exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/index.jsView on unpkg · L281 297`)}function hO(e){return e==="win32"?"where pi":"which pi"}function IO(e,o){let i=e.split(`
L298: `).map((a)=>a.trim().replace(/\r$/,"")).filter(Boolean);if(o!=="win32")return i[0];return i.find((a)=>a.toLowerCase().endsWith(".cmd"))??i.find((a)=>a.toLowerCase().endsWith(".exe"...
L299: `).map((i)=>i.trim()).filter(Boolean).at(-1)||e||"unknown error").slice(0,300)}function xO(e){if(e.includes(Dx))return{next:e,changed:!1};if(!e.includes(Qx))return{next:e,changed:!...
...
L311: `)){let b=v.trim();if(!b)continue;try{let w=JSON.parse(b);if(w.id!==1)continue;if(w.error)return null;return{status:200,body:JSON.stringify(w.result?.rateLimits??w.result??{})}}cat...
L312: __HTTP__%{http_code}`,"https://chatgpt.com/backend-api/wham/usage","-H",`Authorization: Bearer ${e}`,"-H","User-Agent: cod
HighRuntime Package Install
Package source invokes a package manager install command at runtime.
dist/index.jsView on unpkg · L297