prevent SASjs server from launching as root

Open
#218 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by locating the SASjs Server launch entry point and checking how the operating-system user is detected. Implement the root-user refusal there, then verify that the server does not launch as root while normal low-privilege accounts remain unaffected.

Written by the indexing model from the issue text.

Description

If the OS userid is root then we should prevent SASjs server from being launched

In general, SASjs Server should be launched with an account with very few privileges, as every user that connects will be running code under that identity.

Dominant language
TypeScript
Stars
22
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sasjs/server

All issues in sasjs/server

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.