Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

pa-compiler

Latest version: v0.1.0

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
PyPI package Publisher: cyyier3
0 Stars
0 Forks
1 Versions
Python Repo language

Scan summary

pa-compiler was last scanned on 24 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 24 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 24 Nov 2026 No rules fired

No rules fired in 0.1.0

Findings

Findings for v0.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.


Installation & Minimal Example

Requires Linux x86-64, macOS, or Windows x64, CPython 3.11–3.13 (headers + shared Python library), and a C compiler (gcc, clang, or MSVC cl).

pip install pa-compiler        # installs `pac`
pac skill --install claude     # optional: install AI skills (also: cursor, codex, copilot, antigravity)

Create hello.pa:

def sum_squares(n) -> int:
    total = 0
    for i in range(n):
        total += i * i
    return total

def main() -> int:
    print(sum_squares(100000))
    return 0

Compile and run:

pac build hello.pa --mode prod -o hello && ./hello

For .paw Python bridges, --relocatable bundles, pac doctor, and --shared C-ABI builds, see the full guide at https://palang.dev/quickstart.


Repository Layout

pa/
├── pa_lang/
│   ├── types.py, validator.py, infer.py   # Front-end: subset checks, bidirectional inference, escape analysis
│   ├── paw.py, diagnostics.py             # .paw header parser/linter & AI JSON repair tickets
│   ├── codegen.py, build.py               # LLVM IR emission (llvmlite), -O2 object build, gcc link, @export
│   ├── runtime_core.c, runtime_bridge.c   # RAII fault/print core & embedded CPython zero-copy .paw bridge
│   ├── cli.py, doctor.py, skills_cmd.py   # `pac` CLI: check, build, doctor, bundle, skill
│   ├── lsp_server.py                      # Auto-reloading LSP server (inlay hints, hover memory audit cards)
│   └── skills/                            # Bundled SKILL.md assets shipped inside the wheel
├── skills/                                # Source AI skills (pa-coder, py-to-pa, cpp-to-pa)
├── vscode-pa/                             # VS Code extension (TextMate grammar, LSP client, grammar tests)
├── examples/                              # pipeline_demo, hashlib_pa (Python port), raytracer (C++ port)
├── site/                                  # palang.dev static site (index, quickstart, architecture)
└── tests/                                 # Pytest suites (front-end, codegen, hardening, LSP, doctor, skill)

Building from Source & Testing

git clone https://github.com/cyyier/pa.git && cd pa
uv venv --python 3.12 .venv        # or any CPython 3.11–3.13 with Python.h + shared libpython
source .venv/bin/activate
pip install -e ".[dev]"

pac doctor                         # verify gcc, llvmlite, Python.h, shared libpython
pac check examples tests           # run Pa front-end checks
pytest -q                          # run full compiler, runtime, LSP, doctor, and CLI test suite
(cd vscode-pa && npm test)         # run VS Code TextMate grammar tests

Status & Roadmap

Current (v0.1.0 alpha):

  • Supported: Linux x86-64, macOS (arm64 / x86-64), Windows x64, CPython 3.11–3.13, gcc / clang / MSVC cl, LLVM via llvmlite.
  • Included: zero-annotation .pa compiler (int/uint/float/bool, explicit widths int32/uint8/uint32/uint64/float32 + short aliases i32/u8/u32/u64/f32, **, zero-copy str_view slicing, @struct, stack/RAII Vec, flat CSR Vec[Vec[T]], String, libm, multi-file .pa module imports via local dirs / -I / PA_PATH / pip packages), .paw zero-copy CPython bridge with two-way customs, --shared guarded C-ABI libraries, pac doctor / pac bundle (ELF / Mach-O / PE), pac skill, pac lsp, and VS Code extension.

Planned:

  • Standalone ecosystem packages (pa-libs) for common data, geometry, and parsing libraries (powered by multi-file .pa module imports).
  • (Low priority) Nested Vec fields inside @struct with recursive RAII destructors (Pa recommends flat SoA arrays or CSR Vec[Vec[T]]).

Non-goals (won't do):

  • Static libpython linking for single-file self-contained binaries — standard Python distributions do not ship portable libpython.a (especially on Windows/macOS), and third-party Python C extensions (.pyd/.so such as NumPy) require dynamic libpython. Use pac build --bundle --with-stdlib for self-contained directory distribution.

License

MIT — see LICENSE. Release process: RELEASING.md.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases pa-compiler

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229