agentaudit 3.10.5 → 3.10.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/cli.mjs +3 -0
  2. package/package.json +1 -1
package/cli.mjs CHANGED
@@ -1966,6 +1966,9 @@ async function auditRepo(url) {
1966
1966
  return null;
1967
1967
  }
1968
1968
 
1969
+ // Force slug from URL — never trust LLM-provided skill_slug
1970
+ report.skill_slug = slug;
1971
+
1969
1972
  // Add scan metadata for benchmarking
1970
1973
  report.audit_duration_ms = Date.now() - start;
1971
1974
  report.files_scanned = files.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentaudit",
3
- "version": "3.10.5",
3
+ "version": "3.10.6",
4
4
  "description": "Security scanner for AI packages — MCP server + CLI",
5
5
  "type": "module",
6
6
  "bin": {