Siddh Sharma

Results issues of Siddh Sharma

## Description Fixes #351 The \GET /api/newsletter\ endpoint was exposing subscriber data (emails, names, dates, sources) without any authentication. Any visitor could enumerate the full subscriber list. ## Changes -...

level:advanced
quality:clean
quality:exceptional
type:refactor
type:performance
type:security
gssoc:approved
gssoc'26
mentor:Darshan3690

**Type:** Security Bug **File:** app/api/newsletter/route.ts, line 204 The GET handler returns all active subscriber emails, names, dates, and sources with zero auth enforcement. Anyone can enumerate the full subscriber list.

level:advanced
type:refactor
type:performance
type:security
gssoc'26

## Description The DevPath project has three duplicate project IDs (8, 9, 10) in data/projects.json, making some projects permanently unreachable: | ID | First Occurrence | Duplicate Occurrence | |----|-----------------|---------------------|...

gssoc-2026
stale

## Description At `app.js` (line 192), the entire user object is logged via `console.log()`: ```javascript console.log(user); ``` This may leak personally identifiable information (PII) such as email addresses, profile data,...

data
ui
gssoc-2026
stale

## Summary Authentication tokens (`access_token`, `cara_user_token`, `cara_user_email`, `cara_user_name`, `cara_user_role`) are stored in `localStorage` in `login.js:91-98` and `register.js:91-98`. Any XSS vulnerability can exfiltrate these tokens. ## Details - **Files:** `login.js:91-98`, `register.js:91-98`...

Stale

## Description The API endpoints do not limit incoming request body sizes. An attacker can send extremely large payloads to exhaust server memory and CPU, causing a denial of service....

## Summary pps/public-api/src/app.js sets custom CORS headers but never applies the helmet middleware. The app is missing Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, and Strict-Transport-Security headers. ## Details - **File:** pps/public-api/src/app.js -...

## Summary express.json() is called without a limit option, accepting arbitrarily large JSON payloads. An attacker can send multi-gigabyte payloads to exhaust server memory. ## Details - **File:** pps/public-api/src/app.js -...

## Description CORS is either not configured or is set to allow all origins (`*`), which is suitable for development but dangerous for production. Production should restrict CORS to the...

## Description Several npm packages listed in `package.json` are deprecated or have known vulnerabilities. Running `npm audit` would show these issues. ## Suggested Fix Run `npm audit` and update/upgrade all...