influxdata / influxdata/influxdb-client-csharp

I used System Informer to check the HTTPS commands sent by influxdb-client-csharp and found that the Token, which is sensitive information, was not promptly cleared from memory.

Open
#642 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
377
Forks
93
Avg merge
9m
Merged PRs (30d)
2

Description

__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.

1. Use GetOrganizationApi.FindOrganizationsAsync() to get organization list.
2. Use System Informer to get the application memory and found that we can read the Token information in the memory
![Capture1](https://github.com/influxdata/influxdb-client-csharp/assets/78013718/6dfaa3bb-c52c-4f0a-8b0c-32d62afe0b36)
![Capture2](https://github.com/influxdata/influxdb-client-csharp/assets/78013718/ee173176-1f5a-4d60-8ad9-8fd93c962e9b)

__Expected behavior:__
the token sensitive information in memory is not visible.

__Actual behavior:__
the token sensitive information in memory is visible.

__Specifications:__
- InfluxDB Version: 4.14.0
- Platform: Windows 10

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with GetOrganizationApi.FindOrganizationsAsync() on Windows 10 and inspect the process with System Informer, as described. Trace how the token is handled during the request and define completion as preventing sensitive token data from remaining visibly readable in process memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.