
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
@dannote/sloplint
Advanced tools
AST-based multilingual AI slop linter — catches obvious comments, narrator comments, step comments, section dividers, empty catch blocks, and more across 8 languages
AST-based multilingual linter that catches AI-generated code slop.
Powered by ast-grep via @ast-grep/napi — rules run on real syntax trees, not regex over text.
Comment patterns (all 8 languages):
| Rule | Example |
|---|---|
obvious-comment | // Initialize the counter above let counter = 0 |
narrator-comment | // This function handles the request |
step-comment | // Step 1: Validate input |
section-divider | // ============ or // --- Helpers --- |
placeholder-comment | // ... rest of the code or // omitted for brevity |
apologetic-comment | // quick hack or // good enough for now |
ai-generated-comment | // Replace this with your actual implementation |
Code patterns (language-specific):
| Rule | Language | Example |
|---|---|---|
empty-error-handler | TS/JS/Java/Python/Ruby | catch (e) {}, bare except:, empty rescue |
silent-exception | Python | except Exception: pass |
log-in-error-handler | TS/JS | console.log inside catch |
TypeScript, JavaScript, Python, Go, Rust, C, C++, Java, Ruby
# scan a directory
npx @dannote/sloplint src/
# scan specific files
npx @dannote/sloplint main.ts utils.py server.go
# scan everything
npx @dannote/sloplint .
Exits with code 1 if any problems are found.
Comments that provide actual value are never flagged:
// Wire format: 4-byte LE header followed by varint-encoded payload// SAFETY: pointer is guaranteed valid by the borrow checker invariant above// Mutex ordering: always acquire lockA before lockB to prevent deadlocks// TODO: optimize laterTool directives are also skipped: eslint-disable, noqa, nolint, NOLINT, clippy::allow, @ts-ignore, etc.
npm install -D @dannote/sloplint
From the PR that inspired this:
Explicit anti-slop editing pass. Removed comments that restate what code does, dead code, unused includes, near-duplicate functions. Comments that remain document wire format specs, non-obvious constraints, or algorithm provenance.
Good comments explain why. Slop comments explain what — and the code already does that.
FAQs
AST-based multilingual AI slop linter — catches obvious comments, narrator comments, step comments, section dividers, empty catch blocks, and more across 8 languages
The npm package @dannote/sloplint receives a total of 3 weekly downloads. As such, @dannote/sloplint popularity was classified as not popular.
We found that @dannote/sloplint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.