Skills/Glama/statspai

statspai@1.46.2

VERIFIED· install only

Publisher claims: "Econometrics and causal inference for agents: difference-in-differences (including staggered designs), IV, regression discontinuity, synthetic control, DML, matching, panel and time-series estimators. Tools return structured results (estimate, SE, CI, failed assumption checks, next steps, citations) and report whether each estimator has been checked against a Stata or R reference." In our sandbox: Bundled scripts ran with no arguments; no agent task scenario for this bundle.

Registry GlamaPublisher brycewang-stanford · publishing for 1 daysInstalls 0Last detonated 26 h ago
$npx skills add statspai
WatchReport an issue

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
8 of 52 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Behavior

In our sandbox run on 2026-11-24, [email protected] read no files and called no hosts, and its code names 6 environment variables. Coverage: install only.

Files read

None recorded.

Hosts called

None recorded.

Environment variables its code names

CONDA_PREFIX, PYTHONPATH, ProgramFiles, STATSPAI_ALIAS_WARN, STATSPAI_SKIP_RUST, VIRTUAL_ENV

Names only, read from the code. We never hold a value.

Tools offered

No tool list recorded.

Changes since the prior version

No prior version with a result to compare.

What we did not test

  • use of the skill by an agent
Run date2026-11-24
Coverageinstall only
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try statspai
This recordbehavior.json, behavior.md, signed attestation

This is a record of what one version did in the runs we made. It is evidence, not a certificate.

Before you give it your token

It will ask for
no credential variables read in the code
Where it talks to
no vendor host named in the code
What we saw when it ran
no credential files read · no network
What we could not test
use of the skill by an agent

Connect it under the guard. Bundled scripts ran with no arguments; no agent task scenario for this bundle. The code names no credential variable; the guard pins the network to what the honeypot saw and logs every call.

$vet-skills run --net declared -- <the server's command>

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-24 and scored it 82/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 2 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.1sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.2sprocessbundled script run in the sandbox with no arguments
0.3sprocessexited 1: ModuleNotFoundError: No module named 'statspai._citation'
0.3sprocessbundled script run in the sandbox with no arguments
0.4sprocessexited 1: ModuleNotFoundError: No module named 'mkdocs_gen_files'
0.4sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.4sprocessexited 1: ModuleNotFoundError: No module named 'statspai'
0.4sprocessbundled script run in the sandbox with no arguments
0.5sprocessexited 1: ModuleNotFoundError: No module named 'statspai'
0.5sprocessbundled script run in the sandbox with no arguments
0.7sprocessexited 2: quality_gate.py: error: the following arguments are required: command
0.7sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.8sprocessexited 2: release_gate.py: error: pass --check and/or --fix-census
0.8sprocess8 of 52 bundled scripts run with no arguments (the rest were not run: per-bundle cap)
0.8sprocessscript backend runs setup only
0.8sprocessscript backend runs setup only
0.8sprocessno install scripts to re-run

Static findings

MEDIUM
File type combined with upload actiontests/stata_parity/option_parity/README.md:35 · File type combined with upload action — agent may exfiltrate local data files… `tests/reference_parity/test_sunab_options_parity.py` | | `94_bjs_options_Stata.json` | `did_imputation` `fe()` cells, `controls()` with `timecontrols()` / `unitcontrols()`, `[aw…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Python subprocess execution detectedsrc/statspai/_doctor.py:249 · Python subprocess execution detectedproc = subprocess.run( # noqa: S603 - fixed argv, no shellFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/release_gate.py:488 · Python subprocess execution detectedsubprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedscripts/quality_gate.py:75 · Python subprocess execution detectedreturn subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
LOW
Dynamic module loadingscripts/release_gate.py:424 · Dynamic module loading (importlib.loader.exec_module via provenance)spec.loader.exec_module(compare)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedscripts/release_gate.py:479 · Python subprocess execution detectedsubprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandStatsPAI_full_data_analysis_skill/SKILL.md:429 · Privileged sudo command — agent may execute with elevated privileges…e listed fonts. Install one — **macOS**: pre-installed (no action). **Linux**: `sudo apt install fonts-noto-cjk` (Debian/Ubuntu) or `sudo dnf install google-noto-san…Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Dynamic module loadingscripts/release_gate.py:422 · Dynamic module loadingcompare = importlib.util.module_from_spec(spec)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File type combined with upload actiontests/stata_parity/README.md:241 · File type combined with upload action — agent may exfiltrate local data filesThe Stata-side `.do` files, shared helper, golden `_Stata.json` outputs,Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Python subprocess execution detectedscripts/release_gate.py:180 · Python subprocess execution detectedtags = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File type combined with upload actiontests/stata_parity/option_parity/README.md:29 · File type combined with upload action — agent may exfiltrate local data files…ence_parity/test_sunab_control_cohort_parity.py` | | `84_bjs_fe_covariates_Stata.json` | `did_imputation` `fe()` / `unitcontrols()` / `timecontrols()` | `tests/reference_parity/te…Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Python subprocess execution detectedscripts/release_gate.py:501 · Python subprocess execution detectedscorecard = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
LOW
Dynamic module loadingsrc/statspai/cli.py:914 · Dynamic module loadingns = runpy.run_path(Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Dynamic module loadingsrc/statspai/_doctor.py:200 · Dynamic module loadingspec = importlib.util.find_spec(name)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05

Cost to the agent

Instructions loaded
≈39,094 tok
2 files · 80 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.