[Bug]: trello passes the API key and token in URL query parameters

未关闭 适合新手
#302 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
security

调研方向

Issue 指出了 SKILL.md 中的 curl 示例,包括第 33、51 和 60 行。阅读这些示例,并检查哪些 Trello 请求支持报告中所示的 Authorization 标头形式。更新受支持的示例,避免在查询参数中放入凭据;如果兼容性要求使用查询参数,则记录被日志记录的风险;当指南涵盖受影响的示例时即为完成。

由索引模型根据 Issue 内容生成。

描述

bug
Bug type

Regression (worked before, now fails)

Summary

Summary

The request examples build URLs with the credentials in the query string — SKILL.md:33, :51, :60, and the other curl examples:

curl -s "https://api.trello.com/1/members/me/boards?key=$TRELLO_API_KEY&token=$TRELLO_TOKEN"

The values stay in environment variables, but the fully expanded URL can be captured by shell tracing, local proxies, and request logs on either side.

Note

Refs: main@a654bcf.

Steps to reproduce

.

Expected behavior

Use Trello's header form where supported:

curl -s -H "Authorization: OAuth oauth_consumer_key=\"$TRELLO_API_KEY\", oauth_token=\"$TRELLO_TOKEN\"" \
  "https://api.trello.com/1/members/me/boards"

If query parameters must stay for compatibility, add a note that the URL must not be logged or shared.

Actual behavior

.

OpenClaw version

.

Operating system

.

Install method

No response

Model

.

Provider / routing chain

.

Config file / key location

No response

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

主要语言
TypeScript
星标
5.2k
派生
1.2k
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

linuxhsj/openclaw-zero-token 的其他 Issue

查看 linuxhsj/openclaw-zero-token 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。