USB+ flags undeclared capabilities in AI agent skills
The usb secscan command reads each skill without running it and fails on undeclared secrets access.
If you have npm, you can get a command that reads AI agent skills and reports what they do without saying so. It is usb secscan, part of the trust layer in USB+ (Universal Systems Bridge), an MIT-licensed open-source project published by PeepSick in the USB+ repository on GitHub. The project, at version 1.0.8, reached Hacker News on November 9; that date marks when it was shared, not when it was released.
- Install the CLI with
npm install -g @peepsick/usb-cli. - Scan the skills in your project, a third-party repository, or emit JSON:
usb secscan
usb secscan --repo owner/repo
usb secscan --json .
For each skill, the command sets the declared name and description against what the body and any bundled scripts actually do:
- credential access;
- network responses piped straight into a shell;
- destructive deletion;
- process execution;
- persistence hooks.
The scan is static and never executes what it reads. Exit code 0 means nothing blocking; 1 means medium- or high-severity findings; 2 means an operational error.
- For third-party collections, record the current state with
usb secscan --write-baseline ., then pass--baselineso only new findings fail the run.
For MCP (Model Context Protocol) servers, usb mcprobe observes the server at startup, with explicit consent, and never calls a tool.
Advisory signals, such as phrases that hand the agent vague autonomy ("use your judgment"), show up in the report but never change the exit code.