npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sekyuriti/trace

v0.1.0

Published

File origin verification - register and trace files with SEKYURITI

Downloads

4

Readme

@sekyuriti/trace

File origin verification. Register files and let anyone trace them back to you.

Quick Start

npx @sekyuriti/trace login

This will:

  1. Open browser for authentication
  2. Let you select your project
  3. Save your API key locally

CLI Commands

trace login              # Authenticate with SEKYURITI
trace logout             # Sign out
trace register <file>    # Register a file for tracing
trace check <file>       # Trace a file's origin
trace revoke <id>        # Revoke a file registration
trace status             # Show account info
trace help               # Show help

Examples

Register a file

trace register contract.pdf
# Output:
# ✓ File registered
# Trace ID: TRC.A1B2.C3D4
# URL: https://sekyuriti.build/trace?id=TRC.A1B2.C3D4

Check a file's origin

trace check download.exe
# Output:
# ✓ TRACED
# Origin: ACME Corp
# Registered: 2026-01-18

Revoke a registration

trace revoke TRC.A1B2.C3D4

Programmatic Usage

import { createTraceClient } from "@sekyuriti/trace";

const trace = createTraceClient({
  apiKey: process.env.TRACE_API_KEY,
});

// Register a file
const result = await trace.register({
  filePath: "./contract.pdf",
  fileName: "contract.pdf",
  description: "Service Agreement v2",
});

console.log(result.trace_id); // TRC.A1B2.C3D4
console.log(result.trace_url); // https://sekyuriti.build/trace?id=TRC.A1B2.C3D4

// Trace a file
const traceResult = await trace.trace({
  filePath: "./download.exe",
});

if (traceResult.result === "traced") {
  console.log(`Origin: ${traceResult.file.issuer_name}`);
}

// Revoke a registration
await trace.revoke("TRC.A1B2.C3D4", "File replaced with new version");

API Reference

createTraceClient(config)

Create a TRACE client.

const trace = createTraceClient({
  apiKey: string, // Your TRACE API key
});

trace.register(options)

Register a file for tracing.

await trace.register({
  filePath?: string,      // Path to file (will be hashed)
  fileHash?: string,      // Or provide hash directly
  fileName: string,       // Required
  fileSize?: number,
  description?: string,
  metadata?: object,
});

trace.trace(options)

Trace a file's origin.

await trace.trace({
  filePath?: string,   // Path to file
  fileHash?: string,   // Or hash directly
  traceId?: string,    // Or trace ID
});

trace.revoke(traceId, reason?)

Revoke a file registration.

await trace.revoke("TRC.A1B2.C3D4", "Optional reason");

trace.hashFile(filePath)

Hash a file using SHA-256.

const hash = await trace.hashFile("./file.pdf");

How It Works

  1. Register: When you register a file, we store its SHA-256 hash with your identity
  2. Trace: Anyone can drop a file on sekyuriti.build/trace to check its origin
  3. Verify: If the hash matches, they see who registered it and when

Nothing is uploaded during tracing - files are hashed locally.

Documentation

https://sekyuriti.build/docs/trace

License

MIT