deep-foundation / deep-foundation/npm-packager

Is it fine to console.log token?

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I often see `npm set "//registry.npmjs.org/:_authToken" npm_f....` in js-docker-isolatin-provider logs when publishing by using npm-packager. User can accidentaly share their token. As I know other well known developers do not output tokens to console. Should we remove that console log?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the console output from js-docker-isolatin-provider during npm-packager publication and identify where the npm auth token is logged. Verify the change by publishing with a test token and confirming that the token no longer appears in the logs.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.