
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
mpcq
is a powerful Python client library for querying and analyzing Minor Planet Center (MPC) data through Google BigQuery. This package provides efficient access to a BigQuery instance of the Small Bodies Node (SBN) replica of the MPC's Small Bodies Node database, maintained by the Asteroid Institute.
The Asteroid Institute maintains a BigQuery replica of the Minor Planet Center's Small Bodies Node database. The dataset is available through Google Cloud's Analytics Hub and requires subscription to two listings:
To access the dataset, you'll need:
Queries will be billed according to your Google Cloud Platform account's BigQuery pricing.
pip install mpcq
from mpcq.client import BigQueryMPCClient
# Initialize client with your subscribed dataset IDs
client = BigQueryMPCClient(
dataset_id="your_subscribed_main_dataset_id",
views_dataset_id="your_subscribed_views_dataset_id"
)
# Query observations for a specific object
observations = client.query_observations(["2013 RR165"])
# Convert to pandas DataFrame for analysis
from mpcq.utils import observations_to_dataframe
df = observations_to_dataframe(observations)
print(df.head())
# Get submission history for an object
submissions = client.query_submission_history(["2013 RR165"])
# Cross-match ADES observations with MPC database
matched = client.cross_match_observations(
ades_observations,
obstime_tolerance_seconds=30,
arcseconds_tolerance=2.0
)
# Find potential duplicate observations
duplicates = client.find_duplicates(
"2013 RR165",
obstime_tolerance_seconds=30,
arcseconds_tolerance=2.0
)
For complete documentation, including detailed API reference and examples, visit our ReadTheDocs page.
The dataset (moeyens-thor-dev.mpc_sbn_aurora
) contains several key tables:
public_obs_sbn
: Primary observations tablepublic_current_identifications
: Current object identificationspublic_numbered_identifications
: Numbered asteroid identificationspublic_orbits
: Orbital elementsYou can explore these tables and their schemas directly in the BigQuery Console.
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE.md file for details.
The Asteroid Institute acknowledges the Minor Planet Center and the Small Bodies Node for their invaluable work in maintaining the authoritative small bodies database.
FAQs
Client library for interacting with an MPC observations database
We found that mpcq 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.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.