Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@slopdam/core

Latest version: v0.1.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: myenongjin.ji
0 Stars
0 Forks
2 Versions
Python Repo language

Scan summary

@slopdam/core was last scanned on 23 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 23 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 23 Nov 2026 No rules fired
0.0.0-stage 23 Nov 2026 Not shown

No rules fired in 0.1.0

Findings

Findings for v0.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@slopdam/core removes the traces AI coding tools leave in log messages and console output: em dashes and look-alike lines (including the Korean ㅡ), decorative emoji, separator lines, markdown bold, curly quotes and invisible characters. It gives exactly the same output as the Python package, because both are tested against the same conformance cases.

input : ✅ **Saved** — 3 rows processed 🎉
reader: Saved: 3 rows processed
dev   : [OK] Saved - 3 rows processed
  • reader (default): plain text for people, such as CLI messages, alerts and reports.
  • dev: grep-friendly text for log files and collectors. Status emoji become [OK], [FAIL] and [WARN] instead of disappearing.

Install

Node.js 20 or later, or any modern browser. No runtime dependencies; ESM and CommonJS builds with TypeScript types.

npm install @slopdam/core

Use

import { clean, Sanitizer } from "@slopdam/core";

clean("✅ **Saved** — 3 rows 🎉");                      // "Saved: 3 rows"
clean("✅ **저장 완료** ㅡ 3건 처리했습니다! 🎉");         // "저장 완료: 3건 처리했습니다."

const dev = new Sanitizer({ profile: "dev" });
dev.clean("✅ Upload done — 3 files");                   // "[OK] Upload done - 3 files"
dev.clean("❌ Upload failed", "error");                   // "Upload failed" (the level already says it)

console.log(dev.findings("log.info('🚀 Started — ok')"));
// [ { ruleId: 'emoji.pictograph', text: '🚀', fix: '', start: 10, end: 13, ... },
//   { ruleId: 'dash.run', text: '—', fix: ' - ', ... } ]

require("@slopdam/core") works the same way in CommonJS.

pino
import pino from "pino";
import { slopdamPino } from "@slopdam/core/pino";

const log = pino({ ...slopdamPino({ profile: "dev" }) });
log.info("✅ **Saved** %d rows — done!", 3);   // msg: "[OK] Saved 3 rows - done!"
log.error(err, "❌ Upload failed");            // msg: "Upload failed", err untouched

The message of every call is cleaned before pino writes it. Objects and errors are left as they are, and a call that only printed a separator line is dropped. The profile applies to the whole logger; to send reader text to one place and dev text to another, use two loggers. If you already pass hooks.logMethod, give it to slopdamPino({ hooks }) so both run.

winston
import winston from "winston";
import { slopdamWinston } from "@slopdam/core/winston";

const { combine, printf, json } = winston.format;
winston.createLogger({
  transports: [
    new winston.transports.Console({ format: combine(slopdamWinston(), printf((i) => i.message)) }),
    new winston.transports.File({ filename: "app.log", format: combine(slopdamWinston({ profile: "dev" }), json()) }),
  ],
});
// console: "Saved 3 rows: done!"   app.log: {"message":"[OK] Saved 3 rows - done!", ...}

winston gives every transport its own copy of the entry, so each one can use its own profile. Put slopdamWinston() after format.splat() and before colorize(), printf(), simple() or json(). Stack traces are kept as they are.

Neither integration imports pino or winston, so @slopdam/core still has no runtime dependencies.

Options
Option Values Default
profile "reader", "dev" "reader"
level "basic", "strong" (also removes filler words), "strict" (also reports any non-ASCII symbol) "basic"
disable rule IDs or groups, such as ["emoji"] or ["dash.run"] []
dashInline what an inline dash becomes in reader: "colon", "comma", "hyphen", "space" "colon"

The second argument of clean() is the log level, as a name ("error", "warning") or a Python logging number (40, 30). findings() returns what clean() would change, with start and end as UTF-16 offsets into the input.

URLs, inline code, key=value values and file paths are never changed. Cleaning twice gives the same result as cleaning once.

How it stays in step with Python

The rules are not rewritten by hand. The build reads the repository's spec/ directly; its patterns are translated from Python's regular expression dialect when the package loads (Unicode \w, \s and \b, and Python's ^ and $), and only the four context-dependent actions are written in TypeScript. Every pull request runs the conformance cases against the Python package and against this package's ESM and CommonJS builds, so a rule cannot change in one language only. On 20,000 random inputs the two packages gave identical results.

Roadmap

Part of slopdam milestone 0.5 (roadmap): the core package and the pino and winston integrations, then eslint-plugin-slopdam.

Contributing

A rule change is made once, in the Python reference and spec/, with conformance cases; this package picks it up on the next build, and the same pull request shows whether it passes. Contributions follow the slopdam contribution guide (DCO sign-off), code of conduct and security policy.

cd js
npm install
npm test          # builds, then runs the conformance suite and API tests

License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @slopdam/core

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229