🛡️ Our Work

Security Case Studies

Real vulnerability assessments and penetration testing reports. See how we help businesses identify and fix security issues before hackers do.

🛒

Navjeevana E-Commerce Platform

navjeevana.com

E-commerce Website | A2-A2 Ghee & Organic Products

Risk Rating
CRITICAL

A comprehensive penetration testing assessment of an Indian e-commerce platform selling organic dairy products. The assessment covered the live production environment, source code analysis, and infrastructure configuration.

3
3
Critical
5
5
High
5
5
Medium
3
3
Low

🔍 Key Findings

Admin Secret Key Exposed

Critical
api/controllers/auth.js:43

The admin login requires a secret_key parameter transmitted from the client over the network.

Impact

Complete administrative account takeover.

Recommendation

Eliminate client-side secret transmission. Use hash comparison instead.

XSS in Email Verification

Critical
api/controllers/auth.js:107-141

The email verification endpoint reflects WEB_URL into HTML without sanitization.

Impact

Session hijacking, credential theft.

Recommendation

Implement HTML entity encoding or use a template engine.

Session Cookie Without HttpOnly

Critical
Production Server

CSRF token cookie lacks HttpOnly flag, making it accessible to JavaScript.

Impact

XSS can steal CSRF tokens for CSRF attacks.

Recommendation

Set HttpOnly on all session-related cookies.

Overly Permissive CORS

High
api/server.js:19-26

CORS allows all origins. Any website can make API requests.

Recommendation

Whitelist only trusted domains such as https://navjeevana.com.

Weak Rate Limiting

High
api/server.js:41-45

Current rate limiting is too relaxed for brute-force protection.

Recommendation

Reduce limits and add login-specific throttling.

DB Credentials Logged

High
api/config/connection.js:5

MongoDB connection details are logged to console, exposing credentials.

Recommendation

Log only connection status, never secrets or connection strings.

🛡️ Infrastructure Assessment

🔒
HTTPS/TLS
Pass - TLS 1.3
🛡️
HSTS
Pass - Preload Enabled
🚫
X-Frame-Options
Pass - DENY
☁️
DDoS Protection
Pass - Cloudflare
📊

Smart Dashboard

hsnvp313.github.io/Smart-Dashboard

React Dashboard | GitHub Pages Hosted

Security Grade
D

Security header analysis and vulnerability assessment of a React-based dashboard application hosted on GitHub Pages.

1
1
Critical
2
2
High
2
2
Medium
3
3
Low

🔍 Key Findings

Missing Content Security Policy

Critical
Server Configuration

No CSP header leaves the application more exposed to XSS risks.

Recommendation

Implement a strict Content-Security-Policy header.

Missing X-Frame-Options

High
Server Configuration

The site can be embedded in iframes, enabling clickjacking attacks.

Recommendation

Add X-Frame-Options: SAMEORIGIN.

Wildcard CORS Policy

High
Server Configuration

Access-Control-Allow-Origin set too broadly allows unnecessary cross-origin access.

Recommendation

Restrict allowed origins to the exact production domain.

Missing X-Content-Type-Options

Medium
Server Configuration

Browsers may MIME-sniff responses and mishandle content types.

Recommendation

Add X-Content-Type-Options: nosniff.

👤

Hasin Portfolio Website

hasin-portfolio-web.vercel.app

Personal Portfolio | Next.js | Vercel Hosted

Security Grade
B-

Security assessment of a personal developer portfolio hosted on Vercel. Strong infrastructure, but still benefits from additional application-layer hardening.

1
1
Critical
1
1
High
2
2
Medium
3
3
Low

🔍 Key Findings

Missing Content Security Policy

Critical

No CSP header leaves the site more vulnerable to XSS-style payloads.

Recommendation

Implement CSP through Vercel headers or next.config.js.

Missing X-Frame-Options

High

The site can be embedded in an iframe, increasing clickjacking risk.

Recommendation

Add X-Frame-Options: DENY through deployment headers.

Missing X-Content-Type-Options

Medium

MIME-sniffing protections are not fully enforced.

Recommendation

Add X-Content-Type-Options: nosniff.

Missing Referrer-Policy

Medium

Referrer headers may leak more information than necessary.

Recommendation

Add Referrer-Policy: strict-origin-when-cross-origin.

🛡️ Infrastructure Assessment

🛡️
HSTS
Excellent - 2 Years + Preload
☁️
Infrastructure
Pass - Vercel Enterprise
SSL Grade
A+

Want Us to Find Your Security Gaps?

Get a professional vulnerability assessment for your website. Starting at just ₹3,000.

📧 Email Us