Skip to content

agentscan 2.1.0

Latest

Choose a tag to compare

@ppradyoth ppradyoth released this 29 Oct 05:48
33f5f89

agentscan 2.1.0

Wider coverage and a precision pass driven by a hand audit of random findings from a scan of about 102,000 public agent config files (25 hits per rule, three rounds; every false-positive class is now a regression test, 84 tests in all).

Wider coverage

  • New formats: Continue (list-style mcpServers), Zed (context_servers), opencode (mcp, array command, .jsonc), Amazon Q, Kiro (steering), plugin hooks.json, Cursor .mdc rules and other rules directories.
  • Backup copies (*.bak, *.orig, ~) are scanned at full severity and marked context: backup; *.example and *.template copies are treated as fixtures.
  • New AS014: project settings that run a command at session start (apiKeyHelper, AWS helpers, statusLine) or register extra plugin marketplaces. Broad additionalDirectories grants join AS002.

Fewer false positives

  • AS001 allow-rules count only with an open wildcard (Bash(python:*), Bash(node -e *)); an exact Bash(python3 -c "...") or Bash(env) no longer fires.
  • AS003 is High only for eval of dynamic input or fetch-and-execute; guard hooks that read tool input are Low. A file named skill-eval.sh is not eval.
  • Inline shell wrappers are High only for real eval, read loops or pipes into a shell; --read-only, "$@" and xargs idioms are Low.
  • AS010 cleartext transport: private-network, container and .local hosts are Info; public hosts stay High.
  • AS005 no longer treats "Always run tests" as disabling confirmation; AS006 needs a strong phrase in the same sentence; AS012 is High only for bidi or tag characters or many invisible characters.
  • Secrets: public-role JWTs, publishable key prefixes and domain-like key names are skipped; credentials in URLs to local hosts are Low; a Context7 key is no longer also reported as an OpenAI key.
  • Local paths and pre-release versions (@0.0.1a4) are not reported as unpinned.

Behaviour changes to know about: AS001 grants, AS003, AS010, AS005 and AS006 report far fewer findings than 2.0.0 on the same input, and AS014 is new, so CI gates tuned to 2.0.0 counts may shift.

Limits unchanged: static and heuristic; precision figures come from a single reviewer; recall is unmeasured.