@tencent-ai/agent-sdk@0.3.251
CodeBuddy Code SDK for JavaScript/TypeScript
AI security review
scanned · by lpm-firewall-aiThe package has a real, powerful agent and plugin-management capability that merits a warning, but source inspection found no install hook or concrete malicious execution chain. Its risky actions require explicit SDK use.
Decision evidence
public snapshot- The package ships both an SDK library and a bundled CLI.
- Exported plugin functions write to the user's CodeBuddy settings and marketplace files.
- An explicit plugin-install call enables a caller-supplied plugin identifier.
- The SDK starts the bundled CLI with the caller's working directory and inherited environment.
- The bundled CLI includes a sandboxed JavaScript runtime with filesystem, process, and fetch access.
- package.json has no lifecycle scripts or self-dependency.
- The settings mutation is reachable through exported API calls, not during installation or import.
- No hard-coded exfiltration endpoint or automatic foreign agent configuration mutation was confirmed.
- agent-frame.local
- api.e2b.dev
- api.ipify.org
- api.openai.com
- api.qrserver.com
- bellard.org
- bit.ly
- bugzilla.mozilla.org
- code.google.com
- cscott.net
- developer.mozilla.org
- developers.google.com
- docs.expo.dev
- drafts.csswg.org
- en.wikipedia.org
- example.com
- github.com
- googlechrome.github.io
- hacks.mozilla.org
- help.openai.com
- help.yahoo.com
- html.spec.whatwg.org
- json-schema.org
- landley.net
- r12a.github.io
- raw.githubusercontent.com
- reactjs.org
- sass-lang.com
- schema.org
- stackoverflow.com
- support.google.com
- tools.ietf.org
- wiki.whatwg.org
- www.bing.com
- www.dmoz.org
- www.iana.org
- www.ibm.com
- www.ietf.org
- www.w3.org
- www.whatwg.org
Findings
1 critical · 7 high · 10 medium · 5 lowWhere they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
cli/dist-server/8638.codebuddy.js1 criticalcli/dist-server/2513.codebuddy.js2 highcli/dist/web-ui/assets/editor.main-DG71ybfN.js1 highcli/dist-server/f7178a72dfe8ebdd.js2 high · 1 medium · 1 lowcli/dist/web-ui/assets/TerminalPaneView-42yGsEKu.js1 highcli/builtin/workflows/deep-research.workflow.js1 highcli/dist/web-ui/assets/WorkersView-B0ZSxjCw.js1 mediumcli/dist/lazy-headless/914.37a808af.js1 mediumcli/vendor/toybox-macos/toybox1 mediumcli/vendor/shim/native/binding.gyp1 mediumcli/dist-server/codebuddy.js1 mediumShow all 23 findings
cli/dist-server/8638.codebuddy.js1 findingcli/dist-server/2513.codebuddy.js2 findingscli/dist/web-ui/assets/editor.main-DG71ybfN.js1 findingcli/dist-server/f7178a72dfe8ebdd.js4 findingscli/dist/web-ui/assets/TerminalPaneView-42yGsEKu.js1 findingcli/builtin/workflows/deep-research.workflow.js1 findingcli/dist/web-ui/assets/WorkersView-B0ZSxjCw.js1 findingcli/dist/lazy-headless/914.37a808af.js1 findingcli/vendor/toybox-macos/toybox1 findingcli/vendor/shim/native/binding.gyp1 findingcli/dist-server/codebuddy.js1 findingSource & flagged code
15 flaggedPackage contains a possible secret pattern.
cli/dist/web-ui/assets/WorkersView-B0ZSxjCw.jsView on unpkg · L5Code excerpt · 3 lines
Package source references child process execution.
cli/dist-server/2513.codebuddy.jsView on unpkg · L58Code excerpt · 3 lines
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
cli/dist-server/2513.codebuddy.jsView on unpkg · L19Code excerpt · 6 lines
Cross-file remote execution chain: cli/dist-server/2513.codebuddy.js spawns cli/dist-server/f7178a72dfe8ebdd.js; helper contains network access plus dynamic code execution.
Package source references shell execution.
cli/dist/web-ui/assets/editor.main-DG71ybfN.jsView on unpkg · L8Code excerpt · 3 lines
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
cli/dist-server/f7178a72dfe8ebdd.jsView on unpkg · L1Package source references a known benign dynamic code generation pattern.
cli/dist-server/f7178a72dfe8ebdd.jsView on unpkg · L1Shared code excerpt · 2 findings · 2 lines
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
cli/dist-server/f7178a72dfe8ebdd.jsView on unpkg · L1Code excerpt · 4 lines
Package source references dynamic require/import behavior.
cli/dist-server/f7178a72dfe8ebdd.jsView on unpkg · L2Code excerpt · 2 lines
Source writes installer persistence such as shell profile or service configuration.
cli/dist/lazy-headless/914.37a808af.jsView on unpkg · L1Code excerpt · 5 lines
Source decodes a Base64-obscured HTTP endpoint at runtime.
cli/dist/web-ui/assets/TerminalPaneView-42yGsEKu.jsView on unpkg · L27Code excerpt · 3 lines
Package ships native binary artifacts.
cli/vendor/toybox-macos/toyboxView on unpkgScanner record · 4 lines
Package ships non-JavaScript build or shell helper files.
cli/vendor/shim/native/binding.gypView on unpkgScanner record · 4 lines
Package contains source files above the normal full-analysis size ceiling.
cli/dist-server/codebuddy.jsView on unpkgScanner record · 4 lines
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
cli/builtin/workflows/deep-research.workflow.jsView on unpkgScanner record · 1 line
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
cli/dist-server/8638.codebuddy.jsView on unpkgScanner record · 5 lines
Affected versions and remediation
This report applies to @tencent-ai/agent-sdk@0.3.251.
See all versions of @tencent-ai/agent-sdk for other recorded verdicts.
- Review the evidence and your use of @tencent-ai/agent-sdk@0.3.251 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.