Built SlopGuard - open-source defense against AI supply chain attacks (slopsquatting)
文章描述了AI助手推荐不存在软件包的风险,并介绍了一款名为SlopGuard的工具,用于检测恶意软件包、验证包真实性和防止供应链攻击。该工具高效且准确,旨在帮助开发者避免因AI建议而引入安全威胁。 2025-11-4 14:16:30 Author: www.reddit.com(查看原文) 阅读量:0 收藏

I was cleaning up my dependencies last month and realized ChatGPT had suggested "rails-auth-token" to me. Sounds legit, right? Doesn't exist on RubyGems.

The scary part: if I'd pushed that to GitHub, an attacker could register it with malware and I'd install it on my next build. Research shows AI assistants hallucinate non-existent packages 5-21% of the time.

I built SlopGuard to catch this before installation. It:

  • Verifies packages actually exist in registries (RubyGems, PyPI, Go modules)

  • Uses 3-stage trust scoring to minimize false positives

  • Detects typosquats and namespace attacks

  • Scans 700+ packages in 7 seconds

Tested on 1000 packages: 2.7% false positive rate, 96% detection on known supply chain attacks.

Built in Ruby, about 2500 lines, MIT licensed.

GitHub: https://github.com/aditya01933/SlopGuard

Background research and technical writeup: https://aditya01933.github.io/aditya.github.io/

Homepage https://aditya01933.github.io/aditya.github.io/slopguard

Main question: Would you actually deploy this or is the problem overstated? Most devs don't verify AI suggestions before using them.


文章来源: https://www.reddit.com/r/netsec/comments/1oo8a8j/built_slopguard_opensource_defense_against_ai/
如有侵权请联系:admin#unsafe.sh