Skip to content
S

SentriX

Trust Nothing,Verify Everything

Created on 14th June 2026

•

S

SentriX

Trust Nothing,Verify Everything

The problem SentriX solves

The Problem It Solves

Modern JavaScript development heavily depends on open-source packages from npm. While this speeds up development, it also introduces a serious security risk: developers install dependencies blindly without knowing if they are safe, compromised, or malicious.

Existing tools like npm audit only detect known vulnerabilities, but they fail to catch:

  • Newly compromised packages (supply-chain attacks)
  • Malicious install scripts (postinstall, preinstall)
  • Typosquatting or fake packages
  • Suspicious runtime behavior in code
  • Zero-day or newly injected malware in popular libraries

As a result, attackers can silently inject malicious code into widely used packages and compromise thousands of applications before any official vulnerability report exists.


What Our Tool Does

Safe-Install acts as a security gateway before package installation.

Instead of directly running:

npm install axios

developers use:

safe-install axios

Our system then:

  • Scans the package across multiple security layers (vulnerabilities, threat intelligence, reputation, scripts, AST analysis, correlation engine)
  • Detects suspicious or malicious behavior before installation
  • Explains risks in simple, human-readable language using AI
  • Suggests fixes and safer alternatives
  • Either allows, warns, or blocks installation based on risk severity

How It Makes Development Safer & Easier

1. Prevents Supply-Chain Attacks

Blocks malicious or compromised packages before they are installed into the project.

2. Saves Developer Time

No need to manually check CVEs, GitHub advisories, or security reports.

3. Explains Risks Clearly

Instead of technical logs or scores, developers get:

  • Why the package is risky
  • What can go wrong (impact)
  • How to fix it
  • Which version to use instead

4. Reduces Human Error

Developers often ignore warnings like npm audit. Our tool actively intervenes before installation.

5. Works Seamlessly in Existing Workflow

No change in ecosystem—just replace npm install with safe-install.


In Simple Terms

Safe-Install is like a security guard for npm that checks every package before it enters your project, explains the risk like a senior developer, and stops dangerous code from ever reaching your system.

Challenges we ran into

Challenges I Ran Into

1. Too many false positives

Early versions incorrectly flagged safe packages (like Axios) due to simple checks like process.env.

Fix:
Switched to a layered scoring system where risks are only serious when multiple suspicious signals combine.


2. Designing meaningful risk logic

Single signals (CVE, scripts, code patterns) were not enough to judge malicious behavior.

Fix:
Built a correlation engine that combines multiple weak signals into a final severity score.


3. Handling npm package analysis safely

Extracting and analyzing packages without installing them was tricky.

Fix:
Used npm tarball download + temporary extraction instead of direct install.


4. Inconsistent AI responses

AI outputs were unstructured and hard to display in CLI.

Fix:
Forced a strict structured response format (why, impact, fix, alternative).


5. Balancing strictness vs usability

Over-strict rules blocked safe packages; loose rules missed risks.

Fix:
Introduced SAFE / WARNING / CRITICAL levels with optional override flow.

Tracks Applied (3)

Gemini

We use Gemini AI only for explanation, not detection. It takes structured security findings from our backend and conver...Read More
Major League Hacking

Major League Hacking

MongoDB

Our project uses MongoDB as the threat intelligence and scan history database. We store: Known vulnerable packages (CV...Read More
Major League Hacking

Major League Hacking

CyberSecurity

Why This Project Fits in the Cybersecurity Track This project directly addresses software supply-chain security, which ...Read More

HackPrix

Discussion

Builders also viewed

See more projects on Devfolio