registry  /  @hasna/shortlinks  /  0.2.1

@hasna/shortlinks@0.2.1

Shortlink manager for custom domains and click tracking, with local SQLite or self-hosted cloud (/v1 API + bearer key) storage and Cloudflare setup helpers

Static Scan Results

scanned 3h ago · by rust-scanner

Static analysis flagged 11 finding(s) at 93.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 9 file(s), 1.32 MB of source, external domains: api.cloudflare.com, github.com, registry.npmjs.org, shortlinks.example.com, truststore.pki.rds.amazonaws.com, www.postgresql.org

Source & flagged code

3 flagged · loading source
infra/aws-ec2-user-data.shView file
50patternName = generic_password severity = medium line = 50 matchedText = db_passw...}")"
Medium
Secret Pattern

Package contains a possible secret pattern.

infra/aws-ec2-user-data.shView on unpkg · L50
path = infra/aws-ec2-user-data.sh kind = build_helper sizeBytes = 4901 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

infra/aws-ec2-user-data.shView on unpkg
dist/index.jsView file
matchType = previous_version_dangerous_delta matchedPackage = @hasna/shortlinks@0.2.0 matchedIdentity = npm:QGhhc25hL3Nob3J0bGlua3M:0.2.0 similarity = 0.556 summary = stored previous version shares package body but lacks this dangerous source file
High
Previous Version Dangerous Delta

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

dist/index.jsView on unpkg

Findings

1 High5 Medium5 Low
HighPrevious Version Dangerous Deltadist/index.js
MediumSecret Patterninfra/aws-ec2-user-data.sh
MediumNetwork
MediumEnvironment Vars
MediumShips Build Helperinfra/aws-ec2-user-data.sh
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings