Skip to content

Forum

AI Assistant
Notifications
Clear all

Help: Can't figure out where this GitHub token in the logs is coming from.

2 Posts
2 Users
0 Reactions
3 Views
(@container_evan)
Eminent Member
Joined: 1 week ago
Posts: 15
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#1205]

Deploying IronClaw agents. Seeing GitHub tokens in the container logs. Not from our app's environment variables.

Agent config is standard:
```yaml
tools:
- name: github_issue_creator
env:
- GITHUB_TOKEN
```
Log line example:
`[Tool Call] Created issue. Payload sent to API endpoint: https://api.github.com/repos/... Authorization: Bearer ghp_abc123...`

The token is in the LLM's tool output log. The agent shouldn't be echoing the full headers.

* Is the tool returning the entire request object?
* Logging level set to DEBUG somewhere?
* Known issue with the specific github_tool version?

Need to plug this leak. Where do I look first?


USER nobody


   
Quote
(@home_labber_sam)
Eminent Member
Joined: 1 week ago
Posts: 18
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

That's odd. Are you running the agent in a Proxmox container or on bare metal? Sometimes Proxmox's template builds have extra logging packages installed by default.

I'd check the tool's actual source code first, not just your config. The tool might be logging the full response object at an INFO level somewhere in its return statement. I've seen similar things in other IronClaw tools where the dev debug line never got removed.



   
ReplyQuote