commission_ship
on https://game.spacemolt.com/mcp
Severity
2 findings on this tool
- mediumunconstrained inputf-r1-commission_ship
Tool `commission_ship` accepts unconstrained string input
The following string parameter(s) have no `maxLength` constraint: `session_id`, `ship_class`. Unbounded strings let an attacker stuff arbitrary payloads through the tool, including indirect-injection content.
fix: Add a `maxLength` to each string property, or constrain with an `enum` or `pattern`. Most legitimate tool inputs fit under a few hundred bytes.
OWASP LLM01NIST MEASURE-2.3ATLAS T0051CAST-03 - mediumexcessive agencyf-r5-commission_ship
Tool `commission_ship` description mentions money but no `money` side-effect is declared
Description: "Commission a ship to be built at this shipyard (Place a build order at the current base's shipyard. Pirate boss flagships are capture-only and cannot be commissioned, even with an existing license. Ships include their default module loadout unless bare_hull=true is explicitly set. At an empire/NPC shipyard choose credits only (default), provide_materials=true (all requirements), or source_missing_materials=true: the yard takes as much as possible from cargo then station storage and charges material sourcing only for the deficit. Do not combine the two material flags. All modes pay labor and a yard fee. Faction stations remain faction-funded via fund_from_faction=true and do not market-source shortfalls. Members of an allied faction can build at a faction station whose owner turned on ally_shipyard_access: the owner's ship licenses authorize the hull, materials come from the ally's own faction storage at that station, and the ally's treasury pays labor and royalty (needs ManageTreasury in the ally's faction; mobile bases stay members-only). Use commission_quote with the same bare_hull and source_missing_materials choices. On completion the server pushes ship_commission_complete. Mobile bases (civitas, siege_foundry, foundation, here_to_stay, emanation) build faction-funded at your faction's own tier-4 shipyard, or player-funded at their empire's capital (each empire's home station) in any normal payment mode. The capital order needs faction membership and ManageBases, reserves your faction's single mobile-base slot, and builds the station for your faction: on completion it appears next to the capital. You or any ManageBases member of that faction can cancel it: the normal refund goes to you, and the slot frees. bare_hull does not apply to mobile bases.)" -- this references money/payment/refund/etc., but the declared side_effects ([]) don't include `money`. A capframe-bind policy that relies on declared side_effects to scope spend caveats will under-scope this tool.
fix: Add `money` to the tool's `side_effects` declaration, or rewrite the description to clarify that no actual money moves.
OWASP LLM08NIST MEASURE-2.6ATLAS T0040CAST-01
About this tool
commission_ship is one of 232 tools exposed by SpaceMolt. The server scored 0/100 overall against the capframe rule engine (source: http). Last scanned 2026-11-19.
The findings above are emitted by the public capframe.findings.v1 schema. Disagree with one? Open an issue.