
Product
Microsoft Teams Notifications Are Now Available in Socket
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.
@anthonysnider/alltest
Advanced tools
The layered code-testing engine — run every kind of test/probe against any codebase, catch 0-day issues, file AI-fixable reports, and self-improve. Live → https://github.com/lordbasilaiassistant-sudo/alltest
The layered code-testing engine. Point it at any codebase and it runs layer upon layer of probes — static analysis, dynamic build/test execution, fuzzing, and meta self-checks — to surface bugs, security holes, hardcoded secrets, smart-contract flaws, and quality issues. Then it files AI-fixable reports, learns new issue patterns as it goes (RSI), and streams a labeled ML training corpus for a future issue-detection model.
Built for AI agents to test anyone's code, thoroughly, in one command.
npx alltest scan .
alltest — /your/project
418 files · 6 languages · 13 probes · 210ms
server/db/users.js
✗ HIGH SQL built via string concatenation/interpolation:88
↳ Possible SQL injection. Use parameterized queries instead of building the query string.
.env
✗ HIGH Environment file committed: .env:1
↳ Remove the .env (git rm --cached), add it to .gitignore, and rotate anything it contained.
contracts/Vault.sol
⛔ CRITICAL Authorization via tx.origin:42
↳ tx.origin auth is phishable. Use msg.sender for authorization checks.
Summary: 1 critical · 2 high
Most scanners do one thing. alltest is an engine of layers, designed so coverage grows over time instead of going stale:
static → dynamic → fuzz → meta. Each probe is a tiny pluggable
unit, so the catalog keeps expanding — and the RSI loop can propose new ones.npm run test:layers).file:line, a redacted
snippet, why it matters, a concrete remediation, and acceptance criteria — ready for an
AI agent (or human) to act on, or to file as a GitHub issue.# one-off
npx alltest scan .
# or install
npm i -g alltest # global CLI
npm i -D alltest # dev dependency + programmatic API
alltest scan <path> # static probes (safe, no code execution)
alltest scan . --exec # also build + run the test suite
alltest scan . --format sarif --out report.sarif # CI / GitHub code scanning
alltest scan . --format json # machine-readable (for agents)
alltest scan . --min medium # severity floor
alltest scan . --fail-on high # exit non-zero → CI gate
alltest scan . --corpus data/findings.jsonl --learn # feed ML corpus + RSI
alltest sweep ~/code --corpus data/findings.jsonl --out sweep.json
Finds each project root and scans them all — "check all my repos" in one command.
alltest fix . # show the concrete before→after change for every fixable finding
alltest fix . --apply # write the safe, mechanical fixes to disk (shows what changed)
Each finding carries a real remediation, not a hint: the exact line rewrite, a unified-diff
patch, and a plain-language note. Mechanical, behavior-safe fixes (yaml.load→safe_load,
remove rejectUnauthorized:false, tx.origin→msg.sender, strip debugger, create
.gitignore) are auto-applicable; risk-bearing ones (move a secret to process.env,
parameterize a query) come as a reviewed suggestion. Add --fix to any scan to attach
fixes to the JSON output for an agent to apply.
● auto disable-tls-verify server.js:44
- const agent = new https.Agent({ rejectUnauthorized: false });
+ const agent = new https.Agent({});
○ review hardcoded-password config.js:5 (set DB_PASSWORD, then rotate the old value)
- const dbPassword = "sup3r…";
+ const dbPassword = process.env.DB_PASSWORD;
alltest report . --github owner/repo --min-severity high # dry run
alltest report . --github owner/repo --min-severity high --confirm # create them
Deduped by signature so re-runs never spam. Requires the gh CLI.
import { scan, render } from 'alltest';
const result = await scan({ root: './my-app', allowExec: false });
console.log(render(result, 'markdown'));
for (const f of result.findings) {
console.log(f.severity, f.ruleId, f.location, '→', f.fixHint);
}
| Layer | Probe | Examples |
|---|---|---|
| static | secrets | private keys (incl. EVM Wallet()), 40+ vendor patterns (AWS, GitHub, GitLab, OpenAI, Anthropic, Stripe, Slack, npm, Twilio, SendGrid, Google OAuth, Telegram…), DB/credential URLs, credential assignments |
| static | entropy-secrets | 0-day secrets: high-entropy tokens of unknown vendor/format that match no signature (found real hardcoded ADMIN_KEYs in testing) |
| static | dangerous-js | eval (incl. indirect (0,eval)), Function(), string-arg setTimeout, command & SQL injection, DOM-XSS (innerHTML +=), disabled TLS, JWT none, weak randomness |
| static | python-danger | eval/exec, pickle/yaml/torch/joblib deserialization (RCE), shell=True, verify=False, SSTI, Django secret, assert-auth |
| static | solidity | tx.origin auth, unchecked/low-level calls, delegatecall, selfdestruct, block-var randomness, range pragma, unbounded loops, zero-address setters |
| static | deps | wildcard/unbounded versions, missing lockfile, curl|bash in scripts, install hooks, optional/peer deps, invalid manifest |
| static | config-hygiene | committed .env, private-key files (.key/.pem/id_rsa, content-aware vs public certs), .env not gitignored |
| static | env-leak | error/stack leaks (Express/Koa/Fastify/render), process.env dumps, wildcard CORS |
| static | ci-docker | :latest images, curl | bash, ADD-from-URL, root containers, unpinned Actions, pull_request_target |
| static | complexity | high cyclomatic complexity, long functions, deep nesting, oversized files — where latent bugs hide |
| fuzz | json-roundtrip | malformed JSON/config that crashes at load |
| dynamic | build / tests | build failures, failing or absent test suites (--exec) |
| meta | self-integrity | alltest's own registry + Finding-schema invariants |
Run alltest probes for the live list.
Probes run in-process by default (fast, like ESLint plugins). To scan with untrusted or
RSI-generated probes — or to enforce a real wall-clock — use the worker sandbox, whose
supervisor can terminate() a probe stuck in a synchronous infinite loop (something no
same-thread timeout can do):
alltest scan . --sandbox --timeout 60 # hard 60s ceiling, killable
alltest scan . --sandbox --probe-module ./my-probe.mjs
const y = eval(trusted); // alltest-ignore
const z = eval(trusted); // alltest-disable-line eval-use
# .alltestignore
vendor/
**/generated/*.js
Layer 0 Bootstrap — the engine loads, the registry builds
Layer 1 Unit — the tests FOR the tester (probes vs ground-truth fixtures)
Layer 2 Meta — the suite tests ITSELF (alltest scans alltest)
Layer 3 Meta-meta — proves Layer 2 can go red on a real regression
Layer 4 Mutation — deliberately breaks detection to prove the tests have teeth
Layer 5 Robustness — hostile & degenerate inputs never crash the engine
Layer 6 Sandbox — proves a synchronously-hanging probe is actually killed
Layer 7 Regressions — every adversarial-review finding locked forever
Layer 8 RSI + ML pipelines learn and emit correctly
Layer 9 Probe coverage + reporter/ignore contracts (SARIF/JSONL/JSON)
npm test # 100 tests, all layers
npm run test:layers # narrated, layer by layer
Every detection rule was adversarially reviewed; each confirmed false-positive and
false-negative is now a locked regression test (test/regressions.test.js).
MIT
alltest can use free GLM for optional AI-assisted triage. If you want a coding plan that runs models like this, the z.ai Coding Plan link is a referral — it helps fund alltest's development. (Disclosed referral, not a discount.)
FAQs
The layered code-testing engine — run every kind of test/probe against any codebase, catch 0-day issues, file AI-fixable reports, and self-improve. Live → https://github.com/lordbasilaiassistant-sudo/alltest
The npm package @anthonysnider/alltest receives a total of 15 weekly downloads. As such, @anthonysnider/alltest popularity was classified as not popular.
We found that @anthonysnider/alltest 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.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.